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 319149 - Clock looks weird when time/date gets shorter
Clock looks weird when time/date gets shorter
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: clock
2.12.x
Other Linux
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 341236 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-18 09:17 UTC by Martijn van de Streek
Modified: 2020-11-06 20:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Pre-click screenshot (3.28 KB, image/png)
2006-03-14 14:13 UTC, Martijn van de Streek
Details
Post-click screenshot (4.54 KB, image/png)
2006-03-14 14:14 UTC, Martijn van de Streek
Details
Better post-click screenshot (4.61 KB, image/png)
2006-03-14 14:17 UTC, Martijn van de Streek
Details
post-click on Gutsy is worse than before. (9.27 KB, image/png)
2007-10-01 08:28 UTC, Olivier Cortes
Details
Clock applet with mouse-over on Intrepid as of 2008-09-01, showing unused space on the left. (10.47 KB, image/png)
2008-09-01 06:50 UTC, Olivier Cortes
Details
Screenshot - day changed (4.00 KB, image/png)
2010-05-24 22:30 UTC, Mateusz Barucha
Details

Description Martijn van de Streek 2005-10-18 09:17:40 UTC
Distribution/Version: SuSE 10, Ubuntu Breezy

When I let my gnome session run for a long time, the clock starts to look weird:
if the date gets shorter (11:11 in the morning, on the 1st of the month, for
example), there's a lot of extra whitespace next to it.

This whitespace clears when I click the clock.

It does get wider as needed (around 20:00 on the 20th, for example, one of the
"widest points" :))
Comment 1 Vincent Untz 2005-10-22 12:09:36 UTC
Hrm... Screenshots would help to understand the problem :-)
Comment 2 Martijn van de Streek 2006-03-14 14:13:32 UTC
Created attachment 61225 [details]
Pre-click screenshot
Comment 3 Martijn van de Streek 2006-03-14 14:14:08 UTC
Created attachment 61226 [details]
Post-click screenshot
Comment 4 Martijn van de Streek 2006-03-14 14:15:10 UTC
Note, the second screenshot is cropped a bit too far on the right side. The button looks normal/un-chopped.
Comment 5 Martijn van de Streek 2006-03-14 14:17:31 UTC
Created attachment 61227 [details]
Better post-click screenshot
Comment 6 Daniel Holbach 2006-09-29 13:44:12 UTC
*** Bug 341236 has been marked as a duplicate of this bug. ***
Comment 7 Mariano Suárez-Alvarez 2007-02-15 20:43:32 UTC
The clock does not request smaller sizes when the text grows less wide. This is so that the clock does not resize every second when using a proportional font.
When some events take place (for example, when the applet is clicked) then it rerequests its size.

I cannot see an alternative that does not leave the applet resizing itself every second...
Comment 8 Mike Fenton 2007-02-28 15:02:33 UTC
If you add support for pango style tags for the text (center would be an obvious default) it would fix this issue.
Comment 9 Olivier Cortes 2007-10-01 08:28:54 UTC
Created attachment 96449 [details]
post-click on Gutsy is worse than before.

Here on Ubuntu Gutsy beta, the click don't even resolve the problem. The clock continues slowly to eat pixels at times passes by (my machine is on everytime, and on S3 sleep when i don't use it ; the panel nearly never starts again).
Comment 10 Mike Fenton 2008-02-29 01:46:09 UTC
This bug has been confirmed here for the past three years.

The only way you can temporarily fix it is to drag the panel to some other area of the screen.

If you enable the date as well as time, this bug becomes apparent within a few hours.

Now it looks like developers are putting weather and temperature into the display area which will make this bug more obvious.
Comment 11 Olivier Cortes 2008-09-01 06:49:24 UTC
Hi,

this bug is still occuring on latest Ubuntu Intrepid (gnome panel version 1:2.23.90.1-0ubuntu1) (see attachment).
Comment 12 Olivier Cortes 2008-09-01 06:50:31 UTC
Created attachment 117743 [details]
Clock applet with mouse-over on Intrepid as of 2008-09-01, showing unused space on the left.
Comment 13 Mateusz Barucha 2010-05-24 22:30:06 UTC
Created attachment 161900 [details]
Screenshot - day changed

(In reply to comment #7)
> I cannot see an alternative that does not leave the applet resizing itself
> every second...

Could it then resize on 00:00?

Attachment shows how it looks after change from the long "poniedziałek" (Monday) to short "wtorek" (Tuesday). The long gap in the right was not present before.
Comment 14 André Klapper 2020-11-06 20:26:33 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/

Thank you for reporting this issue and we are sorry it could not be fixed.