https://bugs.documentfoundation.org/show_bug.cgi?id=162404
Bug ID: 162404
Summary: Possible Mishandling of GTK 3.0 Settings Property
'gtk-cursor-aspect-ratio'
Product: LibreOffice
Version: 7.4.7.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
The property 'gtk-cursor-aspect-ratio' is documented at URL
https://docs.gtk.org/gtk3/property.Settings.gtk-cursor-aspect-ratio.html .
Before I reinstalled Debian 12 Linux due to an inability to update my kernel
with package manager APT, I had made the text cursor in Writer (and probably
Impress) with a line in file '~/.config/gtk-3.0/gtk.css' that was '* {
-GtkWidget-cursor-aspect-ratio: 0.06; }'.
I am currently using Debian 12.6 Linux, XFCE 4.18, LibreOffice 7.4.7.2
Community Edition, and Firefox 115.14.0esr (just updated from 115.13.0esr with
same text cursor behavior). I am also using a proprietary NVIDIA driver for my
GPU, which is a NVIDIA RTX 2080 Super / Max-Q. The CPU is x86-64 (Intel i9).
It is about a month after I reinstalled Debian 12 (12.6 to be exact). A few
days ago I noticed how thin the text cursor was and decided to address it. I am
not sure how it was before that, i.e. right after the install. Linux
administration for this laptop and for a virtual machine I use for an email
server and a web server and other concerns and my memory limits dictated by
obstructive sleep apnea prevent me from keeping details in my head for long.
As it stands now, I updated the line in file '~/.config/gtk-3.0/gtk.css' to '*
{ -GtkWidget-cursor-aspect-ratio: 0.12; }' to get satisfactory results with the
text cursor in LibreOffice Writer. However, as a result the text cursor shown
by Firefox is approximately twice as wide as I would like.
Also, Writer did not allow for customization of the cursor aspect ratio until I
changed the permission on directory 'gtk-3.0' from 755 (rwxr-xr-x) to 700
(rwx------), which is more restrictive, and that is weird to me. Also, the file
'~/.config/gtk-3.0/settings.ini' with the consecutive lines '[Settings]' and
'gtk-cursor-aspect-ratio = 0.5' does not at all set the cursor aspect ratio in
Writer. Testing the GTL 3.0 property configuration requires logging out or a
reboot. I notice that the cursor aspect ratio is not a property listed in XFCE
4.18, Settings Editor, and adding it there under '/Gtk/CursorAspectRatio' or
'/Net/Cursor/AspectRatio' did nothing.
It is interesting that I must double the value of property
'gtk-cursor-aspect-ratio' for Writer and the result in Firefox looks about two
times too wide. Thus, I suspect that at least in my case Writer is halving the
text cursor aspect ratio from what it should be. Why the property specification
in file 'settings.ini' did not work I do not know. However, I do know that if I
specify under '[Settings]' the line 'gtk-primary-button-warps-slider = false',
I get the incremental page behavior I want (which I suppose is the more
traditional behavior for GUIs in general).
I don't know who can or can't reproduce this behavior. I am not sure what if
any software has a bug to explain this. I looked at the bug history of
LibreOffice and have found general complaints about the text cursor being too
thin. If in some cases the cursor default were too thin by half, that might
explain the complaints. This is all just a guess on my part. I submit this to
see if anyone else can reproduce a cursor width difference between Writer and
Firefox or other. For the record, text editor Geany has a separate
configuration setting for text cursor width under Tools > Configuration Files >
filetypes.common .
Steps to Reproduce:
1.Leave unset for the default or on Linux set the GTK 3.0 property
'gtk-cursor-aspect-ratio' to a not small value (at least 0.1).
2.Log out and in or reboot to make any configuration changes take effect.
3.Compare the text cursor thicknesses in Writer and in Firefox (or other?)
Actual Results:
For me, divergence of text cursor widths as already stated. You may not have
the problem I do. I found nothing online.
Expected Results:
I think the cursor aspect ratio should be the same on all software that uses
the GTK 3.0 property 'gtk-cursor-aspect-ratio'. In my case that seems to be
Writer and Firefox.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
N/A.
--
You are receiving this mail because:
You are the assignee for the bug.