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 329036 - Time and date no longer on two lines, applet is 2x wider for no reason
Time and date no longer on two lines, applet is 2x wider for no reason
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: clock
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 351733 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-01-29 04:18 UTC by Erik Walthinsen
Modified: 2007-05-14 19:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Erik Walthinsen 2006-01-29 04:18:46 UTC
As of updating to 2.12.2 on Debian sid, I found that the time and date were on the same line, taking up more than twice as much room (gratuitous comma and *two* spaces between them) on my standard 48-pixel high panel even though there's plenty of room for two lines of text, and it displayed just fine in the previous version (not sure what version that was, no easy way to find out).

I have been forced to turn off the date display (which I glance at several times a day) because of the massive waste of panel space.
Comment 1 Christian Kirbach 2006-01-29 22:40:34 UTC
can see that on 2.12.3cvs as well

1. add the clock applet and make id display date and time
2. set panel to a large size (48 pixels or so)
3. open font properties and select tiny application font (8)

the applet text is not line-wrapped
Comment 2 linux.user.since.2002 2006-06-07 19:43:11 UTC
Gnome Version: 2.14.x
gnome-panel:   2.14.x

The expand behavior of the applet appears to be highly inconsistent.

Given a 12-hr clock with date display and ample space to the right of the applet, I've observed the following relationship between a bottom positioned panel height and number of lines the date is displayed on:

46-120 px:  Two lines
23-45 px:   One line

However if there is not enough space to the right of the applet, it will actually expand leftwards to make up for the difference.  In fact, even if you lock an applet to its immediate left, it still expands moving the locked applet (granted, likely not in relation to itself, but still).

Expected:
The panel should expand as more space is made available, not the converse.

--

While it is acknowledged that many users likely prefer the condensed display (as evidenced in part by this bug), this should be at least an optional behavior -- I'd actually prefer a one-line date/clock display even at a 48px panel.

Seemingly Related:

308839 - 5 line display with seconds shown
341236 - applet does not expand as expected to fill available space

Possibly Related:

341236 - applet width inconsistent with non-monospaced font
319149 - whitespace pads to expand, removed when clicked

Also of Interest:

317891 - gconf entry to show year

While I can understand adding this to the GUI from a usability standpoint, it also forces the question of why not permit a custom format string with as many (or as few) \n as desired.  Granted, there are the gconf keys format and custom_format, but they seem to be abandoned (or abused) as I have a 12-hr clock (not 24), and the default format string appears to be invalid as per the description (given the presence of a number of miscellaneous characters).
Comment 3 Mariano Suárez-Alvarez 2007-02-15 20:35:30 UTC
(In reply to comment #2)
> While I can understand adding this to the GUI from a usability standpoint, it
> also forces the question of why not permit a custom format string with as many
> (or as few) \n as desired.  Granted, there are the gconf keys format and
> custom_format, but they seem to be abandoned (or abused) as I have a 12-hr
> clock (not 24), and the default format string appears to be invalid as per the
> description (given the presence of a number of miscellaneous characters).

If you really feel like it, you can use the gconf key 
/apps/panel/applets/clock/prefs/custom_format, which lets you set an arbitrary strftime format string...
Comment 4 Mariano Suárez-Alvarez 2007-02-15 20:36:41 UTC
*** Bug 351733 has been marked as a duplicate of this bug. ***
Comment 5 Vincent Untz 2007-05-14 13:46:24 UTC
It works fine here. Do you still see the problem with a more recent version?
Comment 6 Erik Walthinsen 2007-05-14 19:24:23 UTC
Appears fixed in 2.18.1-1 as packaged in Debian sid.  Much better! ;-)
Comment 7 Vincent Untz 2007-05-14 19:51:43 UTC
Thanks!