Bug 166462 - Notebookbar style gallery items context menu broken
Summary: Notebookbar style gallery items context menu broken
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Notebookbar-Tabbed Writer-Styles
  Show dependency treegraph
 
Reported: 2025-05-05 11:02 UTC by Eyal Rozenberg
Modified: 2025-05-06 07:12 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screencast with LO 25.8 nightly (564.81 KB, video/x-matroska)
2025-05-05 20:18 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-05-05 11:02:29 UTC
If I use the Notebookbar Tabbed UI, and right-click a style in the style gallery - instead of that item's context menu, I get the context menu I would get if I had right-clicked in an "imaginary" situation where the gallery would not scroll, but extend down like a drop-down menu; and if I had clicked at the vertical position of the item, but not in the drop-down menu, but in the actual document.

Thus, if I right-click somewhere in the top half of the top row of items - nothing happens.
If I right-click further down - I get the ruler's right-click context menu.
And if I click yet further down - I get the text body's right-click context menu.

Note that the change in behavior is not aligned with style gallery rows.
Comment 1 V Stuart Foote 2025-05-05 14:31:15 UTC
Sorry not sure I follow. This is referring to the NB Tabbed UI 'Styles Preview'?

If so, in that grided widget, a r-mouse context menu over any preview selected active (and so assigned into document at edit cursor), or not, shows just two reasonable context menu choices:

   Update to match selection
   Edit style...

The Default template fills the grid with 10 entries, they respond to keyboard cursor (U,D,L,R) or position with scrollbar--but gridbox remains limited to showing just 6 preview tiles/icons.

Not seeing an interaction *beyond the bounds* of the 6 visible tiles/icons in the NB gridbox.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3ab82581e5a5abc03c7ff06eac76a0b2fa0c9c34
CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 2 V Stuart Foote 2025-05-05 14:35:56 UTC
(In reply to V Stuart Foote from comment #1)

> keyboard cursor (U,D,L,R) or position with scrollbar--but gridbox remains
> limited to showing just 6 preview tiles/icons.
> 
> Not seeing an interaction *beyond the bounds* of the 6 visible tiles/icons
> in the NB gridbox.

Can't count, there are just 3 visible tiles/icons (each is visually split by its rendered representation). Last row of gridbox (of 10) shows just one.
Comment 3 Eyal Rozenberg 2025-05-05 18:51:01 UTC
I'll try to use the latest nightly and create a screencast.
Comment 4 Eyal Rozenberg 2025-05-05 20:18:57 UTC
Created attachment 200666 [details]
Screencast with LO 25.8 nightly

Installed the latest nightly and produced this screencast to illustrate.

In the video, you can't actually tell when I'm right-clicking, only when the right-clicking has an effect. You'll believe me that, at first, as I was right-clicking, nothing happened.
Comment 5 V Stuart Foote 2025-05-05 23:45:45 UTC
(In reply to Eyal Rozenberg from comment #4)
> Created attachment 200666 [details]
> Screencast with LO 25.8 nightly
> 
> Installed the latest nightly and produced this screencast to illustrate.
> 
> In the video, you can't actually tell when I'm right-clicking, only when the
> right-clicking has an effect. You'll believe me that, at first, as I was
> right-clicking, nothing happened.

OK, but can't reproduce on Win11 with 20250503 master against 25.8.0, clean launch of the context menu for any of the NB Tabbed UI Style previews.

Judging from your os/DE use of the Elementary icon theme, you aren't on a Windows build. What os/DE and what graphics device is in use?
Comment 6 Eyal Rozenberg 2025-05-06 07:12:08 UTC
Oh, right, sorry.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cb149972d5fc82f3ca8009c3e51931c8d94ee664
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US