Bug 270243 - Cannot type accented characters in Find field
Summary: Cannot type accented characters in Find field
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: search (show other bugs)
Version: 4.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Bernhard Beschow
URL:
Keywords:
: 274691 283642 301975 302979 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-06 20:17 UTC by Nikos Platis
Modified: 2013-01-19 10:42 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Platis 2011-04-06 20:17:40 UTC
Version:           4.0 (using KDE 4.6.2) 
OS:                Linux

When I try to find a word that contains an accented greek vowel (e.g. ά), the accented vowel cannot be typed in the Find field

Reproducible: Always

Steps to Reproduce:
- Open kwrite, even with no document
- Hit Ctrl+f to open the Find field
- Try to type ά (using the greek keyboard, type ' and α. The accent is a dead key but when α is typed afterwards, the accented ά should appear).

Actual Results:  
Nothing appears, not even the non-accented letter α.


Just accidentally, I noticed that if, at any moment, I hit Ctrl+G (the GoTo field opens) and then Ctrl+F, then ά is entered correctly!
Comment 1 yar 2011-04-06 22:08:28 UTC
This bug can be reproduced with any accented character, not only Greek. For example <Compose>"o.
But there is workaround. If you click in document area and then back to search bar, all is ok.
I have read sources and tried to do this workaround right there, but I haven't succeed. This bug must be somewhere around KateSearchBar::enterIncrementalMode() and can be somehow related to focuses and focusproxy. It looks like this bug not even in Kate, but in Qt...
I've tried to cut minimal code, that will cause bug, but all was working, but this is probably because I didn't consider something.
Comment 2 Nikos Platis 2011-04-06 22:13:09 UTC
Why do you say that it may be in Qt and not in Kate specifically? Have you been able to find another instance of this?

Btw, I was having this in KDE 4.6.1 as well but I do not remember seeing it in (not can I get access to) older versions.
Comment 3 yar 2011-04-06 22:23:58 UTC
I don't know exactly what is the reason of this bug, I just read source, that is responsible for searchbar and tried to comment out some parts anything strange, that can cause so strange bug. I haven't seen this bug before, because I hardly ever use accented charaters.
Comment 4 yar 2011-04-06 22:31:24 UTC
>I was having this in KDE 4.6.1 as well but I do not remember seeing it in
(not can I get access to) older versions.

As I see, there is no related changes (part/search and part/view folders) in Kate git since December of 2010.
Comment 5 Dominik Haumann 2011-06-25 11:50:39 UTC
*** Bug 274691 has been marked as a duplicate of this bug. ***
Comment 6 Dominik Haumann 2011-06-25 11:52:31 UTC
Does it work, if you enable/disable 'Tools' > 'Automatic Spell Checking', as reported in bug #274691 ?
Comment 7 Nikos Platis 2011-06-25 13:39:27 UTC
(In reply to comment #6)
> Does it work, if you enable/disable 'Tools' > 'Automatic Spell Checking', as
> reported in bug #274691 ?

On my system, Automatic Spell Checking is disabled in kwrite. If I enable it -- and even if I disable it again -- nothing changes.

I just noticed that if I open almost any dialog (for example, File->Open) in kwrite AFTER I have made the searchbar visible, then it works fine.
Comment 8 Helder 2011-11-06 19:56:06 UTC
This bug is also happening on Kile Version 2.1.0, using KDE Development Platform 4.7.2, on Ubuntu 11.10.
Comment 9 Dimitrios Glentadakis 2012-03-28 05:53:27 UTC
*** Bug 283642 has been marked as a duplicate of this bug. ***
Comment 10 Ciro Santilli 2012-04-11 10:26:16 UTC
I cannot write accented chars on Krusader anywhere (renaming files for instance does not work either), while it works with Ububtu 11.10 default applications  so this would be a duplicate of Bug 174283. Can you type the accented chars in the rename?
Comment 11 Dimitrios Glentadakis 2012-04-11 16:48:18 UTC
(In reply to comment #10)
> Can you type the accented chars in the rename?

Me, yes i can type accented characters (Greek) in krename and krusader
Mageia 1 
Qt 4.7.4
Comment 12 Dominik Haumann 2012-07-08 11:06:51 UTC
*** Bug 302979 has been marked as a duplicate of this bug. ***
Comment 13 Dominik Haumann 2012-07-08 11:08:46 UTC
*** Bug 301975 has been marked as a duplicate of this bug. ***
Comment 14 Dominik Haumann 2012-07-08 11:11:07 UTC
Bug #301975 also mentions this problem in KNotes.

From bug #302979:
- example, type "día" by pressing "d + ´ + i + a". In the text editor this works, but in the search the result is "da".
- The issue appears only the first time the search box is used. That is, if I search any giberish, close the search box and search again, the acute vowels can be input.
Comment 15 Dominik Haumann 2012-07-08 11:14:05 UTC
Possible Qt issues:
- https://bugreports.qt-project.org/browse/QTBUG-25360
- https://bugreports.qt-project.org/browse/QTBUG-12197

Can you play around with the LANG environment variable and see if Kate behaves differently?
Comment 16 Christoph Cullmann 2012-10-24 14:07:13 UTC
Works for me and for the Qt issues, please follow up in the qt-project bugtracker.
Comment 17 Dimitrios Glentadakis 2012-10-24 16:09:35 UTC
It does nt work here:
qt4-common-4.8.2-1.3.mga2
Comment 18 Helder 2012-10-24 21:26:44 UTC
Still happening on Kate 3.9.2, Ubuntu 12.10, KDE 4.9.2..
Comment 19 Christoph Cullmann 2012-10-26 11:28:18 UTC
For me it works, please really follow up on this on qt-project bugtracker, we can't do a thing.
Comment 20 Dimitrios Glentadakis 2013-01-19 10:42:56 UTC
However, there is one application: Konqueror· where it is possible to type accented letters by the first try.