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 580853 - Long and multiline comments makes gitg window too big
Long and multiline comments makes gitg window too big
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gui
git master
Other Linux
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
: 592316 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-04-30 09:05 UTC by Artyom Smirnov
Modified: 2010-05-29 11:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Artyom Smirnov 2009-04-30 09:05:17 UTC
Subject line in Details ignores newline symbols in text and don't allows shrink window horizontally.
Comment 1 jessevdk@gmail.com 2009-08-19 11:15:01 UTC
*** Bug 592316 has been marked as a duplicate of this bug. ***
Comment 2 Infinity Zero 2009-08-19 12:24:49 UTC
(Sorry for the dupe)

A simple fix is to add this:

<property name="wrap">True</property>

to the element

<object class="GtkLabel" id="label_subject">

in gitg-window.ui

However, this makes the field have a fixed width, about 240px. From reading various things on the internet, it seems that making it follow the parent element's width is quite hard. IMO this solution is better than the current one, but it does make messages that *can* fit into the space look weird.
Comment 3 Guilhèm Bonnefille 2009-10-09 21:07:45 UTC
An other solution: https://bugzilla.gnome.org/show_bug.cgi?id=577079
Comment 4 jessevdk@gmail.com 2010-05-29 11:33:09 UTC
For now I've applied a patch which ellipsizes the label, so it at least doesn't auto resize the window anymore. I'll see what we'll do when we reorganize the UI.