Bug 105198 - Two-screen presentation mode fails on Wayland
Summary: Two-screen presentation mode fails on Wayland
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.2.3.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-09 00:00 UTC by Jonathan Corbet
Modified: 2017-09-05 09:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Corbet 2017-01-09 00:00:45 UTC
Description:
When going into slideshow mode on Wayland (Fedora 25), only the upper left quarter of the second (projector) screen is drawn.

Steps to Reproduce:
1. Run under gnome/wayland
2. Plug in an external monitor / projector
3. Enter slide-show mode

Actual Results:  
The presenter's screen on the laptop is shown as always.  The external screen is only drawn in the upper left quadrant, showing 1/4 of the slides.



Expected Results:
Full slides displayed.

Of course, given the quality of my slides, audiences might prefer things the way they are now, but I'd still rather see the whole thing, myself.


Reproducible: Always

User Profile Reset: No

Additional Info:
Everything works fine again if I log in using the Xorg fallback rather than wayland.


User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Comment 1 Jonathan Corbet 2017-01-09 00:13:10 UTC
I forgot one (probably) important detail: the laptop has a HiDPI screen, while the projector, needless to say, does not.  The different scaling between the two screens may well play into what's going on here.
Comment 2 Caolán McNamara 2017-01-12 14:34:30 UTC
Can't replicate a similar problem via 

MUTTER_DEBUG_NUM_DUMMY_MONITORS=2 MUTTER_DEBUG_DUMMY_MONITOR_SCALES=2,1 mutter --wayland --nested
and
WAYLAND_DISPLAY=wayland-1 ./instdir/program/simpress

so presumably we need real hardware

caolanm->jcorbet: and was everything on the correct monitors, i.e. presentation on projector and presenter console on laptop screen ?
Comment 3 Caolán McNamara 2017-01-16 21:08:43 UTC
hmm, playing with an external hidpi monitor and internal lodpi monitor it works ok for me. I wonder...

what is reported in (gnome's) all settings->displays-> as the Sizes (in inches) and the resolutions of the two different displays ?
Comment 4 Jonathan Corbet 2017-01-16 21:15:47 UTC
Unfortunately, I'm in a different hemisphere than the monitor in question at the moment, so I probably can't answer that question until next week, sorry.  Thanks for looking into this.
Comment 5 QA Administrators 2017-07-27 12:06:27 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-08-30 19:31:41 UTC Comment hidden (obsolete)
Comment 7 Caolán McNamara 2017-08-31 08:14:16 UTC
FWIW I'm confident this all works ok now because I've now got a hidpi laptop and non-hidpi external monitor. With https://cgit.freedesktop.org/libreoffice/core/commit/?id=555e1ff4cc84682ea73f9976f8e3c6f1d0f22590 in place this scenario works.
Comment 8 Jonathan Corbet 2017-09-04 20:36:44 UTC
I finally got a chance to get back to this; I can confirm that the problem is *not* fixed.

About the previous request for data: the laptop display shows as 14", 2560x1440.  Secondary is 23", 1920x1080.  If there's anything else I can tell you, please let me know.

(This is with Fedora 26, libreoffice-impress-5.2.7.2-6.fc25.x86_64
Comment 9 Caolán McNamara 2017-09-05 09:21:37 UTC
"This is with Fedora 26, libreoffice-impress-5.2.7.2-6.fc25.x86_64" I presume you mean Fedora 25 ?

If its the bug I think it is then this is fixed here upstream in LibreOffice 5.4 and downstream in Fedora in Fedora 26 libreoffice-impress-5.3.6.1-3.fc26.x86_64