https://bugs.documentfoundation.org/show_bug.cgi?id=163518

Michael Weghorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|With LO 24.8 the menu       |With LO 24.8 the menu
                   |detaches from window when   |detaches from window when
                   |hovering over a different   |hovering over a different
                   |menu (kf6 + wayland)        |menu (kf5 + wayland)
             Blocks|145734                      |102495

--- Comment #9 from Michael Weghorn <[email protected]> ---
(In reply to Rafael Lima from comment #7)
> (In reply to Michael Weghorn from comment #6)
> > That makes me think even more it's a Qt/KF issue.
> > Do you see maybe even see any similar problem in other KDE applications?
> 
> No... so far I have only seen this on LibreOffice installed from
> LibreOffice's website.

If you have Plasma 6 already, most of the KDE applications might also be using
Qt 6 already.
Does the attached sample program attachment 197186 work?
You can build + run like this:

    $ unzip qt-sample-program.zip 
    $ cd qt-sample-program/
    $ qmake --version
    QMake version 3.1
    Using Qt version 5.15.13 in /usr/lib/x86_64-linux-gnu
    $ qmake
    $ make
    $ ./qt-sample-program

Make sure that `qmake --version` is actually the Qt 5 version of qmake, not a
Qt 6 version. Depending on your distro, the binary might be called qmake5,
qt5-qmake,... or maybe you have to specify the full path to it (e.g.
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake ).


> I'd say this may have something to do with how we create the rpm package
> (the problem only happens on my Fedora KDE machine).
> 
> On a different machine using Kubuntu 24.10 (Plasma 6.1) I did not get this
> issue either with kf5 or kf6.

This might also be somehow related to your environment (Qt version, KDE
Frameworks,...). The fact that xcb works, but wayland doesn't sounds to me like
it shouldn't be a LO packaging problem, as the only difference between the two
is what Qt QPA platform is used, and that is provided by the Qt packages from
your distro, not the LO packages.

> > Does it happen with the kf5 VCL plugin on master, i.e. 
> > SAL_USE_VCLPLUGIN=kf5?
> 
> Running master with kf5 on the affected machine, the problem DOES happen.

Good to know, so it's a kf5-only issue, not happening with kf6.

> On my Fedora machine I ran
> 
> dnf --installed list | grep qt5
> 
> and all Qt5 packages seem to be on version Qt 5.15.15

Mine on Debian testing is currently 5.15.13+dfsg-4.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102495
[Bug 102495] [META] KDE (kf5) VCL backend bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=145734
[Bug 145734] [META] Qt6/KF6 VCL plugin bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to