[Digikam-devel] Re: Strange problem with event filters

Gilles Caulier caulier.gilles at gmail.com
Thu Jan 27 16:49:56 GMT 2011


In this sidebar, there is an event filter in Caption and tags :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp#662

... to handle keyboard.

Do you have any debug messages from Qt on the console?

Gilles

2011/1/27 Michael G. Hansen <mike at mghansen.de>:
> Hi,
>
> in libkmap, I use event filters to catch clicks onto items on the Marble
> map. This works fine, except for the image properties sidebar in digikam
> and in the image editor - here the event filters do not work every time
> I launch digikam, most of the time they don't. When they do not work, I
> can not catch mouse press events, and Marble handles the mouse click.
> Any ideas? Is there any special event filtering in other widgets going
> on in these two areas? It looks like the behavior depends on some order
> of initialization.
>
> This bug is not actually new, because I also observe this under digikam
> 1.2 (both 1.2 and trunk are under KDE 4.5.3 from debian).
>
> To see the bug, set the mouse mode to "Zoom into a group". While this
> works in the "Map searches", it does not work in the image properties.
>
> The code for the event filtering is in the eventFilters function here:
>
> http://websvn.kde.org/branches/extragear/graphics/digikam/extra/libkmap/libkmap/backend-marble.cpp?view=markup
>
> Michael
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>



More information about the Digikam-devel mailing list