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 553929 - Clock applet resizes itself when moving mouse about a city
Clock applet resizes itself when moving mouse about a city
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: clock
2.24.x
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 514361 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-09-26 12:23 UTC by Martin Jürgens
Modified: 2020-11-06 20:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
fix calendar window out of screen on window resize issue (475 bytes, patch)
2009-10-02 10:46 UTC, Florian Dorn
none Details | Review
second fix: Added hints to skip pager and taskbar. (678 bytes, patch)
2009-10-02 11:06 UTC, Florian Dorn
none Details | Review
bug demonstration video (en locale) (642.16 KB, video/ogg)
2009-10-20 11:43 UTC, Kamil Páral
  Details
bug demonstration video (cs locale) (726.87 KB, video/ogg)
2009-10-20 11:43 UTC, Kamil Páral
  Details

Description Martin Jürgens 2008-09-26 12:23:09 UTC
Please describe the problem:
The clock applet resized itself when moving the mouse about a city with a long date string (e.g. other day). Portions of the applet are not visible anymore then.

Steps to reproduce:
1. (For Germany with 1280x1024): Add Brisbane / Australia to the list
2. Move your mouse about the name of the city
3. 


Actual results:
The applet is streched and parts of it disappear

Expected results:
Shouldn't disappear and probably also shouldn't resize itself

Does this happen every time?
Yes, but depens on your timezone and the city you add.

Other information:
See Screenshots (Before / After)
Comment 1 tama 2008-11-02 00:13:23 UTC
Same here in Spanish.

It reads now:
"22:10 (sábado) ARST -3"

That's not my home city, so if I hover over it, a "Configurar" button appears which leads the panel to resize.
Comment 2 Eric Piel 2008-11-24 13:37:12 UTC
I see this problem as well. With long a label for the time (typically when it's a day before or a day after), the button to "Set" the time to this timezone stays on the right, resizing automatically the whole panel (which then goes out of the screen). Probably not so noticeable in English as "Set" is a short word, but in some other languages (like in Dutch), it is!

IMHO, the fix should consist in forcing the button to stay within the bounds of the panel, if necessary hiding a little bit the end of the time label.
Comment 3 Florian Dorn 2009-10-02 10:46:18 UTC
Created attachment 144578 [details] [review]
fix calendar window out of screen on window resize issue

setting the window type hint from GDK_WINDOW_TYPE_HINT_DOCK to GDK_WINDOW_TYPE_HINT_UTILITY fixes this issue.
Comment 4 Florian Dorn 2009-10-02 11:06:27 UTC
Created attachment 144580 [details] [review]
second fix: Added hints to skip pager and taskbar.
Comment 5 Kamil Páral 2009-10-20 11:43:32 UTC
Created attachment 145848 [details]
bug demonstration video (en locale)

I attach some bug demonstration videos, so maintainers can see what's going on.
Comment 6 Kamil Páral 2009-10-20 11:43:59 UTC
Created attachment 145849 [details]
bug demonstration video (cs locale)
Comment 7 Alexandre Franke 2010-08-14 17:41:37 UTC
This also happens with 2.26.3.
Comment 8 Alexandre Franke 2010-08-14 17:56:03 UTC
*** Bug 514361 has been marked as a duplicate of this bug. ***
Comment 9 André Klapper 2020-11-06 20:23:10 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.