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. Tooltips appear in separate windows
Forum Updated to NodeBB v4.3 + New Features

Tooltips appear in separate windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 5 Posters 234 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.
  • P Offline
    P Offline
    pehg
    wrote last edited by
    #1

    Hello, everyone. I'm experiencing an issue where tooltips are appearing in separate windows instead of overlaying the application. These windows often close instantly, making it impossible to read the tooltip's content.

    I've observed this some time ago primarily with Qt Creator while typing for code completion suggestions or when hovering over variables during debugging. I've also managed to reproduce this behavior in a custom application I'm developing.

    Here are a few images demonstrating the issue:

    tooltip-bug-qtcreator.jpeg

    tooltip-bug-qtcreator-2.jpeg

    windowed-tooltip.jpeg

    The issue might be specific to Wayland. When I run the same application using X11, the tooltips function correctly, although I didn't test Qt Creator on X11 before writing this post. My temporary workaround is to click anywhere on the application window, which makes the problem disappear for a moment.

    I haven't been able to identify the exact conditions that cause this. Has anyone else experienced this problem, especially with Qt Creator or other Qt-based applications on Wayland? I'd appreciate any insights or potential fixes.

    JonBJ jsulmJ I 3 Replies Last reply
    0
    • P pehg

      Hello, everyone. I'm experiencing an issue where tooltips are appearing in separate windows instead of overlaying the application. These windows often close instantly, making it impossible to read the tooltip's content.

      I've observed this some time ago primarily with Qt Creator while typing for code completion suggestions or when hovering over variables during debugging. I've also managed to reproduce this behavior in a custom application I'm developing.

      Here are a few images demonstrating the issue:

      tooltip-bug-qtcreator.jpeg

      tooltip-bug-qtcreator-2.jpeg

      windowed-tooltip.jpeg

      The issue might be specific to Wayland. When I run the same application using X11, the tooltips function correctly, although I didn't test Qt Creator on X11 before writing this post. My temporary workaround is to click anywhere on the application window, which makes the problem disappear for a moment.

      I haven't been able to identify the exact conditions that cause this. Has anyone else experienced this problem, especially with Qt Creator or other Qt-based applications on Wayland? I'd appreciate any insights or potential fixes.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote last edited by JonB
      #2

      @pehg
      I will just say that I had issues with Wayland, both in Qt applications and non-Qt ones, so much so that I gave up on it and reverted to Xorg. And I am not the only person who has found Wayland unsuitable for purpose and reverted. I don't think there is much you can do about Wayland behaviour/vagaries from a Qt app, it is what it is.

      1 Reply Last reply
      0
      • P pehg

        Hello, everyone. I'm experiencing an issue where tooltips are appearing in separate windows instead of overlaying the application. These windows often close instantly, making it impossible to read the tooltip's content.

        I've observed this some time ago primarily with Qt Creator while typing for code completion suggestions or when hovering over variables during debugging. I've also managed to reproduce this behavior in a custom application I'm developing.

        Here are a few images demonstrating the issue:

        tooltip-bug-qtcreator.jpeg

        tooltip-bug-qtcreator-2.jpeg

        windowed-tooltip.jpeg

        The issue might be specific to Wayland. When I run the same application using X11, the tooltips function correctly, although I didn't test Qt Creator on X11 before writing this post. My temporary workaround is to click anywhere on the application window, which makes the problem disappear for a moment.

        I haven't been able to identify the exact conditions that cause this. Has anyone else experienced this problem, especially with Qt Creator or other Qt-based applications on Wayland? I'd appreciate any insights or potential fixes.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote last edited by
        #3

        @pehg Wha tLinux distribution is this and what is the QtCreator version?

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

        P 1 Reply Last reply
        0
        • J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote last edited by
          #4

          I run into this constantly too, Usually happens when my Mac was on "standby". After wakeup tooltips and autocomplete would appear on the laptop screen no matter where QtC was placed on the screen.

          Relaunching QtC usually fixes it. Highly annoying but probably not high on the to fix issue list. Because I imagine it is hard to track down in the first place.


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          0
          • P pehg

            Hello, everyone. I'm experiencing an issue where tooltips are appearing in separate windows instead of overlaying the application. These windows often close instantly, making it impossible to read the tooltip's content.

            I've observed this some time ago primarily with Qt Creator while typing for code completion suggestions or when hovering over variables during debugging. I've also managed to reproduce this behavior in a custom application I'm developing.

            Here are a few images demonstrating the issue:

            tooltip-bug-qtcreator.jpeg

            tooltip-bug-qtcreator-2.jpeg

            windowed-tooltip.jpeg

            The issue might be specific to Wayland. When I run the same application using X11, the tooltips function correctly, although I didn't test Qt Creator on X11 before writing this post. My temporary workaround is to click anywhere on the application window, which makes the problem disappear for a moment.

            I haven't been able to identify the exact conditions that cause this. Has anyone else experienced this problem, especially with Qt Creator or other Qt-based applications on Wayland? I'd appreciate any insights or potential fixes.

            I Offline
            I Offline
            IgKh
            wrote last edited by IgKh
            #5

            @pehg Which is your exact Qt version?

            There were a bunch of fixes related to pop up windows handling in Wayland in 6.9.0, related to symptoms like you describe (completion popups and tooltips erronously becoming toplevles sometimes). The fix led to a bunch of crashing regressions (as is tradition) mostly fixed in 6.9.1

            You may want to try with that version to see if it helps.

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @pehg Wha tLinux distribution is this and what is the QtCreator version?

              P Offline
              P Offline
              pehg
              wrote last edited by
              #6

              @jsulm I use Tuxedo OS, an Ubuntu-based distro. QtCreator 15.0.1 and Qt 6.8.2. I saw this problem in QtCreator 14 as well and I guess a previous version of Qt. But as shown in the images, I have this issue in another application where I used QGraphicsWidget and QGraphicsProxyWidget. I was wondering whether that could be related to the problem.
              I just saw that @IgKh says Qt 6.9.1 includes some fixes. I'll see if that corrects the problem when it arrives to my OS.

              jsulmJ 1 Reply Last reply
              0
              • P pehg

                @jsulm I use Tuxedo OS, an Ubuntu-based distro. QtCreator 15.0.1 and Qt 6.8.2. I saw this problem in QtCreator 14 as well and I guess a previous version of Qt. But as shown in the images, I have this issue in another application where I used QGraphicsWidget and QGraphicsProxyWidget. I was wondering whether that could be related to the problem.
                I just saw that @IgKh says Qt 6.9.1 includes some fixes. I'll see if that corrects the problem when it arrives to my OS.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote last edited by
                #7

                @pehg said in Tooltips appear in separate windows:

                I'll see if that corrects the problem when it arrives to my OS

                That will not happen before next Ubuntu version I guess.
                You can install this Qt version using Qt online installer.

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

                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