Bug 157443 - Selecting another open document in Window menu does nothing (kf5 + Wayland)
Summary: Selecting another open document in Window menu does nothing (kf5 + Wayland)
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Wayland KDE, KF5 Multi-Window
  Show dependency treegraph
 
Reported: 2023-09-25 17:52 UTC by W Sanders
Modified: 2023-10-12 12:21 UTC (History)
3 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 W Sanders 2023-09-25 17:52:57 UTC
Description:
Seleting another document in the lower part of the window menu does nothing. Formerly, it switch the active window to the one selected in the menu. (Incidentally it's not clear what the radio buttons are for in this menu.)

This is in a Wayland system running Fedora 38:

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.15-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 6600H with Radeon Graphics
Memory: 14.4 GiB of RAM
Graphics Processor: AMD Radeon Graphics


Steps to Reproduce:
1. Open two or more sheets in calc, they will be name "Untitled 1", "Untitled 2", etc.
2. Try to switch the active window using the Window menu to "Untitled [N-1]".


Actual Results:
3. Nothing happens

Expected Results:
Selecting another document in the Windows menau should make it the active window. Topmost too, in the absece of nondefault user settings that affect window raising and lowering.


Reproducible: Always


User Profile Reset: No

Additional Info:
Easy workaround to find other docs in taskbar, or my manually shuffling windows.
Comment 1 raal 2023-09-26 21:16:59 UTC
I can not confirm with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0c4913e03e8427a576138601958f2dbf13b8c37b
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 2 Stéphane Guillou (stragu) 2023-10-11 12:44:42 UTC
All good on Ubuntu + Wayland + gtk3::

Version: 7.5.7.1 (X86_64) / LibreOffice Community
Build ID: 47eb0cf7efbacdee9b19ae25d6752381ede23126
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_AU.UTF-8); UI: en-US
Calc: threaded

Same with kf5 (cairo+xcb):

Version: 7.5.7.1 (X86_64) / LibreOffice Community
Build ID: 47eb0cf7efbacdee9b19ae25d6752381ede23126
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_AU.UTF-8); UI: en-US
Calc: threaded

But reproduced in:

Version: 7.5.7.1 (X86_64) / LibreOffice Community
Build ID: 47eb0cf7efbacdee9b19ae25d6752381ede23126
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-US (en_AU.UTF-8); UI: en-US
Calc: threaded

Same in Writer.
Same in LO 6.4.0.3.
Comment 3 Michael Weghorn 2023-10-12 12:21:44 UTC
I'm quite sure this is not a LibreOffice bug, but a Qt one, and that it's fixed in current Qt 6 versions.

I can reproduce in a KDE Plasma Wayland session with

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3d97d220c912c2e45e97489e55c8d2a2b0b3516d
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: qt5 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

This warning from the Qt library is shown on stderr:

    qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
    
    
And it works fine when using the qt6 VCL plugin with the current dev version of Qt 6:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3d97d220c912c2e45e97489e55c8d2a2b0b3516d
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

-> Closing as NOTOURBUG