GNOME Bugzilla – Bug 659112
Long event titles stretch the agenda uncontrollably
Last modified: 2013-07-11 15:22:00 UTC
Created attachment 196574 [details] Screenshot showing the calendar stretched unpleasantly by a long event summary The calendar popup shows the full summary for an event, regardless of how long that summary is. This results in the calendar exceeding the width of the screen for some users, particularly on smaller tablets and netbooks. Instead, the agenda should have a set maximum width and each event summary should either be wrapped or ellipsized to control its width. I'm attaching a screenshot of this issue, as observed with Gnome Shell 3.1.90.1 in current Ubuntu 11.10.
this is a side effect of the workaround for bug 645693; there used to be a max width, but it didn't take the different length of translations into account
Created attachment 217773 [details] stretching off the left I have the same issue with extremely long titles, but the shell calendar display goes off-screen as a result. I think it would be best to auto-crop the titles (with mouseover popup) so that the calendar display can at least fit on the screen.
Created attachment 248932 [details] [review] calendar: Prevent popup width expanding indefinitely This fixes the problem by enforcing a maximum width for the calendar area. Calendar entries which are wider than this get ellipsized.
Thanks for the patch! However the issue is already fixed in master (using a slightly different max-width), so closing. *** This bug has been marked as a duplicate of bug 701231 ***