Bug 376425 - Light table window not activated or brought to front
Summary: Light table window not activated or brought to front
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: LightTable-Workflow (show other bugs)
Version: 8.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-12 23:08 UTC by Bill Goodman
Modified: 2023-10-29 20:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Goodman 2017-02-12 23:08:39 UTC
In the thumbnails view, click the Light Table button to open the Light Table Window.

Switch back to the main DigiKam window containing the thumbnails view.

Click the Light Table button again. Nothing happens. It seems like a normal expectation would be for the Light Table window to be activated and brought to the front. This is especially a problem when the main window is maximized because the Light Table window is hidden behind and the Light Table button appears to do nothing.
Comment 1 Maik Qualmann 2017-02-13 20:21:47 UTC
Problem is here, work not under Windows:

KWindowSystem::unminimizeWindow(widget->winId())

Alternatively:

widget->show() work not for minimized window
widget->showNormal() last window size and position not korrekt
widget->showMaximized() window is always maximized

Maik
Comment 2 caulier.gilles 2018-08-29 05:02:21 UTC
Bill,

The Windows installer have been recompiled with last changes from source code
and is available here for testing :

https://files.kde.org/digikam/

Take a care : it's a beta release. Make a database backup before to test.

Problem still here ?

Gilles Caulier
Comment 3 caulier.gilles 2019-03-09 08:27:59 UTC
Bill, 

What's news about 6.1.0 pre-release installer for Windows available here :

https://files.kde.org/digikam/

Gilles Caulier
Comment 4 Bill Goodman 2019-03-09 22:58:23 UTC
Still broken in digiKam-6.1.0-git-20190308T103035-Win64.exe.
Comment 5 caulier.gilles 2020-08-01 22:06:44 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier
Comment 6 caulier.gilles 2023-04-21 14:42:16 UTC
@Bill

digiKam 8.0.0 is released. This file still valid ?

Gilles Caulier
Comment 7 Bill Goodman 2023-04-21 19:57:51 UTC
I don't know about 8.0.0. But it was still broken in 7.9.0.
Comment 8 caulier.gilles 2023-05-19 06:46:14 UTC
Tested on windows 7 with DK 8.1.0, and problem still here...
Comment 9 caulier.gilles 2023-10-15 12:52:55 UTC
@Bill Goodman,


This problem still reproducible with the new digiKam 8.2.0 pre-release Windows
installer available at usual place:

https://files.kde.org/digikam/

This new bundle is based on last Qt framework 5.15.11 and KDE framework 5.110.

Thanks in advance

Gilles Caulier
Comment 10 Bill Goodman 2023-10-15 22:38:59 UTC
No change. The Light table window still is not brought to the front to be visible.

Tested on Windows 11.
Comment 11 Bill Goodman 2023-10-15 23:07:44 UTC
I note that the Batch Queue Manager window has the same problem. It is not brought to the front when it is selected a second time.
Comment 12 caulier.gilles 2023-10-16 03:03:32 UTC
yes both BQM and LT share the same code to brought to the front when it is selected a second time.

Gilles Caulier
Comment 13 Maik Qualmann 2023-10-29 20:28:31 UTC
Git commit b140cbdf00d2920aec2fb7ddf18467e020a9f8dc by Maik Qualmann.
Committed on 29/10/2023 at 21:27.
Pushed by mqualmann into branch 'master'.

call raise() to move the window to the front
FIXED-IN: 8.2.0

M  +1    -1    NEWS
M  +1    -0    core/libs/widgets/mainview/dxmlguiwindow.cpp

https://invent.kde.org/graphics/digikam/-/commit/b140cbdf00d2920aec2fb7ddf18467e020a9f8dc