Reply to topic

Dolphin keycodes are send to stdout or stdin

Lachu
Registered Member
Posts
622
Karma
1
OS
Why keycodes pressed while renaming file in dolphin are send to stdout or stdin? I'm using OpenSuSE thumbleweed.


Lachu, proud to be a member of KDE forums since 2008-Nov.
luebking
Karma
0
Could you please elaborate, notably:

a) stdin or stdout - which is it?

b) And, in case, stdin of what? Dolphin??

I do not get output (not even debug output) on renaming files
c) does this affect only specific (remote?) filesystems?

d) Or did you wireshark the X11 connection? The X11 server sends the keycode to the client (via a local socket) - that's how X11 works, regardless of what happens with the keystrokes.
Lachu
Registered Member
Posts
622
Karma
1
OS
I have made mistake - not stdin, but stderr.

a)
v)
Today I have tested dolphin which this commands:
Code: Select all
dolphin 2> /dev/null &

and:
Code: Select all
dolphin > /dev/null &

In first case characters are not displayed in terminal, so it seems dolphin is sending keycodes into stderr.
c) not - only local filesystem
d) not


Lachu, proud to be a member of KDE forums since 2008-Nov.
luebking
Karma
0
sure it's dolphin? do you maybe use some input module (eg. fcitx or such)?
wolfi323
Registered Member
Posts
1128
Karma
11
OS
luebking wrote:sure it's dolphin? do you maybe use some input module (eg. fcitx or such)?

Hm, I can easily reproduce this here.
Just run dolphin in Konsole, and every keystroke when renaming files (in the local /home) is echoed there.

And no, I don't have fcitx, ibus, or some such installed.

It doesn't happen with the KF5 version btw...

Downgrading kdelibs4 (from 4.14.9 to 4.14.8 ) makes this phenomenon disappear, so it seems to be a "regression" in kdelibs 4.14.9.
Haven't tried the latest 4.14.10 yet though, but I don't see anything related in the changelog anyway (only translation updates).

I suspect it is caused by this change: (http://quickgit.kde.org/?p=kdelibs.git& ... xtedit.cpp)
Code: Select all
@@ -1047,6 +1066,7 @@
 bool KTextEdit::Private::overrideShortcut(const QKeyEvent* event)
 {
   const int key = event->key() | event->modifiers();
+  qDebug() << key;
 
   if ( KStandardShortcut::copy().contains( key ) ) {
     return true;
luebking
Karma
0
yupp - my kdelibs was still at 14.8 and the debug leftover (great to see even dfaure has to debug out things ;-) seems like a good candidate for the output (and affecting more than just dolphin...)

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], caz, Don B. Cilly, Google [Bot], kde-stephen, khatami, Majestic-12 [Bot], mossbliss, Sogou [Bot], Yahoo [Bot]