Bug 154971 - When inserting a command into a menu, it should be inserted before/after selected item
Summary: When inserting a command into a menu, it should be inserted before/after sele...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Customise-Dialog
  Show dependency treegraph
 
Reported: 2023-04-23 18:41 UTC by Eyal Rozenberg
Modified: 2023-04-24 09:11 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 Eyal Rozenberg 2023-04-23 18:41:11 UTC
Suppose I want to customize one of my menus.

I open the Tools | Customize dialog, select the appropriate menu as the target, scroll down, and select some point - or rather some item - where I want to add a new command. I locate the command on the left, and press the rightwards arrow.

Expected result:
New item added either before or after the selected item

Actual result:
New item added at start of menu, and the listbox scrolls up there

Only without a selection would it make any sense to add an item at the beginning, and even then not necessarily :-(
Comment 1 m_a_riosv 2023-04-23 22:20:37 UTC
Works for me
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded Jumbo
Comment 2 Heiko Tietze 2023-04-24 07:14:08 UTC
(In reply to m.a.riosv from comment #1)
> Works for me

Me too; Target = Comment, right-hand select Reply Comment, left-hand select 200% => Add Item
Comment 3 Eyal Rozenberg 2023-04-24 08:50:38 UTC
You guys are so quick to dismiss bug reports, even from people you know often report valid bugs... I wonder what happens to just random users who file something.

Anyway, try:

Scope: Writer
Target: Edit
Search string: Select
Selected item on "Available Commands" list (left side): Select Sentence
Selected item on "Assigned Command" list (right side): The separator right after "Select Text", or "Select Text" itself

Build info:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Calc: threaded
Comment 4 Heiko Tietze 2023-04-24 08:57:21 UTC
(In reply to Eyal Rozenberg from comment #3)
> Anyway, try...
The command is added after the selected item. Do you get fooled by the fact that the list scrolls up?

> Target: Edit
So "Menus" not "Context Menus", but doesn't matter.

Removing UX to reduce noise; the requested behavior is clearly what is expected- and was has been implemented. If there is an issue it's a bug.
Comment 5 Eyal Rozenberg 2023-04-24 09:06:22 UTC
(In reply to Heiko Tietze from comment #4)
> (In reply to Eyal Rozenberg from comment #3)
> > Anyway, try...
> The command is added after the selected item. Do you get fooled by the fact
> that the list scrolls up?

Yes I did! That's egg on my face I guess.

Shall I:

* Re-resolve as INVALID and do nothing?
* Change the title and rephrase the description in a new comment?
* Re-resolve as INVALID and open a different bug?
Comment 6 Heiko Tietze 2023-04-24 09:11:16 UTC
(In reply to Eyal Rozenberg from comment #5)
> >...the list scrolls up?
> 
> Yes I did! That's egg on my face I guess.

I guess it's a question of the OS/DE how list scroll. If not it would be a different topic.