Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window positions change when a new window is open or when I change between desktops #12

Open
akae opened this issue Aug 13, 2020 · 8 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@akae
Copy link

akae commented Aug 13, 2020

Hi
First, thanks for such a useful tool. It has notably improved my way of working. But a few weeks ago, it started to show a different behaviour, specially when I switch from one virtual desktop to another: Windows positions are lost and I have to reorganize everything in each desktop every time I change to it. This does not happen for manually placed windows or default shortcuts (win+left/right)

You can see the strange behaviour in this animated gif: https://imgur.com/a/xb6XB6Q
Please let me know if I can provide more info about my setup which helps to solve this issue.

OS: Debian GNU/Linux 10 (buster) x86_64
Host: XPS 15 9560
Kernel: 4.19.0-6-amd64
Packages: 3212 (dpkg)
Shell: bash 5.0.3
Resolution: 1920x1080, 3840x1200
DE: KDE
WM: KWin
WM Theme: K01-d
Theme: Breeze Dark [KDE], Breeze-Dark [GTK3]
Icons: breeze-dark [KDE], breeze [GTK3]
Terminal: konsole
Terminal Font: Hack 12

@forcecore
Copy link

Same here, with 3840x1200 single monitor.

Plasma verison is:
extra/plasma-desktop 5.20.3-1 (plasma) [installed]
KDE Plasma Desktop

OS: Arch Linux x86_64 (updated 2020-11-15)
Kernel: Linux 5.9.8-arch1-1 #1 SMP PREEMPT Tue, 10 Nov 2020 22:44:11 +0000 x86_64 GNU/Linux
Shell: bash 5.0.18
Resolution: 3840x1200
DE: KDE
WM: extra/kwin 5.20.3-1 (plasma) [installed]
WM Theme: K01-d
Theme: Breeze [KDE]
Icons: breeze
Terminal: konsole
Terminal Font: Dejavu Sans Mono Book 12

@forcecore
Copy link

forcecore commented Nov 15, 2020

It seems chrome browser reverts its size while other apps, such as discord, thunderbird, firefox, gvim, konsole don't.

@lucmos
Copy link
Owner

lucmos commented Dec 4, 2020

Thank you for reporting this bug!

I didn't do any changes, something must have been changed on the kwin side.
Unfortunately, I don't know what. Right now I don't have time to investigate this further, moreover atm I'm on a single monitor thus it is difficult to test.

@akae
Copy link
Author

akae commented Dec 9, 2020 via email

@lucmos lucmos added bug Something isn't working help wanted Extra attention is needed labels Dec 9, 2020
@de-es
Copy link

de-es commented Jan 14, 2021

Same here, single monitor, happens since last summer.

It does only happen when I resized the window of a program with Meta + Numpad before. When I sized/moved it with Meta + Arrows, it stays at the current position. Looks like the current position is not stored somehow when using Meta + Numpad.

OS: Manjaro
KDE-Plasma: 5.20.4
KDE-Frameworks: 5.77.0

@SHU-red
Copy link

SHU-red commented Jul 7, 2021

Same issue on my side.
I also used BetterQuickTiles before --> Same behavior
I switched to Ultrawide to see if the issue is still there --> Same behavior

This discussion may give some more context:
https://bugs.kde.org/show_bug.cgi?id=439272

I still bet this is due to the position not being saved and something triggering a "restore last position" that will then not restore the last quick position but instead the last user manipulated position.

For me not related to virtual desktops etc. --> Stored Window sizes seem to be set for all open windows of one instance etc.

System:    Kernel: 5.12.14-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: KDE Plasma 5.22.3 tk: Qt 5.15.2 
           wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux 

@Nxllpointer
Copy link

Did anyone fix it? I have the same issue and cant really use my monitor because its basically a tv

@Nxllpointer
Copy link

@lucmos i found a "workaround". If you maximize and then immediately un-minimize the client after calling reposition() the window position will be saved or whatever but it works. If the Maximize Desktop effect is enabled it looks a bit weird but with it being disabled you dont see a difference. I have however still not found the cause of the source of the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants