Bug 249930 - support for multi-monitor view [patch]
Summary: support for multi-monitor view [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-Presentation (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-02 19:35 UTC by Alexander Fieroch
Modified: 2016-07-16 05:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.5.0


Attachments
Set location of the slideshow widget to the active window monitor (2.41 KB, patch)
2011-12-23 18:34 UTC, Ludovic Pageaud
Details
Ken Burns Slideshow crash backtrace (7.01 KB, text/x-log)
2011-12-23 18:38 UTC, Ludovic Pageaud
Details
Crash report gwenview starting Ken Burns slideshow on secondary monitor (5.48 KB, text/plain)
2013-08-22 07:17 UTC, André
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Fieroch 2010-09-02 19:35:33 UTC
Version:           1.2.0
OS:                Linux

I'd like to show images on a second monitor like a TV connected through HDMI or DVI. I'm using my own digiKam filters for a set of images, that's why I want to show images with digiKam and not the complete directory with another viewer.

Starting digiKam on the second xserver like on the TV and starting a slideshow or the OpenGL viewer the images appear only on the first screen on my PC monitor and not on the second one. 

Reproducible: Always

Steps to Reproduce:
Try to start a slideshow/OpenGL-viewer on images using a second display.


Expected Results:  
It would be great to set a target display for slideshows or OpenGL viewer or at least to use that xserver that is used for starting digiKam.
Comment 1 caulier.gilles 2011-12-22 15:17:27 UTC
*** Bug 204688 has been marked as a duplicate of this bug. ***
Comment 2 caulier.gilles 2011-12-22 15:18:17 UTC
*** Bug 95592 has been marked as a duplicate of this bug. ***
Comment 3 Ludovic Pageaud 2011-12-23 18:34:24 UTC
Created attachment 67066 [details]
Set location of the slideshow widget to the active window monitor

I use xrandr on ubuntu 11.10 and also have slideshow always displayed on first monitor.

I propose this attached patch to have slideshow on digikam's monitor.
This allow to have the slideshow on the second monitor if digikam is displayed on it.

However on my configuration I have a crash with Ken Burns slideshow on second monitor (not on the first)
See my next comment.
Comment 4 Ludovic Pageaud 2011-12-23 18:38:14 UTC
Created attachment 67067 [details]
Ken Burns Slideshow crash backtrace

Here is the backtrace of Ken Burns crash on second monitor.

Removing the call to XRRConfigCurrentRate prevent the crash.
But, well, this function call should be of some use.
Comment 5 caulier.gilles 2011-12-23 20:52:53 UTC
Thanks Ludovic,

Can you patch also the simple digiKam slideshow part (it's not a kipi-plugin). Code is here :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/show/utilities/slideshow

Thanks in advance

About crash, it's reproducible also here. I think there is another bugreport about it.

Gilles Caulier
Comment 6 caulier.gilles 2011-12-23 21:05:28 UTC
Git commit 3a5f0bd85db37cc3099bb71bd0d9d53ab6b25203 by Gilles Caulier.
Committed on 23/12/2011 at 22:04.
Pushed by cgilles into branch 'master'.

apply patch #67066 from Ludovic Pageaud
BUGS: 249930

M  +2    -1    advancedslideshow/widgets/slideshow.cpp
M  +2    -1    advancedslideshow/widgets/slideshowgl.cpp
M  +2    -1    advancedslideshow/widgets/slideshowkb.cpp

http://commits.kde.org/kipi-plugins/3a5f0bd85db37cc3099bb71bd0d9d53ab6b25203
Comment 7 Hartmut 2011-12-24 10:51:15 UTC
Ludovic,

please be careful with the terms "first monitor" and "second monitor". 
If yout take the "main monitor", where everythig should appear if not 
otherwise declared for the "first monitor", the slideshow appears in my 
case on the second monitor. I think its a case of geometry and the terms 
"first" and "second" depend on wether your "second monitor" is placed 
right or left from the main monitor.

By the way: I propose we should be able to chose, which monitor ..

Merry Xmas to all of you,

Hartmut


Am 23.12.2011 19:34, schrieb Ludovic Pageaud:
> https://bugs.kde.org/show_bug.cgi?id=249930
>
>
>
>
>
> --- Comment #3 from Ludovic Pageaud<ludpg spec+kde gmail com>   2011-12-23 18:34:24 ---
> Created an attachment (id=67066)
>   -->  (http://bugs.kde.org/attachment.cgi?id=67066)
> Set location of the slideshow widget to the active window monitor
>
> I use xrandr on ubuntu 11.10 and also have slideshow always displayed on first
> monitor.
>
> I propose this attached patch to have slideshow on digikam's monitor.
> This allow to have the slideshow on the second monitor if digikam is displayed
> on it.
>
> However on my configuration I have a crash with Ken Burns slideshow on second
> monitor (not on the first)
> See my next comment.
>
Comment 8 André 2013-08-22 07:17:12 UTC
Created attachment 81847 [details]
Crash report gwenview starting Ken Burns slideshow on secondary monitor

If I want to start a advanced slideshow in the following dual monitor configuration:

Screen 0: minimum 320 x 200, current 3600 x 1200, maximum 8192 x 8192
LVDS1 connected primary 1680x1050+1920+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1680x1050      60.0*+   50.0  
   1400x1050      60.0  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
HDMI2 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1600x1200      60.0  
   1680x1050      59.9  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        60.0  

Then the Ken Burns Opengl slideshow plays fine on the primary LVDS1 monitor, but crashes on the HDMI2 secondary monitor. If I mirror both monitors, then the Ken Burns slideshow also plays fine. 

System info:

Arch Linux Kernel 3.10.7

> digikam -v
Qt: 4.8.5
KDE: 4.11.00
digikam: 3.3.0

> Gwenview: 4.11.0

> lspci 
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

> mesa-libgl 9.1.6