GNOME Bugzilla – Bug 334492
Entry popup in button mode is badly positioned in vertical panels
Last modified: 2006-03-15 09:15:36 UTC
I'm using a vertical panel at the left edge, so I'd like to use the panel button mode. Unfortunately, the entry field is too far to the left, so one third is off the screen, one third is below the panel and one third is actually visible. Thanks for the deskbar! Other information:
Maybe it's not a deskbar-applet bug: When I switched gnomeapplet.ORIENT_RIGHT and gnomeapplet.ORIENT_LEFT in the code, it worked just fine. At least here, PyGnomes' gnomeapplet object returns gnomeapplet.ORIENT_RIGHT for my left edge panel.
The button mode is made for such situations. You will never have an entry behaving correctly in vertical panels, it's just not possible unless you have a very large panel. I won't be making code changes to change the icon place according to the left/right panel. Patches are accepted of course
Sorry if I phrased it badly: I do use the button mode. The entry in the popup is placed incorrectly (not the entry-in-panel-mode entry :-)) The workaround described in my second post was done to CuemiacAlignedWindow.py, but I guess it has to be checked first whether that's an gnomeapplet bug or not.
Ah sorry i misunderstood ! The fact gnomeapplet return LEFT when you place applet on the right is correct, that said i guess there is a confusion in deskbar code to place the entry correctly, and thus reversing the gnoeapplet constant is "fixing" the problem.
So, do you want a patch for that? It's really just swapping LEFT and RIGHT in CuemiacAlignedWindow.py...
Oh yes sure if you found the problem in deskbar, please attach the patch !
Created attachment 61252 [details] [review] Fix or Workaround, but it works
Ok, thanks for the patch it's commited in HEAD !