Bug 137509 - Writer table selection cursors and show/hide whitespace cursors oversized and blurry with HiDPI or upscaling
Summary: Writer table selection cursors and show/hide whitespace cursors oversized and...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: HiDPI Mouse-Cursor
  Show dependency treegraph
 
Reported: 2020-10-15 15:54 UTC by David C
Modified: 2023-01-16 17:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Shot of oversized column-select arrow in Writer table (1.69 MB, image/jpeg)
2023-01-03 14:19 UTC, David C
Details
Table column arrow in LibreOffice, but now with HiDPI turned off (3.02 MB, image/jpeg)
2023-01-05 15:21 UTC, David C
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David C 2020-10-15 15:54:43 UTC
Description:
I use HiDPI in Linux due to having a 4K HD monitor (but same thing happens in "normal" view).

If I create a table in Writer, moving the cursor to select a row or column turns it into a massively oversized and blurry arrow, which is a long way below and to the right of where the cursor had been a moment ago, though I can still select the intended row or column, so it's purely a visual problem.

Steps to Reproduce:
1. Create a table in Writer
2. Move the cursor to the top of a column or left side of a row, as though to click to select the column or row

Actual Results:
Cursor becomes an oversized, blurry arrow pointing in the direction of the row or column, but massively offset from where the cursor actually should be (but not affecting the click location)

Expected Results:
Show a normal-sized arrow pointing along the row or column, and actually in line with it and at the location of the cursor itself


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Made no difference running in Safe Mode or turning down Linux desktop scale.

Also happens with "select all table" at top-left (turns into very large diagonal arrow a long way from where it should be).

I can supply an image if required.
Comment 1 Dieter 2021-04-30 07:25:09 UTC
David, unfortunately nothing has happened with this bug report for half a year. So I'd like to ask, if it is still valid. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 David C 2021-04-30 09:54:12 UTC
Hi, it still happens to me in Writer on this PC, despite being on the latest version of LibreOffice (7.1.1.2), and I should add that it happens with the "drag" cursor when moving the mouse to the gap between two consecutive pages (with all pages showing vertically, rather than side by side).  The cursor images (black with white edges) seem to be built-in to the software, and are nothing to do with the cursor set I've chosen in Linux's Themes screen, or the cursor size I've set in the Mouse and Touchpad screen.

Linux is fully updated (Mint 20.1, Cinnamon 4.8.6), and cursor images change fine for other programs (including Calc), or when dragging window edges.  It's also not happened under Win10, or on other (non-HiDPI) Linux machines with it installed.

I'll change the status back to UNCONFIRMED on that basis, and will upload screenshots when I can (monitor photos because Linux Screenshot doesn't seem to include these cursors in images, even with the appropriate options selected).
Comment 3 Ezinne 2022-06-07 16:53:50 UTC
Not reproducible in:

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: f572585756494c59fb81f5d93c51cc2d35421f0e
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

You can update to a newer version and test again.
Comment 4 Stéphane Guillou (stragu) 2022-12-20 22:51:06 UTC
Hi David
Please let us know if you can still reproduce in a currently supported version.
For a screenshot, ksnip is great and can include the cursors.
Thank you!
Comment 5 David C 2023-01-03 14:19:41 UTC
Created attachment 184460 [details]
Shot of oversized column-select arrow in Writer table

This is a photo of the wrongly-sized arrow in Writer, as using Ksnip makes my mouse pointer double-sized even on my desktop (which must be down to HiDPI), and makes the problem look even worse than it is!
Comment 6 QA Administrators 2023-01-04 03:19:37 UTC Comment hidden (obsolete)
Comment 7 Stéphane Guillou (stragu) 2023-01-05 13:10:16 UTC
Thanks, David.

Please also share the version information in Help > About LibreOffice.
And I wanted to double-check what you meant by:

(In reply to David C from comment #0)
> Made no difference running in Safe Mode or turning down Linux desktop scale.

Do you mean it happens regardless of scaling, even 100%?
Comment 8 David C 2023-01-05 15:21:34 UTC
Created attachment 184495 [details]
Table column arrow in LibreOffice, but now with HiDPI turned off
Comment 9 David C 2023-01-05 15:33:51 UTC
My current LibreOffice version is 7.3.3.2, but I've been having this problem throughout version 7 (it's too long ago for me to remember version 6, which I used when I first adopted Linux Mint in 2020).

I've tried the other settings in Display-->User interface scale, including "Automatic (1x)" and "Normal" (both of which appear tiny on my 4K monitor and thus can't be used except in testing).  In my new picture, you'll see that the column select down-arrow is even bigger compared to the document!

It's only these Writer row/column selection arrows that seem to be misbehaving like this -- are they included in the LibreOffice package?  All other cursors appear fine in Linux Mint for me, regardless of which set I use, or how large (or small!) I set cursor size.

Just to reiterate, this doesn't happen with my other Linux Mint PC, on which I've never needed to use HiDPI (due to it being plugged into a 1080p monitor with everything looking fine).
Comment 10 Stéphane Guillou (stragu) 2023-01-05 16:56:34 UTC
Thank you for the extra info.
Surprised I can't find a duplicate report, if it's only related to the high resolution of the monitor...

Sorry to nag, but can you please share the full information in the About dialog? There is a button to copy the whole thing.

Please also try updating to 7.3.7 as many bugs have been fixed since 7.3.3, and even better, test newer versions like 7.4 given that 7.3 should not have further bugfix versions.

I've also tested on Linux Mint 21 with LO 7.4 and a 2560 × 1876 resolution and could not reproduce:

    Version: 7.4.3.2 / LibreOffice Community
    Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
    CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: gtk3
    Locale: en-US (en_US.UTF-8); UI: en-US
    Calc: threaded
Comment 11 BogdanB 2023-01-05 17:21:09 UTC
It's easy to test.

See here how to test 
https://wiki.archlinux.org/title/HiDPI 
Read 1. Gnome

Open a terminal and try this command:
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <2>}]"

If you want your system back:
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <1>}]"

We see a strange arrow, that is not well positioned. And blurry.

Confirm with
Version: 7.5.0.1.0+ (X86_64) / LibreOffice Community
Build ID: f29b2b5b7a86fa813ec0410f2788cd9580c7e0b2
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 12 Stéphane Guillou (stragu) 2023-01-05 18:13:00 UTC
Thank you for the hint, Bogdan!
Now, with Ubuntu 20.04 + GNOME + x11, I can see the big blurry icons for Down arrow (column selection), Right arrow (row selection) and the Show/Hide Whitespace cursors when scaled at 200% in the GNOME display settings.

If the change of scaling from 100% to 200% is done while Writer is already open, the cursors look _smaller_. It's just as if these 4 cursors ignore the scaling and do not follow the rest of the UI.

The offset looks unrelated to the scaling as I can see it happen at 100% (just a bit less obvious).

Version: 7.5.0.1 (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 13 David C 2023-01-16 17:14:49 UTC
I've upgraded to 7.4 with no improvement -- same oversized and offset table row/column/page gap arrows.

Version: 7.4.4.2 / LibreOffice Community
Build ID: 85569322deea74ec9134968a29af2df5663baa21
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

I should add that my monitor resolution is 3840x2160.