Bug 116790 - (OpenGL GPU driver problem) cursor focus is higher than the cursor
Summary: (OpenGL GPU driver problem) cursor focus is higher than the cursor
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: VCL-OpenGL
  Show dependency treegraph
 
Reported: 2018-04-04 11:03 UTC by Konstantin Kharlamov
Modified: 2018-04-06 13:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
focused element is not under the cursor (350.89 KB, image/jpeg)
2018-04-04 11:04 UTC, Konstantin Kharlamov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kharlamov 2018-04-04 11:03:18 UTC
Description:
Clickable elements can only be focused if the cursor is noticeably below the element.

It's easier to show with the attached screenshot (the OS doesn't allow to include cursor, so it's been shot with a phone). You can see the "File" picture is highlighted — even though the cursor position does not intersect it.

Workaround: disable OpenGL acceleration, and restart the app.

Steps to Reproduce:
If you have the hw+driver combination, simply try focusing any GUI element.

Actual Results:  
Element focused does not intersect with cursor

Expected Results:
The cursor should be over the focused element.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Since disabling OpenGL accel. fixes the problem, it probably makes sense to blacklist the driver (otherwise, perhaps, to try adding the test that about the problem, that would be ran for a new profile).

I can also try reporting the bug to Intel, but not sure what to report.

GPU: Intel HD Graphics 630
GPU driver version: 21.20.16.4664
OS: Windows 10.


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.10.1 Chrome/61.0.3163.140 Safari/537.36
Comment 1 Konstantin Kharlamov 2018-04-04 11:04:17 UTC
Created attachment 141075 [details]
focused element is not under the cursor
Comment 2 V Stuart Foote 2018-04-04 18:11:23 UTC
Can see it in the screen clip. For the Arrow pointer icon, the tip is its focus and it is already in the Set Paragraph Style list box--so should have changed to the text cursor.

However, the Intel 4664 driver version is rather dated, current is a 4901 build. Suggest you update [1] the GPU driver and retest with OpenGL

 =-ref-=
https://downloadcenter.intel.com/download/27412/Graphics-Intel-Graphics-Driver-for-Windows-15-60-
Comment 3 Konstantin Kharlamov 2018-04-05 06:35:19 UTC
(In reply to V Stuart Foote from comment #2)
> Can see it in the screen clip. For the Arrow pointer icon, the tip is its
> focus and it is already in the Set Paragraph Style list box--so should have
> changed to the text cursor.
> 
> However, the Intel 4664 driver version is rather dated, current is a 4901
> build. Suggest you update [1] the GPU driver and retest with OpenGL
> 
>  =-ref-=
> https://downloadcenter.intel.com/download/27412/Graphics-Intel-Graphics-
> Driver-for-Windows-15-60-

The Intel driver installer have failed. Then I tried the Intel Driver Assistant, and it said to go get a driver from the manufacturer's site. The PC is question being an HP's monoblock, so I went to their site, and found they have only this one GPU driver, from 2016 year.
Comment 4 V Stuart Foote 2018-04-06 05:01:49 UTC
(In reply to Constantine from comment #3)
> 
> The Intel driver installer have failed. Then I tried the Intel Driver
> Assistant, and it said to go get a driver from the manufacturer's site. The
> PC is question being an HP's monoblock, so I went to their site, and found
> they have only this one GPU driver, from 2016 year.

Keep the old driver handy in case of glitches, but you should be able to do a manual install from the Device Manger dialog to force the use of the Intel Driver. Plenty of how-to's to be found. Here are a couple:

https://www.intel.com/content/www/us/en/support/articles/000005629/graphics-drivers.html

https://steamcommunity.com/app/233250/discussions/2/558749190911446231/
Comment 5 Konstantin Kharlamov 2018-04-06 06:09:43 UTC
(In reply to V Stuart Foote from comment #4)
> (In reply to Constantine from comment #3)
> > 
> > The Intel driver installer have failed. Then I tried the Intel Driver
> > Assistant, and it said to go get a driver from the manufacturer's site. The
> > PC is question being an HP's monoblock, so I went to their site, and found
> > they have only this one GPU driver, from 2016 year.
> 
> Keep the old driver handy in case of glitches, but you should be able to do
> a manual install from the Device Manger dialog to force the use of the Intel
> Driver. Plenty of how-to's to be found. Here are a couple:
> 
> https://www.intel.com/content/www/us/en/support/articles/000005629/graphics-
> drivers.html
> 
> https://steamcommunity.com/app/233250/discussions/2/558749190911446231/

I doubt that knowledgeable users would buy a monoblock in the first place, like, it's not as flexible as PC, nor as portable as laptop. Those users would be stuck with ancient drivers, and the fact I can personally force a newer Intel driver to get installed won't help LibreOffice usability for the rest of them.
Comment 6 Konstantin Kharlamov 2018-04-06 06:35:13 UTC
Anyway, upgrade to 23.20.16.4982 does solve the problem.
Comment 7 Xisco Faulí 2018-04-06 08:50:01 UTC
(In reply to Constantine from comment #6)
> Anyway, upgrade to 23.20.16.4982 does solve the problem.

Good to know it got fixed.

@V Stuart Foote, should be close this as RESOLVED NOTOURBUG ?
Comment 8 V Stuart Foote 2018-04-06 13:00:56 UTC
LibreOffice devs write to published OpenGL APIs, but in some corners of the interface, the device drivers get it wrong (this was a new one)--is that a LO issue or a GPU driver issue, and whose responsibility?

For their part Intel publishes corrected "reference" drivers that OEM vendors are encouraged to adopt and deploy. But it is the OEM's choice to do so or not--as a business decision. 

Despite its market share, HP is lethargic in its product technical support to include certifying updated GPU drivers and deploying. Forcing afflicted consumers to force use of Intel's driver.

Not to say that LibreOffice does not have implementation issues with OpenGL, but as with some of the other OpenGL issues cleared up with "reference" drivers => NOTOURBUG