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 623344 - Search incorrectly handles input
Search incorrectly handles input
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: ClutterText
git master
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2010-07-02 08:03 UTC by Patryk Zawadzki
Modified: 2012-09-09 21:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
text: Don't accept new line characters in single line mode (1.00 KB, patch)
2012-09-09 19:00 UTC, Rui Matos
committed Details | Review

Description Patryk Zawadzki 2010-07-02 08:03:02 UTC
While looking for a way to launch a new application window instead of activating an already running instance (is there one btw?), I've found that pressing alt+enter and shift+enter let's you type a break character.

That seems weird. Doesn't shell use the GTK+ input methods (and if not, shouldn't it)?
Comment 1 Dan Winship 2010-07-02 13:20:23 UTC
(In reply to comment #0)
> While looking for a way to launch a new application window instead of
> activating an already running instance (is there one btw?)

Right click -> Open New Window
Comment 2 Patryk Zawadzki 2010-07-02 13:25:37 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > While looking for a way to launch a new application window instead of
> > activating an already running instance (is there one btw?)
> 
> Right click -> Open New Window

I obviously meant the keyboard :)
Comment 3 Patryk Zawadzki 2011-06-06 13:20:33 UTC
This is still broken in 3.0.x. Pressing alt+enter will give you a break character. It's displayed as a solid block but you can copy/paste it somewhere else to confirm that it's indeed a break.
Comment 4 Mathieu Bridon 2012-09-08 09:53:56 UTC
I can't reproduce that with GNOME Shell 3.5.91
Comment 5 Rui Matos 2012-09-09 18:59:37 UTC
I can reproduce this even on clutter's test-text-field. Patch coming.
Comment 6 Rui Matos 2012-09-09 19:00:15 UTC
Created attachment 223859 [details] [review]
text: Don't accept new line characters in single line mode

Modified Return key presses don't trigger ::activate so we would end
up adding an unprintable character to a single paragraph mode pango
layout which renders it as a box.
Comment 7 Emmanuele Bassi (:ebassi) 2012-09-09 21:28:13 UTC
Review of attachment 223859 [details] [review]:

looks okay
Comment 8 Rui Matos 2012-09-09 21:52:37 UTC
Attachment 223859 [details] pushed as ea50df6 - text: Don't accept new line characters in single line mode