Re: timezone tweaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 4 Nov 2010, Ales Kozumplik wrote:

The first patch is obvious.

The second one, the one liner, took me all afternoon: the problem is that whenever the screen was entered the correct city was selected but not visible in the treeview, kindof like a one-off error in GTK:

http://akozumpl.fedorapeople.org/tz_scroll_bad.png
http://akozumpl.fedorapeople.org/tz_scroll_good.png

I later found out this doesn't happen if TZ is the very first screen displayed, or more specifically whenever self.window.show() is called in gui.py before loading and creating the TZ widget. I am also able to reproduce this with different window.show() combinations (window being the containing window) locally, outside of Anaconda.

Therefore, assuming this is another GTK synchronicity/sizing-estimation weirdness, I propose a patch that sets the selection upon the first rendering instead.

(Nils, you are CCed just FYI in case you encounter a similar problem too.)

Ack to both.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux