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 172470 - GtkTextView wrapping faulty in certain GtkScrolledWindow configuration
GtkTextView wrapping faulty in certain GtkScrolledWindow configuration
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.4.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
: 688472 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-02 22:14 UTC by Stephen Bach
Modified: 2018-04-15 00:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase.c (782 bytes, text/plain)
2005-04-02 22:16 UTC, Stephen Bach
Details

Description Stephen Bach 2005-04-02 22:14:08 UTC
Please describe the problem:
If a GtkTextView is placed inside a GtkScrolledWindow and set to wrap (in any
mode) and the scrolled window has its horizontal adjustment policy set to
GTK_POLICY_NEVER, the text view will grow the window instead of wrap when text
is typed.

If the horizontal adjustment policy is GTK_POLICY_AUTOMATIC, the text view
_will_ wrap, and the horizontal scrollbar never appears.

Note that if the text view is packed as the single child of a toplevel GtkWindow
and is set to wrap, it will wrap (and the window doesn't grow) -- therefore, the
scrolled window behaviour seems to be, at best, inconsistent with other widget
behaviour.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Stephen Bach 2005-04-02 22:16:30 UTC
Created attachment 39606 [details]
testcase.c

Short testcase
Comment 2 Sébastien Wilmet 2014-04-02 22:29:14 UTC
*** Bug 688472 has been marked as a duplicate of this bug. ***
Comment 3 Matthias Clasen 2018-02-10 05:09:42 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 4 Matthias Clasen 2018-04-15 00:35:48 UTC
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla.

If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab:

https://gitlab.gnome.org/GNOME/gtk/issues/new