! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
date string overflows narrow vertical panel


Description Martin Pitt 2010-10-19 20:05:11 CEST
Created attachment 3149 

If you select the "time and date" format and then switch to a vertical panel, the date gets cropped (see screenshot). The "proper" fix is for the user to change the plugin configuration to "time only" or to widen the panel so that the date string will fit.

However, in a customer project of ours we had the request to make vertical panels "just work" with any size, without the need to reconfigure the plugin.

I wrote a patch which hides the date whenever there is too little space to display it. Arguably this could be solved in different manners, like automatically changing the layout configuration to "time only", but then you would have to manually set it back on reconfiguring the panel, but that's how we wanted to have it.

Attaching the patch for the record and for posterity. Please feel free to just close this if you don't want this and want to keep the current behaviour.


Comment 1 Martin Pitt 2010-10-19 20:08:12 CEST
Created attachment 3150 
Comment 2 Landry Breuil editbugs 2014-11-23 21:44:27 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 3 Git Bot editbugs 2020-05-23 01:20:58 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-datetime-plugin/-/issues/2.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #6739

Reported by:
Martin Pitt
Reported on: 2010-10-19
Last modified on: 2020-05-23


Xfce-Goodies Maintainers
CC List:
0 users




screenshot (2.18 KB, image/png)
2010-10-19 20:05 CEST , Martin Pitt
no flags
patch (2.27 KB, patch)
2010-10-19 20:08 CEST , Martin Pitt
no flags

Additional information