Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
Working with Virtual Desktops for Linux?
I am working on CentOS6, which has a dynamic number of virtual desktops available.
- Is there a way to query which virtual desktop(s) are currently active?
- Is there a way to query which virtual desktop a widget currently resides on?
- Is there a way to move a widget from one virtual desktop to another?
Thanks sierdzio, but I have already taken a look at the documentation for those classes. Perhaps I am missing something, but when I get a QDesktop widget and query the screenCount, it returns 2.
I presently have 4 "desktops" with dual monitors. I would expect the result then to be 8, not 2.
Hi and welcome to devnet,
Unless I'm mistaken, QDesktopWidget encapsulate the concept of "on screen desktop" be it multi screen or a large virtual two screen spanning desktop. It doesn't know about the virtual desktop you can create through your desktop environment (e.g. KDE, Gnome etc.)
Hello SGaist, thanks for the response.
So you're saying that there isn't a means to detect a Qt window on a desktop that is not currently being displayed and move it to another desktop?
AFAIK, no, it's more something that should be handled by your window manager