Bug 148899

Summary: Image Editor does not get the focus after clicking on an image
Product: [Applications] digikam Reporter: Johannes Jowereit <jowereit>
Component: ImageEditor-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.9.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.5
Sentry Crash Report:

Description Johannes Jowereit 2007-08-16 20:46:12 UTC
Version:           0.9.2 (using KDE KDE 3.5.7)
Installed from:    SuSE RPMs
OS:                Linux

When the Image Editor is already open and I click on an image in the DigiKam main window, the Image Editor window
displays the right image and is brought to the front, but does not get the focus.

When I create a window-specific rule setting the Focus Stealing Prevention (FSP) to "None", the window properly gets the
focus. However, even with FSP set to "Low", it does not work.

Since the default setting for FSP in KDE is "Normal", it will not work in a normal KDE environment.
Comment 1 Andi Clemens 2008-08-15 22:09:50 UTC
Gilles,

what about this one? Is it valid? Can we change this behavior in digiKam itself or is it a general KDE problem. Otherwise we could close it.
Comment 2 caulier.gilles 2008-08-19 11:20:16 UTC
Andi,

Here, image editor always take focus when it openned.

It's a specific linux box problem i think

Gilles Caulier
Comment 3 caulier.gilles 2008-12-05 22:17:39 UTC
I confirm. I cannot reproduce this problem on my computers...

Gilles Caulier
Comment 4 Andi Clemens 2008-12-05 22:24:36 UTC
Hmm for me it doesn't work, the editor window is never focused. But I don't know if it is digiKam's fault or KDE in general.

Andi
Comment 5 Anders Lund 2009-01-28 22:16:53 UTC
This is a long standing, and rather irritating issue. I tried turning the kwin "focus stealing prevention" feature off, but that does not help.

It it *not* working for me.

Did you try to setfocus() on the window explicitly?