GNOME Bugzilla – Bug 501482
newline is rendered as hexbox in PangoLayout single-paragraph mode
Last modified: 2018-05-22 12:36:47 UTC
Please describe the problem: Platform: RHEL5.1(2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux); Gnome 2.16.1 Copy some text contains "enter" to some special text field witch does not support mulit lines, the "enter"(/n) will display as a unrecognized char Steps to reproduce: 1. Launch gEdit, and type a<enter>b.[It should be display in two lines] 2. Select all and press ctrl+c to copy it into clipboard 3. On the RHEL GNOME Panel, select "System"->"Preferences"->"Fonts", click "Sans" for "Application font" 4. On the pop up dialog, "Preview" is a text field which not support multi lines. Put focus into this field, and press "Ctrl+V" Actual results: a b display as a□b Expected results: not sure, but at least, should not be unrecongnized diaplay. Does this happen every time? yes. always Other information:
Created attachment 100168 [details] A screenshot to show this issue A screenshot to show this issue
Created attachment 100169 [details] A toolkit to make it easy. A toolkit to make it easy(with sourcefile).
Created attachment 100170 [details] A toolkit to make it easy. A toolkit to make it easy(with sourcefile).
Reassigning to GTK+. I am pretty sure that this is the way it is supposed to work. GtkEntry is not designed for multi line editing, in cases where this is desirable a GtkTextView should be used.
PangoLayout's single_paragraph_mode.
Reproduced on RHEL5.1. But on SLED10(SP1), GNOME version is a little lower than RHEL5.1, there is no such an issue. -- No unrecognized char displayed.
Relevant discussion in bug 485556.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/109.