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 597798 - Hidden text in TextView doesn't hide a line-feed/carriage return
Hidden text in TextView doesn't hide a line-feed/carriage return
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.16.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 611060 636285 640160 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-08 12:43 UTC by Neil
Modified: 2018-04-15 00:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
C source code, gui description, and test text file, zipped (2.97 KB, application/x-zip-compressed)
2009-10-08 12:43 UTC, Neil
Details

Description Neil 2009-10-08 12:43:19 UTC
Created attachment 145041 [details]
C source code, gui description, and test text file, zipped

Using a text tag to render a selection of text invisible fails if the text to
be hidden includes one or more line ends anywhere within the selection. This is
irrespective of wrap mode, including 'no wrap'.

Expected result: all the selected text will be hidden and the surrounding text
will be shown adjacent (with spaces as in the non-hidden text).

Actual result: a new line is inserted after the hidden text.

The .xml for the gui is developed with Glade 3.6.3; the OS is Ubuntu 9.04, up
to date on patches. The text is UTF-8.

I've included a minimum C source file, an XML file, and a text file
'raw2-xml.txt' for testing. Inserting a return anywhere between the <options>
and </options> tags in the text file will show the fault.
Comment 1 Sébastien Wilmet 2013-03-28 18:11:04 UTC
*** Bug 611060 has been marked as a duplicate of this bug. ***
Comment 2 Sébastien Wilmet 2013-03-28 18:19:53 UTC
*** Bug 636285 has been marked as a duplicate of this bug. ***
Comment 3 Sébastien Wilmet 2013-03-28 18:20:21 UTC
*** Bug 640160 has been marked as a duplicate of this bug. ***
Comment 4 Matthias Clasen 2018-02-10 05:05:16 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 5 Matthias Clasen 2018-04-15 00:24:50 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