Bug 423618 - Slideshow controls are off screen on smaller screen with dual screen setup
Summary: Slideshow controls are off screen on smaller screen with dual screen setup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SlideShow (show other bugs)
Version: 7.0.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 15:36 UTC by Jens
Modified: 2020-06-29 17:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2020-06-28 15:36:43 UTC
SUMMARY
see $SUBJECT.

STEPS TO REPRODUCE
1. Connect 2 monitors with different vertical resolution (eg. 1920x1080 + 2560x1440)
2. Start digikam
3. Start slideshow on *smaller* screen

OBSERVED RESULT
Controls for slideshow are off screen (the top pixel row of the buttons just barely shows, but this may be coincidence).

EXPECTED RESULT
Controls for slideshow should be on the screen.

SOFTWARE/OS VERSIONS: Linux KDE Neon + Digikam 7.0.0-rc

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-06-28 17:38:31 UTC
I cannot reproduce the problem. As a test, I have defined the monitor with 1920x1200 and a TV screen with 800x600. Control elements are always visible. Your 2560x1440 resolution is closer to 4K. Did you set a scaling factor? Is the image of the slideshow correct or is it also cropped?

Maik
Comment 2 Jens 2020-06-28 19:09:44 UTC
The images are not cropped. Just the buttons.

I just played a bit with the screen config and it seems that this only happens if the screens are next to each other, the primary screen has the smaller (!) resolution of both, and the bottom (!) of both screens is aligned (no the top). 

If I arrange the screens to have the top aligned, Digikam's display is correct. Also with single screen config, in any case it works fine.
Comment 3 Maik Qualmann 2020-06-28 21:12:43 UTC
Yes, with the arrangement on the bottom edges, I can reproduce it too.

Maik
Comment 4 Maik Qualmann 2020-06-29 17:03:06 UTC
Git commit 2e1c2385af8a3f9918060a13839b448ac72d2331 by Maik Qualmann.
Committed on 29/06/2020 at 16:59.
Pushed by mqualmann into branch 'master'.

fix slideshow OSD position depending on screen geometry
Related: bug 422258
FIXED-IN: 7.0.0

M  +3    -1    NEWS
M  +5    -8    core/dplugins/generic/view/slideshow/widgets/slideosd.cpp
M  +2    -17   core/dplugins/generic/view/slideshow/widgets/slideproperties.cpp
M  +1    -3    core/dplugins/generic/view/slideshow/widgets/slideproperties.h

https://invent.kde.org/graphics/digikam/commit/2e1c2385af8a3f9918060a13839b448ac72d2331