[Bug 1093071] New: YaST constantly steals focus
http://bugzilla.suse.com/show_bug.cgi?id=1093071 Bug ID: 1093071 Summary: YaST constantly steals focus Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Factory Status: NEW Severity: Major Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: okurz@suse.com QA Contact: jsrain@suse.com CC: ben.kevan@bio-rad.com, casualprogrammer@opensuse.org, cyberorg@opensuse.org, diego.ercolani@gmail.com, ensonic@sonicpulse.de, federico@suse.com, francis@opensuse.org, gabriel@opensuse.org, jdsn@suse.com, jonas@jonasbjork.net, l_v_brienen@casema.nl, m.moeller@opensuse.org, Markus.Elfring@web.de, martin@oneiros.de, mmeeks@suse.com, ptomes@gmail.com, ric8cruz@gmail.com, Roland.Kletzing@dguv.de, sbrabec@suse.com, tilman@imap.cc, Ulrich.Windl@rz.uni-regensburg.de, volker_apelt@yahoo.de Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #326158 +++ ## Observation There are a lot of very old bugs already and at least in the current state seems like the behaviour described in these bugs is still present: YaST during some actions, especially package installation (but not in the "software management" module itself), opens many popup dialogs and steals the focus preventing to work with the system while yast does its actions ## Steps to reproduce * In an installed system, open the yast control center, open "Remote Administration (VNC)", enable any of the Remote Administration options and confirm * Confirm installation of necessary package and minimize or focus another application * Observe how the yast configuration dialog gains focus again (unminimized) ## Expected result * For minimised YaST progress dialogs should never popup * progress dialogs should not get focus for unfocussed foreground applications ## Further details Seems this has been reported already many times so it might be interesting to dig a bit into history here: * https://bugzilla.suse.com/show_bug.cgi?id=326158 * https://bugzilla.suse.com/show_bug.cgi?id=331835 * https://bugzilla.suse.com/show_bug.cgi?id=34759 * https://bugzilla.suse.com/show_bug.cgi?id=334631 * https://bugzilla.suse.com/show_bug.cgi?id=615927 * https://bugzilla.suse.com/show_bug.cgi?id=372319 * https://bugzilla.suse.com/show_bug.cgi?id=74073 * https://bugzilla.suse.com/show_bug.cgi?id=330649 * https://bugzilla.suse.com/show_bug.cgi?id=297642 * https://bugzilla.suse.com/show_bug.cgi?id=298071 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093071 http://bugzilla.suse.com/show_bug.cgi?id=1093071#c1 --- Comment #1 from Stefan Hundhammer <shundhammer@suse.com> --- The YaST Qt UI does a QWidget::raise() for each new dialog (created from the Ruby/ex-YCP application code: https://github.com/libyui/libyui-qt/blob/master/src/YQDialog.cc#L186 We are doing that for a good reason because every so often it happened that some weird window manager got the window stacking wrong and a small popup dialog would end up behind (!) the main dialog, rendering the entire YaST application unusable. Only very advanced users try [Alt][Tab] to check if maybe some modal popup is hiding behind the main window; to the great majority of users, that application has become unusable. This was a workaround for an even larger number of other bugs that turned out to be complete showstoppers for many users. We never liked that approach, but it was a feasible workaround for a real-world problem. What you are asking for, however, is a minor annoyance that affects only a very small number of users, mostly in our internal QA department. For more details, see also https://bugzilla.suse.com/show_bug.cgi?id=246934#c23 We will definitely not go back to make the YaST UI unusable for average users in many cases when some window manager misbehaves (which a surprising number of them tends to do). If anybody is actually willing to spend time on this and has a solution that does not break things (i.e. go back to hiding small popup windows behind the main window in some cases), we will seriously consider it. But so far, nobody seems to have a bright idea what can be done. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093071 http://bugzilla.suse.com/show_bug.cgi?id=1093071#c2 --- Comment #2 from Oliver Kurz <okurz@suse.com> --- (In reply to Stefan Hundhammer from comment #1)
[…] What you are asking for, however, is a minor annoyance that affects only a very small number of users, mostly in our internal QA department.
Well, I got this report from a non-SUSE openSUSE user and was just trying to first reproduce myself and report accordingly.
[…] But so far, nobody seems to have a bright idea what can be done.
well, the software management module actually does it fine: It shows the progress notification using the same view as the installer within the same window in an inner frame and therefore no problem there. Another alternative is to ensure that multiple packages do not spawn multiple dialogs but just one. In this case it might popup once but you can minimize. That would already help. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093071 http://bugzilla.suse.com/show_bug.cgi?id=1093071#c3 --- Comment #3 from Ladislav Slezák <lslezak@suse.com> --- The package installed from the package manager work correctly because it prepares the progress window for that. The other modules request installing a needed package, but do not prepare a progress window. In that case the progress cannot be displayed in the current window as it would be destroyed and it could contain unexpected content after returning the control back to the module. I think the fix could be opening a new window in the Package.Install and related calls and closing it in the end. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093071 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |CONFIRMED URL| |https://trello.com/c/1Docyr | |nP Assignee|yast2-maintainers@suse.de |yast-internal@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093071 http://bugzilla.suse.com/show_bug.cgi?id=1093071#c4 --- Comment #4 from Stefan Hundhammer <shundhammer@suse.com> --- Now tracking in our Trello scrum queue. Still don't know a solution, though. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1093071 https://bugzilla.suse.com/show_bug.cgi?id=1093071#c5 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |WONTFIX OS|openSUSE Factory |All --- Comment #5 from Lukas Ocilka <locilka@suse.com> --- It looks like we are not going to fix it. Sorry. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com