[Bug 158994] Update notification bubble at wrong position (Wayland)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Feb 8 12:13:14 UTC 2025


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

Michael Weghorn <m.weghorn at posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needsUXEval
                 CC|                            |libreoffice-ux-advise at lists
                   |                            |.freedesktop.org
            Summary|Update notification bubble  |Update notification bubble
                   |at wrong position (kf5,     |at wrong position (Wayland)
                   |Wayland)                    |
             Blocks|                            |103182

--- Comment #7 from Michael Weghorn <m.weghorn at posteo.de> ---
The current approach of using a standalone window (class BubbleWindow, declared
in vcl/inc/bubblewindow.hxx ) doesn't work on Wayland, because it's not
possible to position a window at an arbitrary location there.
As a consequence, the window simply shows up at the centre of the existing LO
window. For gtk3, it additionally looks very odd and has a window frame.

Screenshots:
* gtk3: attachment 199068 from bug 157521
* kf5: attachment 199069 from bug 157521

I think a different approach is needed (at least for these 2 VCL plugins). Some
potential approaches might be:

* replace both, the button in the menubar and the "bubble window" by a
completely different solution (e.g. an info bar or a dialog, but that might be
more disruptive than the current solution - at least if it works correctly)
* Leave the button in the menubar and show the text in a tooltip for that
button instead of the custom "bubble window".

CC'ing the UX team, as this can't be fixed without a redesign, IIUC.


Following are sample steps to reproduce.

# Prerequisites:

* Wayland session on Linux
* an official TDF build of LibreOffice (that has the update check enabled, e.g.
25.2.0 downloaded from the TDF website)

# Sammple steps to reproduce:

1) download the LanguageTool extension [1], version 6.3 (not the latest
version!), direct link: [2]
2) start LibreOffice
3) install the extension: "Tools" -> "Extension" -> "Add", select the file
downloaded in step 1, select "Only for me"
4) restart LibreOffice, open Writer
5) wait until a notification shows up that extension updates are available
(takes ~30 seconds in my setup)

# Actual result:

* A button shows up in the menu bar (OK)
* a "bubble" shows up with this message: "Updates for extensions are available.
Click the icon for more information."
* That bubble is misplaced, in the middle of the LibreOffice window

Screenshots will be attached.

# Expected result:

The bubble should be located right below the menubar button, pointing to it
because that button is the "icon" that should be clicked to get more
information.

# More information

It works fine with the "gen" VCL plugin (which runs on XWayland, not native
Wayland)


Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 32; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: CL threaded

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 32; OS: Linux 6.12; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: CL threaded


[1] https://extensions.libreoffice.org/en/extensions/show/languagetool
[2]
https://extensions.libreoffice.org/assets/downloads/3710/1697301266/LanguageTool-6.3.oxt


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103182
[Bug 103182] [META] GTK3-specific bugs
-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list