|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST constantly steals focus | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Oliver Kurz <okurz> |
| Component: | YaST2 | Assignee: | YaST Team <yast-internal> |
| Status: | RESOLVED WONTFIX | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P4 - Low | CC: | casualprogrammer, cyberorg, diego.ercolani, ensonic, federico, forgotten_42maXmOW7B, forgotten_h13THG8RK1, forgotten_nqeDWc8OMK, forgotten_OfsFetVrzR, forgotten_qMyteedNxa, forgotten_UBl8fzpxVx, forgotten_zhFaldehF_, francis, jdsn, jonas, Markus.Elfring, martin, mmeeks, ptomes, sbrabec, Ulrich.Windl, volker_apelt |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| URL: | https://trello.com/c/1DocyrnP | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Oliver Kurz
2018-05-14 07:27:40 UTC
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. (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. 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. Now tracking in our Trello scrum queue. Still don't know a solution, though. It looks like we are not going to fix it. Sorry. |