tcorreabr / Parachute

Look at your windows and desktops from above.
GNU General Public License v3.0
356 stars 32 forks source link

With Virtual Desktop Bar, parachute keyboard shortcut ineffective until kwin restart or dynamic desktop operations #14

Closed AndydeCleyre closed 4 years ago

AndydeCleyre commented 4 years ago

Each time I boot up and login, the keyboard shortcut (ctrl+alt+w) has no effect, until I run kwin_x11 --replace, then it's fine. The setting appears correct throughout, in the Global Shortcuts KCM.

I wonder it it's some timing issue during session startup. I am also using latte dock and virtual desktop bar (which I know causes other issues for this script), so I can play around with disabling those later.

Arch Linux kwin & plasma-desktop 5.18.4.1 kwin-scripts-parachute 0.5.1

Thanks again for the great work!

tcorreabr commented 4 years ago

I couldn't reproduce this error here. If you can get more info about it please report.

EDIT: I am using Latte dock too.

AndydeCleyre commented 4 years ago

Alright, looks like it's another problem with Virtual Desktop Bar (r422.25ec1c0), without which the problem doesn't present, and with, I can also get the shortcut working (without restarting kwin) by moving windows across desktops enough to get new desktops created and removed.

Maybe @wsdfhjxc has an idea here.

Screenshot_20200404_120859 Screenshot_20200404_120840

wsdfhjxc commented 4 years ago

Ok, while I can see the other issue regarding handling desktops being on my side, in case of this particular issue, I have no idea why it's happening, as there is nothing that could interfere regarding keyboard shortcuts. Can you tell me what action is assigned to that keyboard shortcut in your setup?

AndydeCleyre commented 4 years ago

@wsdfhjxc It's just the parachute default, corresponding to this line in kglobalshortcutsrc:

Parachute=Ctrl+Alt+W,none,Parachute
AndydeCleyre commented 4 years ago

@wsdfhjxc This problem occurs if and only if I have automatic removal enabled.

plasma5-applets-virtual-desktop-bar-git r432.b144b08

tcorreabr commented 4 years ago

I'm closing this one just for organization. But feel free to add any relevant information.

AndydeCleyre commented 4 years ago

Should further discussion move to another issue; what's the new organization?

What more information would be relevant?

tcorreabr commented 4 years ago

@wsdfhjxc This problem occurs if and only if I have automatic removal enabled.

plasma5-applets-virtual-desktop-bar-git r432.b144b08

Do you think it would be a good idea to include this information as a note in the README file?

AndydeCleyre commented 4 years ago

As far as I know @wsdfhjxc doesn't believe it can be related to that applet, but I don't know that they've tested to try to replicate.

wsdfhjxc commented 4 years ago

It's not that I don't believe it. I just have no idea why there is a correlation and how to resolve the issue.