Created attachment 159462 [details] Wayland On wayland, if you open two applications (app1 and app2), if you launch a long operation on app1 then switch to app2, in this case the Task Manager is focused on app2, if any warning/error/information popup window appears from app1, then a new entry is added to Task Manager and both the popup with its main app1 window are forced to show at top, but when you close the popup you will see that the main window of app1 is the one showing but the one selected in Task Manager is app2. On X11 the popup doesn't force any show at top (the entry of app1 in Task Manager simply blinks), and doesn't create any new entry. So if you click on app1 entry and then you close the popup the app1 window remains showing and at the same selected in Task Manager. See attached video for both X11 and Wayland for more information.
Created attachment 159463 [details] X11
Interesting. Does it affect any other apps you can try? Or is it just that one shown in the screen recording?
(In reply to Nate Graham from comment #2) > Interesting. Does it affect any other apps you can try? Or is it just that > one shown in the screen recording? After testing some apps, it happens with any Eclipse based app like DBeaver, Oomph... and also with Qt apps like KRDC (vnc viewer), in general with any app that performs a long task and can finish or stop by showing a popup dialog. Here we have two cases: 1) with modal popup it creates a new entry in Task Manager and is automatically selected, and also brings its main window with it, and after closing the popup the main window keeps showing at top while the wrong entry is selected in Task Manager. 2) while non modal popup creates a new entry in Task Manager and is also automatically selected, but it appears alone without its main window, and after closing the popup the focus in Task Manager return to the previous selected app.
Cool, thanks for testing.
Possibly duplicate of bug 486461
It would appear so, yeah. Thanks. *** This bug has been marked as a duplicate of bug 486461 ***