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 659112 - Long event titles stretch the agenda uncontrollably
Long event titles stretch the agenda uncontrollably
Status: RESOLVED DUPLICATE of bug 701231
Product: gnome-shell
Classification: Core
Component: calendar
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-09-15 01:52 UTC by Dylan McCall
Modified: 2013-07-11 15:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing the calendar stretched unpleasantly by a long event summary (127.17 KB, image/png)
2011-09-15 01:52 UTC, Dylan McCall
  Details
stretching off the left (461.25 KB, image/png)
2012-07-01 15:24 UTC, Paul Wise
  Details
calendar: Prevent popup width expanding indefinitely (1.01 KB, patch)
2013-07-11 15:04 UTC, Chris Cummins
none Details | Review

Description Dylan McCall 2011-09-15 01:52:33 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.
Comment 1 Dan Winship 2011-09-15 11:08:55 UTC
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
Comment 2 Paul Wise 2012-07-01 15:24:21 UTC
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.
Comment 3 Chris Cummins 2013-07-11 15:04:59 UTC
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.
Comment 4 Florian Müllner 2013-07-11 15:22:00 UTC
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 ***