Bug 146428 - Using dropdown / combobox selectors does not return focus to the document.
Summary: Using dropdown / combobox selectors does not return focus to the document.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-26 19:40 UTC by Kevin Knerr
Modified: 2022-11-28 20:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Knerr 2021-12-26 19:40:55 UTC
Description:
I first encountered this in Calc after upgrading to the 7.2 series. Today I encountered in in Writer as well. (The last working version for me was 7.1.5)

In Calc, I had added the "Apply Style" dropdown to the formatting toolbar. After selecting a style for the current cell, I was unable to enter any text. Clicking in a cell or the input line did not provide a text cursor. Following the bug report guidelines, I wiped out my profile, which seemed to help, but it quickly returned. I did discover that I could switch to a different document and the cursor was present. After switching back, the cursor would again be present on the original document.Eventually, I created a style context menu for that particular spreadsheet with the custom styles.

Today in Writer, I encountered the same behavior with the Font dropdown. I selected a font and was unable to enter any text-no cursor. I switched to a spreadsheet I had open in another workspace and switched back. The cursor was available and I could enter text again.

I can also click on a menu or other controls to re-enable text entry. The impression I get is that dropdown / combobox controls are no longer properly returning focus to the document.

Since I have now seen this issue in both Calc and Writer, I chose LibreOffice as the component below. (Maybe it should be a UI issue???)

Steps to Reproduce:
1. Open a new document or spreadsheet
2. Use the dropdown to select a font or apply a style
3. Try to enter text
4. If the text appears, select a new font. It seems to fail after 2 or 3 tries and then every subsequent selection.

Actual Results:
I type and nothing appears. There is no cursor blinking. Selecting another cell in Calc or another area of the page in Writer does not provide a cursor.

Switching between another document restores the cursor. Selecting and deselecting a menu can also restore the cursor.

Expected Results:
Select a font or style and the cursor immediately reappears at the current position in the document or spreadsheet. Text entry should work normally.


Reproducible: Sometimes


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.2.3.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.utf8); UI: en-US
7.2.3-1
Calc: threaded

OpenGL vendor string: X.Org
OpenGL renderer string: AMD RS880 (DRM 2.50.0 / 5.15.5-arch1-1, LLVM 13.0.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.2.5
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 21.2.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.2.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
Comment 1 LeroyG 2021-12-27 14:18:50 UTC
No issue with:
Version: 7.1.8.1 (x64) / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: es-AR (es_AR); UI: en-US
Calc: threaded
Comment 2 zcrhonek 2021-12-30 08:10:44 UTC
I can not confirm with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: c13db6e792cc347ffff4585f23866f195651f21f
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo
Comment 3 Buovjaga 2022-11-28 12:19:59 UTC
Not reproduced with the kf5 UI. Can you still see it in version 7.4?

Arch Linux 64-bit
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 19e3bab1a8def52d9a60f67bd87697e828e37773
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 28 November 2022

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 4 Kevin Knerr 2022-11-28 20:14:43 UTC
I no longer see this behavior with the 7.4 series (I'm currently on libreoffice-fresh 7.4.0-3.)

Updating to RESOLVED, WORKSFORME.

Thanks for following up!