Workspace: popup window steals focus of whole screen
The popup window used to select which workspace should be created steals focus entirely when it's open. The focus steal is completely absolute : no interaction is available while it's open, be it:
- any mouse click outside this window (you can't click anywhere, be it on other windows or on desktop environment elements)
- any key stroke (Win key, Print Screen key, nothing works)
This is particularly painful when the program crashes inside a debugger, since the program window stays open, so the whole desktop is completely stuck. The only solution is to open a terminal outside of the desktop environment (with CTRL + ALT + F2), find the program with ps
, and kill it.
How to reproduce:
- Open dtkWidgetsWorkspace
- Click on (+) button at the bottom-right corner
You can now see how the popup window gets all focus And now, you can make it crash:
- Create any workspace.
- Delete the workspace by clicking on its cross in the bottom bar.
- Click on (+) button at the bottom-right corner
- Create a new workspace: SEGFAULT.