Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Missing menu bar, incorrect selection and other weird behavior

Missing menu bar, incorrect selection and other weird behavior

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 528 Views
  • 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.
  • I Offline
    I Offline
    ibkv
    wrote on last edited by
    #1

    I am building and running an existing app for the first time on my Windows 10 Dell XPS laptop with a high-dpi display. The same app has been running perfectly fine under OS X, Ubuntu and my desktop Windows 10 PC that also has a high-dpi display. When running the app on my laptop, I see the following weird behavior:

    1. The menu bar does not show up - it's either missing or clipped out
    2. Some of the text labels that are typically shows at the edge of main window (e.g., as part of a Status Bar widget at the bottom of the window) are only partially seen - half of the text is clipped
    3. When interacting with various widgets, they seem to act as if I clicking slightly offset to the left and the top of where I am actually clicking. I see this behavior with say q QTreeWidget where when I click on an item in the tree, the item above it gets selected. Also, when I try to click on a tab in a tab widget, the neighboring tab gets selected. Finally, if I try to click on any of the resize handles for various widgets, I have to click to the right-bottom of the actual handle in order to move the handle.

    What could be causing this? The exact same binaries work perfectly fine on my desktop PC which has more or less an identical install of what I have on my laptop. My main suspect is something to do with the display/dpi/scaling settings.

    Has anyone seen this?

    Thanks.

    jsulmJ 1 Reply Last reply
    0
    • I ibkv

      I am building and running an existing app for the first time on my Windows 10 Dell XPS laptop with a high-dpi display. The same app has been running perfectly fine under OS X, Ubuntu and my desktop Windows 10 PC that also has a high-dpi display. When running the app on my laptop, I see the following weird behavior:

      1. The menu bar does not show up - it's either missing or clipped out
      2. Some of the text labels that are typically shows at the edge of main window (e.g., as part of a Status Bar widget at the bottom of the window) are only partially seen - half of the text is clipped
      3. When interacting with various widgets, they seem to act as if I clicking slightly offset to the left and the top of where I am actually clicking. I see this behavior with say q QTreeWidget where when I click on an item in the tree, the item above it gets selected. Also, when I try to click on a tab in a tab widget, the neighboring tab gets selected. Finally, if I try to click on any of the resize handles for various widgets, I have to click to the right-bottom of the actual handle in order to move the handle.

      What could be causing this? The exact same binaries work perfectly fine on my desktop PC which has more or less an identical install of what I have on my laptop. My main suspect is something to do with the display/dpi/scaling settings.

      Has anyone seen this?

      Thanks.

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @ibkv What Qt version are you using?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply
      1
      • I Offline
        I Offline
        ibkv
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • jsulmJ jsulm

          @ibkv What Qt version are you using?

          I Offline
          I Offline
          ibkv
          wrote on last edited by
          #4

          @jsulm Was originally using 5.9.x but then upgraded to latest (5.11.1) - same behavior.

          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