Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Application gui disappears for short time when using barcode scanner
Forum Updated to NodeBB v4.3 + New Features

Application gui disappears for short time when using barcode scanner

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 304 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MHermann
    wrote on last edited by
    #1

    Hello,
    on Raspbian Buster I am running my application with Qt5.12.7.
    In my application I use a barcode scanner.
    Sometimes, not every time, when I scan a barcode with the barcode scanner, my application gui disappears for 1 or 2 seconds.
    The barcode is read correctly and the application continues without problems.

    Does anybody know this problem and can tell me how I can avoid that the gui of my applications disappears for short time when using barcode scanner?

    Kind regards,
    MHermann

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Likely the monitor gremlin playing with the power switch !

      More seriously, you do not give any information about your GUI, what it might be doing when you scan the barcode, what you use for reading barcode, how you get it to your app, etc.

      The devil might be in the details.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • M Offline
        M Offline
        MHermann
        wrote on last edited by MHermann
        #3

        The barcode scanner that is used is a hand scanner from Honeywell that is connected by usb.
        In the application the barcode scanner is handled like a keyboard. The scanned barcode is read with Keys.onPressed.

        1 Reply Last reply
        0
        • KH-219DesignK Offline
          KH-219DesignK Offline
          KH-219Design
          wrote on last edited by
          #4

          What if you bring some other GUI application into the foreground? Perhaps a web browser or a "notepad" type of application. (Something you did not create and something not using Qt.)

          If you point the barcode scanner at a barcode and do a scan with any other GUI in the foreground, does this other GUI also disappear for 1 or 2 seconds?

          www.219design.com
          Software | Electrical | Mechanical | Product Design

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved