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 100110 - text not visible on cdplayer applet
text not visible on cdplayer applet
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: cdplayer
2.2.x
Other Linux
: High normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
: 100107 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-12-02 09:27 UTC by deepa
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description deepa 2002-12-02 09:27:02 UTC
On a horizontal panel, the text which displays the track no and display 
time is cut (or half visible) when the panel size is XX Small, Small & 
Medium.
Comment 1 Kevin Vandersloot 2002-12-09 02:37:32 UTC
*** Bug 100107 has been marked as a duplicate of this bug. ***
Comment 2 Kevin Vandersloot 2002-12-09 02:39:48 UTC
The problem here is that the labels don't expand (in gnome1 they
expand and the cdplayer makes the panel larger). By not expanding the
text gets squished
Comment 3 Kevin Vandersloot 2002-12-09 02:52:55 UTC
This seems to happen to other applets as well. Try the clock applet on
a small panel. Something must have changed recently in gnome-panel.
I'm moving it there temporarily.
Comment 4 Kevin Vandersloot 2002-12-09 15:59:19 UTC
Mark: any idea on this one?
Comment 5 Mark McLoughlin 2002-12-11 05:26:59 UTC
Yes, its caused by this:

2002-10-17  Mark McLoughlin  <mark@skynet.ie>

        * panel-applet-frame.c:
        (panel_applet_frame_constrain_size): impl to constrain
        an applets position to not be larger than the the panel
        width.
        (panel_applet_frame_size_request): use it.



Applets are supposed to respect their size allocation. I know, this is
hard when the allocation is smaller than the text size ... I don't
really know what to do about it. Hmm ....

There's some other bugs around for applets doing this.
Comment 6 Arvind S N 2002-12-11 10:28:52 UTC
oh yes, infact a min-commander would be unusable on a vertical panel
now . Although it should not be put on a vertical panel in the first
palce. Still it looks bad. Probably we have to come up with a list of
applets that a vertical panel can ever have.
Comment 7 deepa 2002-12-11 12:06:13 UTC
That seems to be an easy way out. You may want to discuss this on the
usability list before taking it forward.

Comment 8 Arvind S N 2002-12-11 12:20:55 UTC
Calum, seth: thoughts, comments ? :)
Comment 9 Kevin Vandersloot 2002-12-11 18:11:47 UTC
Mark: I think even the clock gets constrained right now. Is there a
reason we should keep this change to the panel? Maybe we can change it
after 2.2 and then change all the applets to behave properly?
Comment 10 Mark McLoughlin 2002-12-11 22:05:03 UTC
Several reasons really ... applets *shouldn't* make the panel expand.
Doing that takes up valuable screen space on the user. Applets should
respect the size allocated to them - I made the fish do a few days ago
instead of using the size_changed signal ....

I'll say again - with a large font, there isn't a whole lot the applet
can do, so we need to figure out something. The reality is that the
panel needs to be bigger so I think jumping up to the next size
setting is what should happen instead of increasing the panel size.
i.e. change the preference rather than the panel size. I dunno, I'm
prolly talking crap.
Comment 11 Vincent Untz 2002-12-12 14:50:11 UTC
Same problem as in bug #97409. Not sure if this should be marked as
duplicate, though.
Comment 12 Calum Benson 2002-12-13 19:50:59 UTC
I think Mark's assessment is basically correct, although I don't
completely agree that an applet should *never* make a panel expand--
if the user has specified minimum font and icon sizes in their theme,
an applet ought to respect those, and a panel ought to grow to the
smallest size necessary to meet that demand if required.  Which is
almost what Mark said, except he only mentioned text, not icons :) (I
realise that most applets, not to mention launchers etc., aren't
currently engineered to shrink their icons no smaller than the gtk
theme's icon sizes anyway, but that's not to say they shouldn't in the
future.)

Ensuring 'the smallest size necessary' for the panel is one of the
sizes in the preferences dialog sounds like a reasonable solution
given the way panels currently work... although of course it would be
much nicer if you could just grab panel edges and make them any damn
size you wanted :)
Comment 13 George Lebl 2003-01-09 23:55:02 UTC
The "solution" I thought of long time ago was: when an applet is too
large, only display part of it (as it is now I suppose), but when the
mouse gets over it (or it gets focus), grab the applet, stuff it into
an override redirect window above the panel of the proper size.  So
when you would run the mouse over such an applet it would sort of
"break out" of the panel so that you can fully use it.
Comment 14 Calum Benson 2003-03-12 17:32:46 UTC
Interesting idea, I guess it wouldn't work so well for monitoring-type
applets where the idea is to be able to just glance down at the panel
for information rather than having to interact with it, though.

We really need to work pretty hard at figuring out a consistent model
for how the panel and its contents resize, it's pretty wild up to 2.2
at least... it must be the only desktop window in the world that's
designed to hold less information when you make it bigger :)
Comment 15 Andrew Sobala 2003-03-27 19:35:06 UTC
How about defining a panel size as a certain multiple of the
application font size?
Comment 16 Mark McLoughlin 2003-06-11 11:07:30 UTC
See #94026. The minimum panel size is now relative to the font size:

min_size = font_ascent + font_descent + 2 * (focus_pad + focus_width +
thickness)


I think this should fix this cdplayer issue, especially if Kevin has
done the expanding work on the cdplayer ... bouncing it back to
gnome-applets for now.
Comment 17 Kevin Vandersloot 2003-06-13 01:41:09 UTC
Yep fixed now.