Bug 127529 - Vertical text boxes do not present when playing slide show (gtk3)
Summary: Vertical text boxes do not present when playing slide show (gtk3)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.3 all versions
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:6.4.0 target:6.3.3
Keywords:
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2019-09-12 20:31 UTC by Cheng-Chia Tseng
Modified: 2019-10-08 09:56 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test presentaiton file for vertical boxes of English text and Chinese text (12.28 KB, application/vnd.oasis.opendocument.presentation)
2019-09-12 20:31 UTC, Cheng-Chia Tseng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cheng-Chia Tseng 2019-09-12 20:31:51 UTC
Created attachment 154144 [details]
Test presentaiton file for vertical boxes of English text and Chinese text

Impress does not show vertical boxes when playing the slide show by default. However, if you disable the hardware acceleration, it works well.

Reproducible: always

How to reproduce: 
1. enable Tools > Options > Language Settings > Languages > Default Languages for documents > Asian checkbox
2. draw a vertical box via the button in Drawing toolbar (if you donʼt see it, right click on the tool bar to access it)
3. type English or Chinese text
4. play the slide show (simply press F5)

Expected result:
The vertical boxes (both English and Chinese) should display well when playing the slide show

Actual result:
The vertical boxes are missing in the slide show

Workaround:
1. disable Tools > Options > LibreOffice > View > Graphics Output > Use hardware acceleration
2. replay the slide show (F5) and everything is fine

Attached the test odp presentation file.
Comment 1 Regina Henschel 2019-09-12 22:12:17 UTC
I cannot confirm it. It works for me with Version: 6.2.5.2 (x64)
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded

and with version Version: 6.4.0.0.alpha0+ (x64)
Build ID: f76dbe5dc581845996a8bd5f5109c5e2ff5a27b0
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (en_US); UI-Language: en-US
Calc: CL

Please specify your operating system.

Pleas tell us the setting for OpenGL. That is in Tools > Options > LibreOffice > View.
Comment 2 Cheng-Chia Tseng 2019-09-13 14:01:15 UTC
Sorry not specifying the platform. I use fedora GNU/Linux system.
Comment 3 Regina Henschel 2019-09-13 18:56:10 UTC
I work only on Windows. So someone else need to try it on Linux.
Comment 4 Bo-an Chen (Brian, Fat Tabby Cat) 2019-09-17 15:30:07 UTC
It seems get some trouble displaying vertical text in LibreOffice hardware acceleration enabled.

I have made a troubleshooting video (while in Chinese interface)(url below):
https://peertube.slat.org/videos/watch/aa08adb1-329e-423f-9638-5f4443e18117

by the way

My Ubuntu 18.04 LTS runtime environment showed below, hoping these data is enough for you:

fattabby@fattabby-P15FV2:~$ uname -a
Linux fattabby-P15FV2 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
fattabby@fattabby-P15FV2:~$ lsb_release -a
No LSB modules are available.
Distributor ID:  Ubuntu
Description:  Ubuntu 18.04.3 LTS
Release:  18.04
Codename:  bionic
fattabby@fattabby-P15FV2:~$ uname -a
Linux fattabby-P15FV2 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Comment 5 Regina Henschel 2019-10-02 20:32:29 UTC
I see your problem in the video. It might be a problem with the driver of the graphic card.
Comment 6 Xisco Faulí 2019-10-03 12:14:00 UTC
Reproduced in

Version: 6.4.0.0.alpha0+
Build ID: c9336bfb6bbf6d73d3f23c124262ade30133448d
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 7 Xisco Faulí 2019-10-03 12:14:28 UTC
not reproduced in

Versión: 6.3.1.2 (x86)
Id. de compilación: b79626edf0065ac373bd1df5c28bd630b4424273
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES
Calc: threaded

thus, only linux
Comment 8 Xisco Faulí 2019-10-03 12:15:21 UTC
it works fine in gen and gtk2...
Comment 9 Xisco Faulí 2019-10-03 12:16:45 UTC
Also reproduced in

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

( my oldest gtk3 version )
Comment 10 Xisco Faulí 2019-10-03 12:17:14 UTC
@Caolán, I thought you might be interested in this issue...
Comment 11 Caolán McNamara 2019-10-03 15:15:02 UTC
hmm, looks like we create a VirtualDevice to draw the vertical text to. But it looks like we draw to a buffer while the intent is that VirtualDevice points to the real final surface, i.e. using a VirtualDevice as a non-VirtualDevice which is a real pain
Comment 12 Commit Notification 2019-10-04 18:39:08 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/66df5e5bb0fc19c28c99592b562be8778438057c

Related: tdf#127529 make it harder to misunderstand this VirtualDevice ctor

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 13 Commit Notification 2019-10-04 18:52:29 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/6e2a7571e8ee4960f54610ba790394202c4d7aed

tdf#127529 vertical text not drawn in slideshow canvas

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 14 Caolán McNamara 2019-10-04 18:53:26 UTC
fixed in master, backport to 6-3 in gerrit
Comment 15 Commit Notification 2019-10-08 09:56:54 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-6-3":

https://git.libreoffice.org/core/commit/cc03bfe99271f33a38b50778c078f66497bf11f5

tdf#127529 vertical text not drawn in slideshow canvas

It will be available in 6.3.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.