Bug 408147 - From LightTable, "Open" picture does not open the right one
Summary: From LightTable, "Open" picture does not open the right one
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: LightTable-Workflow (show other bugs)
Version: 6.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-31 13:24 UTC by Alexandre Belz
Modified: 2022-02-01 09:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0


Attachments
LightTable. Left picture selected. (1.28 MB, image/png)
2019-05-31 13:24 UTC, Alexandre Belz
Details
Editor called by the LightTable. (1.22 MB, image/png)
2019-05-31 13:25 UTC, Alexandre Belz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belz 2019-05-31 13:24:45 UTC
Created attachment 120431 [details]
LightTable. Left picture selected.

SUMMARY
IF is select the picture on the left, and do right click, Open, it is NOT the picture opened in the Editor. The right one is opened instead.

STEPS TO REPRODUCE
1. Open 2 pictures in the LightTable, compare them
2. select the picture on the LEFT
3. do right click, Open

OBSERVED RESULT
The picture located on the right in the LightTable is opened.

EXPECTED RESULT
The picture located on the LEFT in the LightTable should have been opened.

SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Alexandre Belz 2019-05-31 13:25:52 UTC
Created attachment 120432 [details]
Editor called by the LightTable.

We can see it is the right picture that is opened, instead of the LEFT one.
Comment 2 Alexandre Belz 2019-05-31 13:33:38 UTC
Same thing for the picture "Properties" : although I select the LEFT picture, the data displayed in the "Properties" windows ar the ones of the RIGHT picture, while it should follow my selection.
Comment 3 Maik Qualmann 2019-05-31 13:37:35 UTC
Yes, there is something wrong. In fact, it opens the image selected in Album View. I'll watch it tonight

Maik
Comment 4 Maik Qualmann 2019-05-31 13:44:54 UTC
The properties are correct. The properties for the left image are in the left sidebar, for the right image in the right sidebar.

Maik
Comment 5 Maik Qualmann 2019-05-31 17:55:03 UTC
Git commit caff86818650cd38f35fbcc5783e607225c82728 by Maik Qualmann.
Committed on 31/05/2019 at 17:54.
Pushed by mqualmann into branch 'master'.

fix open from light table and remove navigation actions
FIXED-IN: 6.2.0

M  +2    -1    NEWS
M  +81   -30   core/app/items/utils/contextmenuhelper.cpp
M  +3    -1    core/app/items/utils/contextmenuhelper.h
M  +4    -4    core/app/items/utils/itemviewutilities.cpp
M  +1    -1    core/app/views/preview/itempreviewview.cpp

https://invent.kde.org/kde/digikam/commit/caff86818650cd38f35fbcc5783e607225c82728
Comment 6 Alexandre Belz 2019-05-31 18:03:11 UTC
Thank you Maik for the correction.
(And i confirm that the properties and correct indeed)