Bug 154206 - Missing/disappearing text cursor in Ubuntu Xorg session (gtk3)
Summary: Missing/disappearing text cursor in Ubuntu Xorg session (gtk3)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2023-03-15 12:53 UTC by tester user
Modified: 2025-10-24 03:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (87.44 KB, image/png)
2023-03-15 12:56 UTC, tester user
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tester user 2023-03-15 12:53:51 UTC
Description:
Missing text cursor in 'Ubuntu Xorg' session
Is in the 'Ubuntu' session

When entering text, there is no text entry point cursor.
After switching the session type from 'Ubuntu Xorg' to 'Ubuntu' the cursor appeared.
But there were also problems in other programs.
How can I set up LibreOffice Writer so that the cursor also appears in an 'Ubuntu Xorg' session?

Ubuntu 22.04.2LTS


Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 16; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Calc: threaded

And


Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.2
Calc: threaded

Steps to Reproduce:

1. Start LibreOffice Writer
2. Insert any text

Actual Results:
Cursor missing

Expected Results:
Should be shown blinking cursor at text entry point


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 16; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Calc: threaded
Comment 1 tester user 2023-03-15 12:56:38 UTC
Created attachment 185979 [details]
Screenshot
Comment 2 tester user 2023-03-15 13:08:24 UTC
=============================================================================
Libreoffice writer: Typing cursor (caret, not the mouse pointer) appearance - Ask Ubuntu
https://askubuntu.com/questions/1027877/libreoffice-writer-typing-cursor-caret-not-the-mouse-pointer-appearance/1459367#1459367
----
In newer configurations with compiled gtk themes, you just need to add this to ~/.config/gtk-3.0/gtk.css. Create the file if it doesn't exist.

* { -GtkWidget-cursor-aspect-ratio: 0.2; } 
=============================================================================
not helps
Comment 3 Stéphane Guillou (stragu) 2023-03-29 16:21:56 UTC
Can you please test if turning "Use hardware acceleration" off in "Tools > Options > LibreOffice > View > Graphics Output" helps?

Thank you.
Comment 4 QA Administrators 2023-09-26 03:14:35 UTC Comment hidden (obsolete)
Comment 5 tester user 2023-09-26 08:42:23 UTC
(In reply to Stéphane Guillou (stragu) from comment #3)
> Can you please test if turning "Use hardware acceleration" off in "Tools >
> Options > LibreOffice > View > Graphics Output" helps?
> 
> Thank you.

It did not help

There is a cursor in the Wayland session
There is no cursor in Xorg session
Comment 6 Stéphane Guillou (stragu) 2023-09-30 16:11:52 UTC
I just tested a Xorg session on Ubuntu 22.04 and still can't reproduce, the cursor is there and stays there. (Just like the Wayland session.)

- Are other apps affected?
- Make sure you test the latest version 7.5.7.1
- Can you please check again in safe mode with Help > Restart in Safe Mode?
- Do you see the caret if you use the gen VCL plugin, with the following command?

SAL_USE_VCLPLUGIN=gen libreoffice7.5 --writer

Thank you.
Comment 7 tester user 2023-10-02 09:53:25 UTC
> - Are other apps affected?
 No, other applications work fine
 
> - Make sure you test the latest version 7.5.7.1

I removed the duplicate Version: 7.3.7.2
My
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 16; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Calc: threaded

> - Can you please check again in safe mode with Help > Restart in Safe Mode?
No cursor

> - Do you see the caret if you use the gen VCL plugin, with the following command?
> SAL_USE_VCLPLUGIN=gen libreoffice7.5 --writer

The interface changes, the cursor appears
 
I install Version: 7.6.2.1 - No cursor!

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 16; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded
Comment 8 tester user 2023-10-02 12:55:01 UTC
> SAL_USE_VCLPLUGIN=gen libreoffice7.5 --writer


My 
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 16; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Calc: threaded

After

 SAL_USE_VCLPLUGIN=gen libreoffice7.6 --writer

the cursor did  appear!


But the interface is not very nice.
Comment 9 Buovjaga 2023-10-24 11:55:39 UTC
There was also bug 130339 about this same topic, so let's set to NEW (also due to AskUbuntu topic).
Comment 10 QA Administrators 2025-10-24 03:14:08 UTC
Dear tester user,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug