Hello,
On KDE plasma 6.6.
At work, with two 1920x1080 monitors, when I use windows rules to make my Thunderbird main window to be, for example, in the monitor to the right on the second virtual desktop, it works perfectly.
But it works flawlessly because I always use the two monitors !
At home, some time I use two 2560x1440 monitors, sometimes I use only one.
The problem, I think, is that on the window rules, the position is in pixels with the total screen width space in mind (here it’s 5120x1440).
So, for example, my Thunderbird rule is now :
Position : Initially 2630 x 34
Monitor (Or Screen, I don’t know the English word used) : Initially 0
Virtual Desktop : E-Mails
You see what is the problem there !?
For the virtual desktop, the Y position is relative (If it wasn’t It would be 1440+34, not 34).
But to follow the same logic, it should be 70x34, relative to the virtual screen AND the Monitor !
In fact, if I deactivate the monitor 1, I want the position to be 70 x 34 on the monitor 0. BUT how would KDE know that the monitor 1 was 2560 width ?
At the moment, there is a good safegard so Thunderbird is only in the right (or in the left, depends what monitor I deactivate) of the monitor. I recall some years ago, on MS Windows, when I had program windows hidden in invisible areas of the screen. That’s not happening here.
But It certainly could be better.
I think the most logical would be that the position would be relative with the virtual screen and the monitor.
If my Windows rule stated that the window should be in screen 1 at 70 x 34, then it would fall back to the same position on the only available screen if the screen 1 is not available.
I’m aware this needs much more thinking in case of more than two monitors : on what monitor fall back ?
Could this be a rule that the user can choose ? Example in lieu of Monitor: 1, the rule could be Monitor: 1,0,2 => if 1 is here, the windows is here, if not, the rule falls back to monitor 0, and if it’s not here, it falls back to 2… and if not here, it falls back to the available one).
But I strongly believe the relative position should always be the same.
What do you think, and are you planning on working in those aspects in the future ?
Thank you.