Bug 96378 - LibreOffice Calc strange highlighting within a cell with UI Render: GL
Summary: LibreOffice Calc strange highlighting within a cell with UI Render: GL
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.0.0.beta1
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: VCL-OpenGL
  Show dependency treegraph
 
Reported: 2015-12-10 08:24 UTC by Óvári
Modified: 2016-01-09 09:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Please ignore the filename, just a sample spreadsheet with data to test on (15.98 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-12-10 08:24 UTC, Óvári
Details
Cell C3 showing highlighting with missing parts (187.20 KB, image/png)
2015-12-10 19:04 UTC, Óvári
Details
Updated screenshot with Cell C3 highlighting with missing part (151.59 KB, image/png)
2015-12-16 10:23 UTC, Óvári
Details
Updated screenshot with Cell C3 highlighting with missing part (180.75 KB, image/png)
2015-12-31 23:41 UTC, Óvári
Details
Screenshot with Cell C3 using LO 5.1.0.1(x64) with Windows 8.1 (177.81 KB, image/png)
2015-12-31 23:50 UTC, Óvári
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Óvári 2015-12-10 08:24:17 UTC
Created attachment 121185 [details]
Please ignore the filename, just a sample spreadsheet with data to test on

LibreOffice Calc

Regression:
- Performance
- Highlighting

Works:
Windows 8.1
Version: 5.0.4.1 (x64)
Build ID: 2def61bcbb29a7a8611b833682fe1291910b11ad

Regression:
Windows 8.1
Version: 5.1.0.0.beta2+
Build ID: afa8fec8367c747cbf50d81fe836dd1679b85867
Threads 2; Ver: Windows 6.2; Render: GL;
TinderBox: Win-x86@62-merge-TDF, Branch:libreoffice-5-1, Time: 2015-12-09_23:10:03

1. Click on cell C3
2. Press F2
3. Hold Shift and press and hold LeftArrow
   Slower and highlighting is strange (some highlighting with missing parts)
4. Repeat steps 2-3 on cell D5

Thank you
Comment 1 raal 2015-12-10 17:53:52 UTC
I can not confirm with Version: 5.2.0.0.alpha0+ (x64)
Build ID: e7c78e67292ad93c6a4a0772d8b06a0e6e7d26c8
Threads 1; Ver: Windows 6.1; Render: default; 
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-11-30_22:37:14

Could you post a printscreen - some highlighting with missing parts ?
Please try if Tools - Options - View - openGL makes a difference.
Comment 2 Óvári 2015-12-10 19:04:30 UTC
Created attachment 121207 [details]
Cell C3 showing highlighting with missing parts

(In reply to raal from comment #1)
> Could you post a printscreen - some highlighting with missing parts ?
> Please try if Tools - Options - View - openGL makes a difference.

Attached screenshot with all the contents of cell C3 selected, showing highlighting with missing parts.

You are correct, the GL rendering makes a difference.

Work correctly in configuration:
Version: 5.1.0.0.beta2+
Build ID: afa8fec8367c747cbf50d81fe836dd1679b85867
Threads 2; Ver: Windows 6.2; Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:libreoffice-5-1, Time: 2015-12-09_23:10:03

Works incorrectly when:
Render: GL

Works correctly when:
Render: default
Comment 3 How can I remove my account? 2015-12-16 09:05:26 UTC
Can't reproduce any longer in master or 5.1 branches.
Comment 4 Óvári 2015-12-16 10:23:52 UTC
Created attachment 121336 [details]
Updated screenshot with Cell C3 highlighting with missing part

(In reply to Tor Lillqvist from comment #3)
> Can't reproduce any longer in master or 5.1 branches.

Downloaded current master. Sometimes happens but only when UI Render: GL
Version: 5.2.0.0.alpha0+ (x64)
Build ID: cfe08df695c046371c4361a434176e6381e3e064
CPU Threads: 2; OS Version: Windows 6.29; UI Render: GL; 
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-12-15_13:10:55

Attached screenshot with current master with cell C3 not highlighted correctly.
Comment 5 Buovjaga 2015-12-16 17:04:16 UTC
Can you give gfx card info à la https://wiki.documentfoundation.org/OpenGL#Windows
Comment 6 Óvári 2015-12-16 19:43:29 UTC
(In reply to Beluga from comment #5)
> Can you give gfx card info à la
> https://wiki.documentfoundation.org/OpenGL#Windows

Renderer: Intel(R) HD Graphics
Vendor: Intel
Memory: 1033 MB
Version: 4.0.0 - Build 10.18.10.3925
Shading language version: 4.00 - Build 10.18.10.3925
Comment 7 Michael Meeks 2015-12-31 22:46:19 UTC
Can't reproduce under Linux with my (slow) graphics card and a recent master / 5.1.x either. Please can you re-test with a recent 5.1.0 build ? =)
Thanks !
Comment 8 Óvári 2015-12-31 23:41:41 UTC
Created attachment 121669 [details]
Updated screenshot with Cell C3 highlighting with missing part

(In reply to Michael Meeks from comment #7)
> Can't reproduce under Linux with my (slow) graphics card and a recent master
> / 5.1.x either. Please can you re-test with a recent 5.1.0 build ? =)

Could not find a Windows 64-bit build, only a Windows 32-bit build, of LibreOffice. Thank you
Comment 9 Óvári 2015-12-31 23:50:59 UTC
Created attachment 121670 [details]
Screenshot with Cell C3 using LO 5.1.0.1(x64) with Windows 8.1

(In reply to Michael Meeks from comment #7)
> Can't reproduce under Linux with my (slow) graphics card and a recent master
> / 5.1.x either. Please can you re-test with a recent 5.1.0 build ? =)
> Thanks !

The only Windows build of LibreOffice 5.1 branch I could find seem too old, i.e. 2015-12-19_00.30.14.
http://dev-builds.libreoffice.org/daily/libreoffice-5-1/

Attached is a screenshot with LO5.1.0RC1
Version: 5.1.0.1 (x64)
Build ID: bcace328aabc4c8c10b56daa87da0a2ee6579b5a
Threads 2; Ver: Windows 6.29; Render: GL; 

Thanks
Comment 10 Óvári 2015-12-31 23:53:20 UTC
Added Michael Meeks to CC. If there is anything else you require please advise. Thank you.
Comment 11 Michael Meeks 2016-01-09 09:48:15 UTC
Interesting; so - under a raw gtk2 with no GL - I can get a little glitch like this - which looks as if the cursor is being XOR'd out of the selection rectangle as we grow it (but this happens for me only at the very beginning). As such - not a GL bug but some random race condition (perhaps); Possibly we should open a new (non-GL related) bug about thgat.

From a GL perspective - 10.18.10.3925 is also a very old driver; we've blacklisted everything that is not 10.18.14.4264 - so hopefully people won't see some of the artifacts we know afflict drivers before then.

Thanks for reporting !