Comment 54 for bug 36189

Revision history for this message
Sandro Mani (sandromani) wrote :

I've done some more testing (switching resolutions, logging out and in at different resolutions) and I must say that my applets always retain their correct position since when I've set all positioning values manually. Though what I noticed is that while right_stick is always preserved, positions change oddly, but consistently, i.e. before I had
right-applet-1: position=0
right applet-2: position=1
etc
and now I have
right-applet-1: position=-80
right-applet-2: position=-79
etc.

So from what I can tell, what one would have to do is:
1. fix the ways positions are stored when adding the applet (as stated above somewhere, I have the impression that manually added applets (always?) use left absolute positioning even if they are aligned to a stack of applets to the right)
2. once that is done, simply prevent any changes to gconf while changing resolution.

While the second step would brutally said only require to comment out the right sections of the source, the first one would require an pretty deep knowledge of GTK, i.e. how to detect if an applet touches a stack of applets that are aligned to the right and count them, in order to use relative positioning values (i.e. incrementing position values always by one)