[Bug 686449] New: YaST software manager (GTK version) does not restore window layout
https://bugzilla.novell.com/show_bug.cgi?id=686449 https://bugzilla.novell.com/show_bug.cgi?id=686449#c0 Summary: YaST software manager (GTK version) does not restore window layout Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: harnold@gmx.de QAContact: jsrain@novell.com Found By: --- Blocker: --- Created an attachment (id=424117) --> (http://bugzilla.novell.com/attachment.cgi?id=424117) Screenshot of YaST software management's default window layout. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0.0) Gecko/20100101 Firefox/4.0 The YaST software manager (GTK version) always starts with the default window layout, which is much too small and hard to use (see attached screenshot). The user always has to adapt the window layout (window size, width of the sidebar) before being able to use the program, which is annoying. (Besides, note the "&" characters in the menus. I assume they should expand to underlined characters.) Reproducible: Always Steps to Reproduce: 1. Start YaST software management (GTK version). 2. Adapt the window to your needs. 3. Close the window and restart the program. Actual Results: The program starts with the default window layout. Expected Results: Like all well-behaved graphical programs, the software manager should restore the window layout that was used when the it was closed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=686449
https://bugzilla.novell.com/show_bug.cgi?id=686449#c1
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=686449
https://bugzilla.novell.com/show_bug.cgi?id=686449#c2
--- Comment #2 from Ricardo Cruz
Expected Results: Like all well-behaved graphical programs, the software manager should restore the window layout that was used when the it was closed.
I agree, a well-behaved program should store such information. But few do, because there isn't presently an uniform way to do it. In the case of yast2, it's much harder to do because of it running as root. We want to store such information in an user basis, just like the gnome-session settings are individualized (ie. styles, fonts), but it's not clear how you go about to do it, given yast2 is running within the root shell. I will put some thought into that... We can also tweak the default window size. It is already dependent on the font size and all that, and we could further improve it. An ugly alternative is to just maximize yast2 by default, at least the software manager tool. ;) This is what the Ubuntu software manager (Synaptic) does. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=686449
https://bugzilla.novell.com/show_bug.cgi?id=686449#c
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=686449
https://bugzilla.novell.com/show_bug.cgi?id=686449#c3
--- Comment #3 from Holger Arnold
https://bugzilla.novell.com/show_bug.cgi?id=686449
https://bugzilla.novell.com/show_bug.cgi?id=686449#c4
--- Comment #4 from Ricardo Cruz
The GTK software manager already stores some settings in /etc/sysconfig/yast2-gtk, so a quick hack would be to store at least the window size there (and make sure that the side bar has a useful minimum size).
Right, but GUI settings like styles and font size are individualized, so one window size may be too small for one user, but too big for the other... But okay, on net, I think that's the best solution. But let me query some people about this too... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=686449
https://bugzilla.novell.com/show_bug.cgi?id=686449#c5
--- Comment #5 from Ricardo Cruz
The only sane solution is to run the gui unprivileged in the user context and let small privileged background processes to the actual configuration work. By today's standards, one should probably use PolicyKit for this.
webyast/yast3 has been in the works for some time now, and that is one point they meant to address, among other exciting stuff. But I dunno how far behind the production stage it is... But meanwhile, sure, let's hack something through. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=686449
https://bugzilla.novell.com/show_bug.cgi?id=686449#c6
Ricardo Cruz
participants (1)
-
bugzilla_noreply@novell.com