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 501482 - newline is rendered as hexbox in PangoLayout single-paragraph mode
newline is rendered as hexbox in PangoLayout single-paragraph mode
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2007-12-04 11:00 UTC by Sun Yue
Modified: 2018-05-22 12:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
A screenshot to show this issue (64.16 KB, image/x-png)
2007-12-04 11:11 UTC, Sun Yue
Details
A toolkit to make it easy. (4.60 KB, application/x-zip-compressed)
2007-12-04 11:13 UTC, Sun Yue
Details
A toolkit to make it easy. (4.60 KB, application/x-zip-compressed)
2007-12-04 11:13 UTC, Sun Yue
Details

Description Sun Yue 2007-12-04 11:00:20 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:
Comment 1 Sun Yue 2007-12-04 11:11:39 UTC
Created attachment 100168 [details]
A screenshot to show this issue

A screenshot to show this issue
Comment 2 Sun Yue 2007-12-04 11:13:37 UTC
Created attachment 100169 [details]
A toolkit to make it easy.

A toolkit to make it easy(with sourcefile).
Comment 3 Sun Yue 2007-12-04 11:13:37 UTC
Created attachment 100170 [details]
A toolkit to make it easy.

A toolkit to make it easy(with sourcefile).
Comment 4 Benjamin Berg 2007-12-05 12:08:59 UTC
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.
Comment 5 Behdad Esfahbod 2007-12-05 12:30:03 UTC
PangoLayout's single_paragraph_mode.
Comment 6 Sun Yue 2007-12-05 15:43:45 UTC
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.
Comment 7 Behdad Esfahbod 2009-11-24 00:00:29 UTC
Relevant discussion in bug 485556.
Comment 8 GNOME Infrastructure Team 2018-05-22 12:36:47 UTC
-- 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.