Bug 183489

Summary: Light Table steels focus
Product: [Applications] digikam Reporter: Michael <m.mickey>
Component: LightTable-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: marcel.wiesweg
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Michael 2009-02-06 23:56:46 UTC
Version:           0.10 latest svn (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

Hi
I have images in full view in digikam and want ot add them to the light table via the context menue, but each time I add a picture the light table comes in front but doesn't get the focus of the taskbar, so I have to double click the digikam button in the taskbar to get it back which is annoying... I think light table should just appear in background so that you can switch when you have added your images... at least it should get the focus in the taskbar... 
Another small issue, the light table has no special icon on my system, so just an empty system icon...
greets mike
Comment 1 Marcel Wiesweg 2009-02-07 15:34:57 UTC
SVN commit 922704 by mwiesweg:

Use KWindowSystem calls to prevent any problems with window focus

CCBUG: 183489

 M  +12 -7     albumiconview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=922704
Comment 2 Marcel Wiesweg 2009-02-07 15:35:40 UTC
SVN commit 922709 by mwiesweg:

If light table is empty, use "Place onto Light Table", if there are already pictures added,
use "Add to Light Table". "Add to" makes no sense for empty table.

CCBUG: 183489

 M  +11 -2     albumiconview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=922709
Comment 3 Marcel Wiesweg 2009-02-07 16:41:35 UTC
- using KWindowSystem should ensure that window is properly activated, even where pure Qt calls fail
- the icon is set properly here, it's the main application's icon. If you mean the icon in the menus to invoke the lighttable, than it's a packaging problem.
- I have not removed the window activation after "Add to". I expect the normal workflow is that you want to view the pictures on the light table immediately after you added them. It can be unexpected that "nothing" happens after the "add to" action.