After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 334492 - Entry popup in button mode is badly positioned in vertical panels
Entry popup in button mode is badly positioned in vertical panels
Status: RESOLVED FIXED
Product: deskbar-applet
Classification: Deprecated
Component: general
2.14.x
Other All
: Normal minor
: 2.16
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-03-14 00:46 UTC by Joachim Breitner
Modified: 2006-03-15 09:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Fix or Workaround, but it works (875 bytes, patch)
2006-03-14 23:01 UTC, Joachim Breitner
none Details | Review

Description Joachim Breitner 2006-03-14 00:46:58 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:
Comment 1 Joachim Breitner 2006-03-14 13:48:52 UTC
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.
Comment 2 Raphael Slinckx 2006-03-14 21:45:30 UTC
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 
Comment 3 Joachim Breitner 2006-03-14 22:22:31 UTC
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.
Comment 4 Raphael Slinckx 2006-03-14 22:34:43 UTC
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.
Comment 5 Joachim Breitner 2006-03-14 22:42:56 UTC
So, do you want a patch for that? It's really just swapping LEFT and RIGHT in CuemiacAlignedWindow.py...
Comment 6 Raphael Slinckx 2006-03-14 22:57:46 UTC
Oh yes sure if you found the problem in deskbar, please attach the patch !
Comment 7 Joachim Breitner 2006-03-14 23:01:24 UTC
Created attachment 61252 [details] [review]
Fix or Workaround, but it works
Comment 8 Raphael Slinckx 2006-03-15 09:15:36 UTC
Ok, thanks for the patch it's commited in HEAD !