Bug 94917 - Rotated / vertical text does not render - with openGL activated
Summary: Rotated / vertical text does not render - with openGL activated
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: All Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 94533 94928 94963 95672 96057 96058 99836 (view as bug list)
Depends on:
Blocks: VCL-OpenGL
  Show dependency treegraph
 
Reported: 2015-10-09 15:44 UTC by David Lynch
Modified: 2017-05-05 08:23 UTC (History)
18 users (show)

See Also:
Crash report or crash signature:


Attachments
File showing bug. (7.12 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-10-09 18:13 UTC, David Lynch
Details
image showing the result - proper - on 32 bits Ubuntu in 5.0.3.1 (53.53 KB, image/png)
2015-10-09 18:39 UTC, Cor Nouws
Details
This is what I see (20.61 KB, image/jpeg)
2015-10-09 19:43 UTC, David Lynch
Details
What I see. (10.56 KB, image/png)
2015-10-09 21:52 UTC, m_a_riosv
Details
Screen dialogs appear slightly corrupted. (34.92 KB, image/jpeg)
2015-10-10 16:47 UTC, David Lynch
Details
Corrupt dialog under 5.0.2.2 (31.25 KB, image/jpeg)
2015-10-10 16:51 UTC, David Lynch
Details
User profile causing the problem (1.66 MB, application/xml)
2015-10-11 11:15 UTC, David Lynch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Lynch 2015-10-09 15:44:55 UTC
Enter text in cell. Format Cells -> Alignment -> Text orientation set to 90 degrees.

The cell shows a single horizontal line, not the complete text.

No problem in 5.0.1.

Version: 5.0.2.2
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe-GL
Locale: en-GB (en_GB)

Windows 10
Comment 1 Cor Nouws 2015-10-09 16:28:50 UTC
Hi David,

thanks for reporting.
I tried in 5.0.2.2 and 5.0.3.1 on Ubuntu 32 bits.
Works fine...

Can you post your test file please?

thanks,
Cor
Comment 2 David Lynch 2015-10-09 18:13:15 UTC
Created attachment 119464 [details]
File showing bug.

A1 is horizontal text, B1 is vertical. B1 displays as a single horizontal line.
Comment 3 Cor Nouws 2015-10-09 18:39:08 UTC
Created attachment 119465 [details]
image showing the result - proper - on 32 bits Ubuntu in 5.0.3.1

Thanks David.
The file renders OK on my system.
Comment 4 Cor Nouws 2015-10-09 18:40:20 UTC
Can you look at the settings for OpenGL please?
Tools > Options > LibreOffice > View..
Could that make a difference?
Comment 5 David Lynch 2015-10-09 19:41:27 UTC
I have tried turning the OpenGL settings on and off, restarting LO between changes. No improvement ... still get bug.
Comment 6 David Lynch 2015-10-09 19:43:34 UTC
Created attachment 119466 [details]
This is what I see
Comment 7 m_a_riosv 2015-10-09 21:52:43 UTC
Created attachment 119470 [details]
What I see.

Works for me.
Win10x64 5.0.3
Comment 8 Jean-Baptiste Faure 2015-10-10 15:49:09 UTC
Works for me with LibreOffice 5.0.4.0+ build at home under Ubuntu 15.04 x86-64.

Best regards. JBF
Comment 9 David Lynch 2015-10-10 16:47:48 UTC
Created attachment 119485 [details]
Screen dialogs appear slightly corrupted.

This is the one of the dialogs Format -> Cells ... -> Borders as it appears in 5.0.1.2. Everything is as normal and vertical text renders normally.
Comment 10 David Lynch 2015-10-10 16:51:37 UTC
Created attachment 119486 [details]
Corrupt dialog under 5.0.2.2

This is Format -> Cells ... -> Border, but under 5.0.2.2 there is no pick list for Width: (and vertical text does not render).

I wonder if 5.0.2.2 has introduced a more general incompatibility between LO and the UI.
Comment 11 Jean-Baptiste Faure 2015-10-10 20:03:11 UTC
(In reply to David Lynch from comment #10)
> Created attachment 119486 [details]
> Corrupt dialog under 5.0.2.2
> 
> This is Format -> Cells ... -> Border, but under 5.0.2.2 there is no pick
> list for Width: (and vertical text does not render).
> 
> I wonder if 5.0.2.2 has introduced a more general incompatibility between LO
> and the UI.

What is the link with the bug report? Please do not mix several problem in one bug report.

Best regards. JBF
Comment 12 David Lynch 2015-10-10 20:46:54 UTC
(In reply to Jean-Baptiste Faure from comment #11)
> (In reply to David Lynch from comment #10)
> > Created attachment 119486 [details]
> > Corrupt dialog under 5.0.2.2
> > 
> > This is Format -> Cells ... -> Border, but under 5.0.2.2 there is no pick
> > list for Width: (and vertical text does not render).
> > 
> > I wonder if 5.0.2.2 has introduced a more general incompatibility between LO
> > and the UI.
> 
> What is the link with the bug report? Please do not mix several problem in
> one bug report.
> 
> Best regards. JBF

New bug 94942 created
Comment 13 Maxim Monastirsky 2015-10-10 21:06:53 UTC
*** Bug 94928 has been marked as a duplicate of this bug. ***
Comment 14 Maxim Monastirsky 2015-10-10 21:10:02 UTC
NEW as we have a duplicate.

I wonder if it's related to OpenGL. Please open Tools->Options...->LibreOffice->View, uncheck "Use OpenGL" and restart LO. Does it help? If yes - please state your graphics card. Thanks.
Comment 15 Maxim Monastirsky 2015-10-10 21:37:23 UTC
(In reply to Maxim Monastirsky from comment #14)
> I wonder if it's related to OpenGL.
Ah sorry, didn't see comment 5. So just ignore my last comment.
Comment 16 David Lynch 2015-10-11 11:15:40 UTC
Created attachment 119505 [details]
User profile causing the problem

If I rename the user profile *and* uncheck 
Options -> LibreOffice -> View -> Use OpenGL for all rendering

the problem is resolved.

The component in my old user profile that caused the problem is attached.

I have added @Joel to the CC list as he is looking at use rprofiles causing problems.
Comment 17 Cor Nouws 2015-10-11 12:55:21 UTC
Hi David,

(In reply to David Lynch from comment #16)

> If I rename the user profile *and* uncheck 
> Options -> LibreOffice -> View -> Use OpenGL for all rendering
> 
> the problem is resolved.

Thanks for confirming. Great that you was able to sort this out on your side!
Set this as WorksForMe then.
Cheers,
Cor
Comment 18 Maxim Monastirsky 2015-10-11 21:14:11 UTC
*** Bug 94963 has been marked as a duplicate of this bug. ***
Comment 19 Maxim Monastirsky 2015-10-11 21:17:08 UTC
(In reply to David Lynch from comment #16)
> *and* uncheck 
> Options -> LibreOffice -> View -> Use OpenGL for all rendering
So this is OpenGL related after all.

(In reply to Cor Nouws from comment #17)
> Set this as WorksForMe then.
If there is a workaround, it doesn't mean there's nothing to fix.

Setting as NEW + blocking the meta bug.
Comment 20 Cor Nouws 2015-10-12 06:29:08 UTC
(In reply to Maxim Monastirsky from comment #19)

> If there is a workaround, it doesn't mean there's nothing to fix.

Boink boink - stupid me.. Apologies !
Cor
Comment 21 Maxim Monastirsky 2015-10-13 16:42:34 UTC
*** Bug 94533 has been marked as a duplicate of this bug. ***
Comment 22 E. V. Spadafora 2015-10-13 22:02:00 UTC
Turned off Open GL - no change.
Shut down computer for the night. After boot-up this morning, vertical text now renders normally!
Comment 23 Maxim Monastirsky 2015-10-13 22:28:47 UTC
(In reply to E. V. Spadafora from comment #22)
> Turned off Open GL - no change.
Did you restart LO after this?

> Shut down computer for the night. After boot-up this morning, vertical text
> now renders normally!
Maybe you have the quick-starter running? In this case LO is still running, even after you close its window.
Comment 24 E. V. Spadafora 2015-10-15 15:11:59 UTC
(In reply to Maxim Monastirsky from comment #23)
> (In reply to E. V. Spadafora from comment #22)
> > Turned off Open GL - no change.
> Did you restart LO after this?
> 
> > Shut down computer for the night. After boot-up this morning, vertical text
> > now renders normally!
> Maybe you have the quick-starter running? In this case LO is still running,
> even after you close its window.

I never use the quick-starter or start LO as a running component. I have a couple of shortcuts on my desktop that start a libre writer document and two for Calc. documents, so unless opening one of these starts LO, other than soffice.exe *32, shutting down the computer overnight should have left nothing running and the following morning was a cold boot. Again, I do not use quick-starter. I also noticed that,now, if I create a new spreadsheet and use vertical text, it renders properly.
Last, but not least, I just happened to notice that there are 3 folders in my OS for LibreOffice under Programs (x86). One is LibreOffice 4 containing 2 subfolders Program and Share which, in turn, contain sub-sub folders containing Python material only. Another folder is LibreOffice 4.0 that contains a subfolder named Presets containing two stationary items I created. The last folder is named LibreOffice 5 that appears to contain the complete installation of 5.0.2.2. I think this is/was related to my original problem and probably "speaks" to why a cold boot-up cured the problem for me.
Comment 25 Michael Meeks 2015-10-15 17:46:13 UTC
Tor - just to have on your radar; low prio. though. There is a reason "OpenGL for all rendering" is not on by default on Linux I guess ;-)
Comment 26 Maxim Monastirsky 2015-11-26 15:58:34 UTC
*** Bug 96058 has been marked as a duplicate of this bug. ***
Comment 27 Maxim Monastirsky 2015-11-26 15:59:09 UTC
*** Bug 96057 has been marked as a duplicate of this bug. ***
Comment 28 bugzilla 2015-11-27 08:31:42 UTC
Hi everyone,
I can confirm, that OpenGL rendering is the problem. I reportet the same bug two days ago (meanwhile marked as a duplicat).
Unchecking the OpenGL rendering solved the problem only starting LO again. Renaming the userprofile or a hard-reset was also NOT necessary.
My System: Win8.1Pro, AMD FX-6300, 8Gig RAM, GFX: GeForce GTX 550Ti, Driver 359.00
Sorry 'bout my english ;-)
Comment 29 raal 2015-12-03 15:56:35 UTC
This seems to have begun at the below commit.
 93f2a6c86faefa237975b8b21e5b0d00cbd319e5 is the first bad commit
commit 93f2a6c86faefa237975b8b21e5b0d00cbd319e5
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Tue Aug 25 06:29:23 2015 -0700

    source 9a68eb9c1f54d4c4e14a46c11ba9eafca35a2b82

    source 9a68eb9c1f54d4c4e14a46c11ba9eafca35a2b82

    author    Tor Lillqvist <tml@collabora.com>    2015-08-25 08:52:20 (GMT)
committer    Tor Lillqvist <tml@collabora.com>    2015-08-25 08:55:40 (GMT)
commit    9a68eb9c1f54d4c4e14a46c11ba9eafca35a2b82 (patch)
Turn on glyph caching by default when using OpenGL
Comment 30 Maxim Monastirsky 2015-12-05 17:23:57 UTC
*** Bug 95672 has been marked as a duplicate of this bug. ***
Comment 31 Robinson Tryon (qubit) 2015-12-13 10:30:15 UTC Comment hidden (obsolete)
Comment 32 How can I remove my account? 2015-12-14 08:36:05 UTC
Most likely fixed (in 5.1) by caf52dbc2fa6dbfaf502b7150f13fe38e25443b9.
Comment 33 How can I remove my account? 2015-12-14 16:38:38 UTC
Please check if still happens in recent builds of 5.1.
Comment 34 Michael Meeks 2016-01-11 11:03:44 UTC
Just ran a test on this here, and it works on both Linux and Windows for me - please can you re-open if you can reproduce this problem in LibreOffice 5.1.0 RC2 - due this week.

Thanks ! =)
Comment 35 JCE 2016-02-06 15:07:33 UTC
5.1 release solves the problem
Thanks
JCE
Comment 36 m_a_riosv 2016-05-14 14:12:11 UTC
*** Bug 99836 has been marked as a duplicate of this bug. ***
Comment 37 efernandeza@sinectis.com.ar 2017-03-04 09:45:34 UTC
 The problem still persists in Libreoffice 5.3.0.3. With OpenGL active, I cannot rotate text inside a cell in Calc.

 This is my version of Calc:

Versión: 5.3.0.3 (x64)
Id. de compilación: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
Subpr. de CPU: 8; Versión de SO: Windows 6.19; Repr. de IU: GL; Motor de trazado: HarfBuzz; 
Configuración regional: es-AR (es_AR); Calc: group

 Greetings
          E. F. A.
Comment 38 Gareth Williams 2017-05-05 07:20:32 UTC
I don't know why this is closed.

This still happens on a Windows 10 laptop running LibreOffice Draw 5.3.0.3.  Disabling OpenGL resolves it as mentioned above, but the bug is still there.

Note that it's fine on my Linux laptop.
Comment 39 Jean-Baptiste Faure 2017-05-05 08:23:24 UTC
If it works with LO 5.1 (see comment #34 and comment #35) but not with LO 5.3 then it is another issue. So please open a new bug report instead of reopening this old one. Before doing that, don't forget to test with the current version of the 5.3 branch, 5.3.0 is outdated.

Closing again.

Best regards. JBF