Qt Creator in Linux suddenly raises the window on focus change
-
Hi all,
I'm running Qt Creator on Linux (on a Wayland wm) and a highly annoying behavior started happening recently, maybe in the last month or so, after an update to Qt Creator (I forget which version, sorry):
Basically on the Linux desktop, I have focus follow the mouse, so whichever window the mouse is over has keyboard focus. Windows do not move to the foreground unless they are clicked. This is pretty standard Linux window manager behavior.
Qt Creator was fine with this until recently; now, whenever the Qt Creator window gets focus, it moves itself to the foreground. This is really annoying and an impediment to work, but I haven't figured out why it's doing it and how to make it stop. Qt applications that I'm working on don't do this; only Qt Creator. Has this happened for anyone else? Is there a setting to revert this behavior? I've been searching online for hints about this and see nothing, which either means I'm failing at web searching or have a somehow goofy setup. Any hints would be appreciated!
Edit
Good points by @SGaist I should have mentioned:- Distribution: Fedora 37 (it also happened on Fedora 36) with KDE window manager
- Qt Creator from the online installer, it is version 8.0.2 ("Based on Qt 6.3.2 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)")
-
Hi and welcome to devnet,
You should add which distribution you are using as well as desktop environment.
Are you using Qt Creator from the online installer ?
Which version is it ? -
Hi @SGaist ,
Thanks for the reply, I should have thought to include those details originally! I edited the original post with the Linux distribution (Fedora 37) and details about Qt Creator.One interesting note is that this morning, the Qt Maintenance Tool told me that an update to Qt Creator, version 9.0.0 was available, so I did that upgrade and it seemed to think that it installed Qt Creator 9.0.0 on my system, but when I launch qtcreator from /opt/Qt/Tools/QtCreator/bin the application tells me it's 8.0.2. Looking through the installer log I see installations of 8.0.0, 8.0.1, and 8.0.2, but no mention at all of a 9.0.0. It's not clear to me if 9.0.0 is still a beta release? I am not installing prerelease software, at least not intentionally, but also don't see where it would have put it. Anyway, based on the dates in /opt/Qt/InstallationLog.txt, it was probably the 8.0.0 release that came with this new behavior.
-
Yes. I'm having this same issue. Has there been any resolution yet? I'm running Debian 12, KDE, and Qt Creator 10.0.1
Qt Creator keeps popping into the foreground, covering other windows, when it gets focus (I also use focus follows mouse). Only Qt Creator does this to me, so I don't think it's an issue with KDE. -
Yes. I'm having this same issue. Has there been any resolution yet? I'm running Debian 12, KDE, and Qt Creator 10.0.1
Qt Creator keeps popping into the foreground, covering other windows, when it gets focus (I also use focus follows mouse). Only Qt Creator does this to me, so I don't think it's an issue with KDE.This post is deleted! -
This post is deleted!
@Jesse-Dosher @Jesse-Dosher Update: I just noticed it also happens with applications I've built using Qt6. I'm currently running Qt Creator 10.0.1, Qt 6.4.3 (also happens with Qt 6.5.1). It's beyond annoying - it's interfering with the usability of a multi-window app I'm deploying at work.