Re: debuggind keypress event handling in the plasmoid

2014-03-26 Thread Thomas Lübking

On Dienstag, 25. März 2014 14:31:05 CEST, Marek Kochanowicz wrote:

entry field works but it is not quite functional yet. What bothers me right 
now, are segfaults triggered with any none alpha numeric key (for instance 
print-screen but also alt-gr).


http://wklej.org/id/1311595

i'm not sure what is wrong here. Should i not pass all keys to 
the klineedit 
(mFilterWidget)? Can anybody give me a tip? Debugging is hard :(


I'd bet on some recursion for the sendEvent, but w/o seeing the actual code or 
a backtrace, that's impossible to say.
Notice that a popup will grab the keyboard and receive all input events - 
events sent somewhere will likely show up in the popup as well.

Cheers,
Thomas


Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 


debuggind keypress event handling in the plasmoid

2014-03-25 Thread Marek Kochanowicz
hi,

I'm working on the fork of the plasma menubar. It will have two additional 
features:
1)menu will pop up under the mouse cursor
2)there will be a search area to quickly find seeked entry.

currently it looks like this: http://wstaw.org/m/2014/03/25/zrzut102.png

entry field works but it is not quite functional yet. What bothers me right 
now, are segfaults triggered with any none alpha numeric key (for instance 
print-screen but also alt-gr).

http://wklej.org/id/1311595

i'm not sure what is wrong here. Should i not pass all keys to the klineedit 
(mFilterWidget)? Can anybody give me a tip? Debugging is hard :( 


signature.asc
Description: This is a digitally signed message part.

 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe