Bug 142943 - Can't change paragraph styles by double-clicking a style on sidebar
Summary: Can't change paragraph styles by double-clicking a style on sidebar
Status: RESOLVED DUPLICATE of bug 143206
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Wayland KDE, KF5
  Show dependency treegraph
 
Reported: 2021-06-19 15:47 UTC by Henrique SantAnna
Modified: 2021-09-08 06:47 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 Henrique SantAnna 2021-06-19 15:47:31 UTC
I can't change between Writer paragraph styles by double click on any style inside sidebar.

This only happens if the double click is "too fast", with no pause between the two clicks. If I do a pause between two clicks (e.g 0.5s) the paragraph style will be  changed (most times). 

To reproduce:

1. Click at any paragraph inside the document.
2. Open paragraph sidebar list (e.g pressing F11)
3. Double click over any style inside paragraph styles list.
4. The paragraph style have not changed inside document, but the style is selected inside styles list.
5. Click two times with ~0.5s between clicks over another style on sidebar.
6. The style will be changed inside the document.

(Also, style change can be forced by mouse selecting a style on the list and than pressing Enter on keyboard)


Additional info:

This only happens if SAL_USE_VCLPLUGIN is set to kf5 or qt5.
This will not happen if VCL is gen or gtk3.

Tested on Wayland, not tested on X11.


Tested with:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: c703b2d22c3f45825d9c9d790c3b5a4b6f97e776
CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+wayland)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-17_00:44:32
Calc: threaded


Also with:

Version: 7.1.4.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 12; OS: Linux 5.10; UI render: GL; VCL: kf5
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
7.1.4-1
Calc: threaded
Comment 1 Michael Weghorn 2021-06-23 08:28:57 UTC
I cannot reproduce in a Plasma Wayland session on current Debian testing (plasma-desktop 4:5.20.5-4, libqt5core5a:amd64 5.15.2+dfsg-7) with

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 949658028e722e5d2657b503eb20e16e41dbd8cf
CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

(and it works fine in an X11 session as well)

Some questions:

1) What does 'env | grep QT' output for you?

For me it is:

    $ env | grep QT
    PLASMA_USE_QT_SCALING=1
    QT_WAYLAND_FORCE_DPI=96
    QT_AUTO_SCREEN_SCALE_FACTOR=0

2) What distro and Plasma/Qt versions are you using?

3) Can you test whether it works in an X11 session instead, or when you start with environment variable QT_QPA_PLATFORM=xcb set (please double-check that version info now shows "VCL: kf5 (cairo + xcb)"?
Comment 2 Henrique SantAnna 2021-06-24 23:02:52 UTC
1) What does 'env | grep QT' output for you?

env | grep QT
PLASMA_USE_QT_SCALING=1
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_IM_MODULE=ibus
QT_QPA_PLATFORM=wayland
QT_WAYLAND_FORCE_DPI=96


2) What distro and Plasma/Qt versions are you using?

Operating System: Arch Linux
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2 (5.15.2+kde+r200-1)
Kernel Version: 5.10.45-1-lts (64-bit)
Graphics Platform: Wayland
Graphics Processor: Mesa Intel® UHD Graphics


3) QT_QPA_PLATFORM=xcb ./LibreOfficeDev-daily-x86_64.AppImage --writer

Works good, I can't reproduce the reported behavior.

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: c703b2d22c3f45825d9c9d790c3b5a4b6f97e776
CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-17_00:44:32
Calc: threaded
Comment 3 Jan-Marek Glogowski 2021-08-27 03:58:56 UTC
This reads a lot like bug 143206. Are you using some non-breeze theme, especially kvantum? See my current comment in that bug (bug 143206 comment 21 that is).

Maybe it's not kavantum specific, but again some QtWayland bug...

Please reset the bug to UNCONFIRMED after providing the info.
Comment 4 Henrique SantAnna 2021-09-07 02:33:56 UTC
Yes, I'm using kvantum.
Comment 5 Jan-Marek Glogowski 2021-09-08 06:47:39 UTC

*** This bug has been marked as a duplicate of bug 143206 ***