Bug 99705 - Active cell not highlighted / bordered when OpenGL is disabled
Summary: Active cell not highlighted / bordered when OpenGL is disabled
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-06 08:20 UTC by Octavio Alvarez
Modified: 2019-10-27 00:24 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
openGL Off - Cell Marked (204.71 KB, image/jpeg)
2016-05-06 14:52 UTC, Joel Madero
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Octavio Alvarez 2016-05-06 08:20:27 UTC
Active cell not highlighted / bordered when OpenGL is disabled. Steps:

1. Open LibreOffice Calc.
2. Disable OpenGL.
3. Reopen LibreOffice Calc.

The active cell is not marked at all. I have to rely on column and row highlighting to visually locate the active cell. If I enable OpenGL the active cell is marked but the whole UI breaks really bad to the point of unusability, so disabling OpenGL is the only way to go for me.

Others are reporting the same thing, even if not explicitly with regard to OpenGL; hopefully these can be used to consider this bug confirmed:

* Question 69375 in ask.libreoffice.org
- https://ask.libreoffice.org/en/question/69375/calc-active-cell-not-highlighted-or-bordered/

Version: 5.1.2.2 Build ID: 1:5.1.2-0ubuntu1 CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; Locale: en-IE (en_IE.UTF-8)

This is the one with an answer that suggests OpenGL.

* Question 61470 in ask.libreoffice.org
- https://ask.libreoffice.org/en/question/61470/no-active-cell-borderfilldrag-handle/

I'm including this one because it's fairly recent and sounds like the same issue.


* Question 66447 in ask.libreoffice.org
- https://ask.libreoffice.org/en/question/66447/seeing-the-active-cell-in-calc-easily/
Comment 1 Joel Madero 2016-05-06 14:51:40 UTC
Bodhi Moksha
Version: 5.2.0.0.alpha0+
Build ID: ef34535ceb60d7d63b8d8671e4c6e9e43ffbd17d
CPU Threads: 2; OS Version: Linux 3.16; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-03-27_09:53:05
Locale: en-US (en_US.UTF-8)



Cannot confirm. Attaching screenshot to show. By default openGL is off on my system and the cell as well as column and row are marked.
Comment 2 Joel Madero 2016-05-06 14:52:20 UTC
Created attachment 124886 [details]
openGL Off - Cell Marked
Comment 3 raal 2016-05-06 20:08:57 UTC
No repro 5.1.2.2, Ubuntu.

For the test, could you rename your LibreOffice directory profile (see https://wiki.documentfoundation.org/UserProfile) and give it a new try? Thank you
Comment 4 Octavio Alvarez 2016-05-06 20:37:48 UTC
Considering that OpenGL makes a difference in my setup, I will try to gather information regarding video drivers and video cards.

Joel, thank you for testing. Can you post your video card model and video driver?

Raal, can you post your complete LibO version, your Ubuntu version, your video card model and video driver?

Raal, also, I just tested on a clean profile (renamed all my .libreoffice-related directories and verified a new one still got created) and the problem persists.

BTW, my version is:
Version: 5.1.3.1
Build ID: 1:5.1.3~rc1-1, CPU Threads: 4; OS Version: Linux 4.5; UI Render: default
Locale: en-US (en_US.utf8)
OS: Debian Sid.
Video card: 8086:0046 (lspci -n), Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller]) on Samsung R730 (as reported by lspci -v, really an R540) and using Intel i915 driver.

I will try on two more computers in the course of the day and report back.
Comment 5 Octavio Alvarez 2016-05-07 01:30:28 UTC
Could NOT reproduce on another machine.

Version: 5.1.3.1
Build ID: 1:5.1.3~rc1-1
CPU Threads: 8; OS Version: Linux 4.5; UI Render: default; 
Locale: en-US (en_US.utf8)
OS: Ubuntu 16.04 LTS

Video card: 1002:9588, VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV630 XT [Radeon HD 2600 XT] (prog-if 00 [VGA controller])
Subsystem: Apple Inc. RV630 XT [Radeon HD 2600 XT]
Module: radeon

Curiously enough, my LibreOffice copy on this machine doesn't show any options to disable or enable OpenGL on [Tools » Options » LibreOffice » View] but /etc/libreoffice/soffice.sh has OPENGL_SUPPORT=no so I'll trust that.
Comment 6 Buovjaga 2016-05-07 13:06:20 UTC
No problem for me, but as you have some folks on Ask reproducing, let's set to NEW.
You should invite them to CC themselves on the report.

Version: 5.1.2.2
Build ID: 1:5.1.2-0ubuntu1
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
Locale: en-US (en_US.UTF-8)
Comment 7 Octavio Alvarez 2016-05-08 07:03:35 UTC
Now it works for me! Thank you all for your cant-repro testing.

This is what happened:

After testing on another computer with i915 but working correctly, and also noticing other artifacts on the LibO Calc menus I suspected a driver issue on my system.

I found that I was not using the X.org "intel" driver. I remember that during an upgrade, my system had problems with that package. The Debian package description suggested removing it and testing the modesetting+vesa+fbdev combo only, so I did.

In two or three weeks no other programs caused any noticeable problems at all, not even LibreOffice Writer. I noticed now with Calc for whatever reason.

So, I reinstalled the X.org "intel" driver again (this time it worked) and now the active cell is correctly marked / bordered.

As for OpenGL, it still appears as "disabled" but works fine and there are no more artifacts on the Calc menus either.

Hopefully this explanation helps others with the same problem.

Conclusion: local system problem. Feel free to close this bug as you best consider.

Thanks again.
Comment 8 ilioSS 2016-05-17 19:35:38 UTC
Hi all,

Installed the libreoffice 5 in LUBUNTU 16.04.
Also I suffer from lack of the border on the active cell.

I checked my systen as far as possible.
I have a HP laptop Pavilion dv6000  cpu intel core 2 T5750 @ 2.00GHz
Display type The X.Org Foundation
version 1.18.3

As far as I understand from Octavio he solved his look a like problem to renem his
display driver.
This is a bridge to far for me to understand how to perform.
My I asked a little help in order to renew my driver aswel?

Kind regards in advance.
ilioSS
Comment 9 Mike 2016-07-13 13:21:50 UTC
Thanks - this solved my issue too - details below:
I am using Libre Office 5.1.4.2 on Lubuntu 16.04.
First confirm have an intel driver:
$ lshw -C display
WARNING: you should run this program as super-user.
  *-display:0             
       description: VGA compatible controller
       product: Mobile 4 Series Chipset Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 07
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:28 memory:e0000000-e03fffff memory:d0000000-dfffffff ioport:3110(size=8)
  *-display:1 UNCLAIMED
       description: Display controller
       product: Mobile 4 Series Chipset Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2.1
       bus info: pci@0000:00:02.1
       version: 07
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: latency=0
       resources: memory:e2400000-e24fffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

Here you can see display is Intel and driver for display 0 is i915.  
I next looked at https://launchpad.net/ubuntu/xenial/+package/xserver-xorg-video-intel to confirm this driver supports i915, which indeed it does, so then I installed this driver:
 sudo apt-get install xserver-xorg-video-intel

I then had to reboot for change to take effect.
Now I have a border around active cell!
Comment 10 Hamid 2016-12-19 10:20:58 UTC
The workaround doesn't work for me. I have the driver currently installed.

A related bug:
https://bugs.documentfoundation.org/show_bug.cgi?id=104244
Comment 11 Ab_do 2017-01-27 18:59:24 UTC
I confirm this issue on Ubuntu 16.10 for LibreOffice Calc 5.2.5.1 ...
Comment 12 Buovjaga 2017-01-28 06:06:23 UTC
(In reply to Abdellatif from comment #11)
> I confirm this issue on Ubuntu 16.10 for LibreOffice Calc 5.2.5.1 ...

Let's continue in bug 104244 as it seems appropriate for the ones who still have problems.

I have to say that it is a real problem that these errors appear with modesetting as many distros are switching to it. Intel is failing to release a stable version of their driver, so it is painful for distros to package.
Comment 13 Ab_do 2017-01-28 11:05:24 UTC
(In reply to Buovjaga from comment #12)
> (In reply to Abdellatif from comment #11)
> > I confirm this issue on Ubuntu 16.10 for LibreOffice Calc 5.2.5.1 ...
> 
> Let's continue in bug 104244 as it seems appropriate for the ones who still
> have problems.
> 
> I have to say that it is a real problem that these errors appear with
> modesetting as many distros are switching to it. Intel is failing to release
> a stable version of their driver, so it is painful for distros to package.

Thank you and ok ...
Comment 14 Gabriel Staples 2019-10-27 00:24:13 UTC
Possibly related?
https://bugs.documentfoundation.org/show_bug.cgi?id=128406