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 709977 - Window grows horizontally over time
Window grows horizontally over time
Status: RESOLVED FIXED
Product: polari
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Polari maintainers
Polari maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-12 10:28 UTC by Florian Müllner
Modified: 2013-10-14 17:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
chatView: Add hack to force TextView to wrap rather than grow (2.04 KB, patch)
2013-10-12 10:28 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2013-10-12 10:28:46 UTC
This is particularly annoying when the minimum size grows beyond the maximized window size and the window is unmaximized automatically.
I'll need to keep testing this for a bit, but this hack looks like it might just work ...
Comment 1 Florian Müllner 2013-10-12 10:28:48 UTC
Created attachment 257096 [details] [review]
chatView: Add hack to force TextView to wrap rather than grow

GtkTextView's horizontal size request will grow over time when
added to a GtkScrolledWindow with horizontal scrolling disabled,
even when the TextView is set up to wrap lines.
As a workaround, subclass GtkTextView to overwrite its size request
with a constant width to force the text to wrap around.
Comment 2 Florian Müllner 2013-10-14 17:58:21 UTC
Attachment 257096 [details] pushed as 65ce0de - chatView: Add hack to force TextView to wrap rather than grow