Bug 108812 - EDITING - Text display "doubles" on top of itself when deleting letters/numbers in a cell
Summary: EDITING - Text display "doubles" on top of itself when deleting letters/numbe...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.3.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-27 11:56 UTC by nta
Modified: 2017-09-22 00:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (21.44 KB, image/png)
2017-06-27 11:57 UTC, nta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nta 2017-06-27 11:56:38 UTC
Description:
This is occurring systematically. If I am working in a calc document that already has values in cells, and if I attempt to delete some of the text in a given cell that already has text/numbers in that cell, the display appears to "double" up on itself, generating a display error which makes editing the document difficult. I have included a screen shot to provide a visual example of what I mean. This appears to be a display bug of some kind. As soon as I finish editing the cell and press enter or click a new cell, the display corrects itself. Moreover, this behaviour only seems to occur during the "editing process" of data entry in a cell. This does not occur on the input line -- only in the cell. It happens at different zooms, with different fonts, etc. I have tried enabling and disabling OpenGL, refreshing my user profile, turning anti-aliasing on and off, trying both LibreOffice still and fresh builds -- but no luck.

Steps to Reproduce:
1. Open a new or saved calc document and enter text in a cell
2. Delete the text you just entered in step 1

Actual Results:  
Text appears to double up on itself with a display bug in the cell that is being edited if edits were an attempt to delete previous text.

Expected Results:
The display bug should not occur.


Reproducible: Always

User Profile Reset: Yes

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 nta 2017-06-27 11:57:47 UTC
Created attachment 134308 [details]
Screenshot
Comment 2 m_a_riosv 2017-06-27 13:24:46 UTC
Please test changing the state of Menu/Tools/LibreOffice/View - OpenGL
Comment 3 nta 2017-06-27 13:46:14 UTC
Enabling OpenGL leads my entire LibreOffice install to develop a different set of display problems. Writer, calc, etc. will launch, but the display flashes black in areas and the display is corrupted with movement of the mouse/keyboard. From what I can tell, the problem reported above is solved with OpenGL enabled (though it is hard to tell given the corrupt display); but unfortunately, that solution makes the overall experience much worse. Perhaps this is a different bug to be filed with respect to OpenGL?
Comment 4 m_a_riosv 2017-06-27 14:06:19 UTC
Have you tested disabling all Graphics options, anti-aliasing and/or hardware acceleration?
Comment 5 nta 2017-06-27 14:11:48 UTC
Yes. I have tried enabling and disabling each option, as well as different combinations of them. No luck I am afraid. 

Strangely, this is the only bug I have encountered across all my libreoffice applications. All other use cases display correctly (writer/impress/etc.). It is just in calc in the cells during editing where this occurs.
Comment 6 m_a_riosv 2017-06-28 22:59:43 UTC
Please try resetting the user profile, sometimes solves strange issues.
https://wiki.documentfoundation.org/UserProfile
Usually it's enough renaming/deleting the file "user/registrymodifications.xcu",  it affects all the options in Menu/Tools/Options, and the files "user/basic/dialog.xlc" and "scrip.xlc" are overwritten, additionally custom colors in "user/config/standard.soc" are lost.
Comment 7 m_a_riosv 2017-06-29 13:59:12 UTC
Or test disabling the option Menu/Tools/LibreOffice calc/General - Use printer metrics for test formatting.
Comment 8 nta 2017-07-01 21:47:03 UTC
I have tried resetting my user profile a number of times, and even reinstalling Libreoffice from scratch -- sadly this did not resolve the problem. 

I then tried the "Use printer metrics for test formatting" suggestion. I had that setting off by default, so I enabled it instead. Regardless of whether it is enabled or disabled, the same problem persists.
Comment 9 m_a_riosv 2017-07-02 09:02:46 UTC
Maybe testing with a dev version, to verify the issue is yet there:
http://dev-builds.libreoffice.org/daily/master/
Comment 10 nta 2017-09-21 15:46:14 UTC
I wanted to report that this issue has been resolved -- the display error no longer occurs. I am not sure what changed to fix this. Perhaps the latest version of LibreOffice, or perhaps upgrades to Mesa? Regardless, I am very happy to say this issue can be closed.
Comment 11 m_a_riosv 2017-09-22 00:39:26 UTC
Thanks for the information.
Then closed as works for me.