[Digikam-devel] Re: face detection problem.
Marcel Wiesweg
marcel.wiesweg at gmx.de
Wed Mar 30 21:26:16 BST 2011
> The first problem is simple : Run face detection, let's it process
> some image and let face detection process dialog. Close lead digiKam
> lead windows. face detection process dialog still on screen and
> digiKam process is locked. Lead windows is closed, but not dialog.
And you cannot press the cancel button in the dialog?
That is a Mac-only problem?
>
> The second problem come from GUI. Under mac, i use macintosh Qt style.
> I switched color theme to "Desert" to show more details.
> In Face detection icon view item, move mouse over thumbnail, and look
> like identification of face overlay is broken :
>
> http://www.flickr.com/photos/digikam/5572496858/sizes/o/in/photostream/
>
> If i force Qt style to windows (digikam --style windows), overlay
> sound like better :
>
> http://www.flickr.com/photos/digikam/5572507238/sizes/o/in/photostream/
>
> It's a widget margin problem set by Qt style ?
Yes, the widgets are styled with style sheets, which are interpreted by the
style. Apparently, this does not work on Mac - I assume Qt uses some native
library there which is not as flexible as the styles for Linux.
The stylesheet is set in utilities/facedetection/assignnamewidget.cpp, line
470. For debugging, uncomment line 106 of digikam/items/assignnameoverlay.cpp,
then you can play with the stylesheet and immediately apply it when you press
ok. It's the only way to develop style sheets, the documentation is not
suitable to know if something works or not.
Marcel
More information about the Digikam-devel
mailing list