Bug 436649 - Reduce items on context menu or give option to hide them on settings
Summary: Reduce items on context menu or give option to hide them on settings
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: git (master)
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-05 17:36 UTC by ryu.ketsueki
Modified: 2021-06-14 18:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of way too many items on the dock's context menu (1.30 MB, image/png)
2021-05-05 17:36 UTC, ryu.ketsueki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ryu.ketsueki 2021-05-05 17:36:57 UTC
Created attachment 138178 [details]
Screenshot of way too many items on the dock's context menu

This is more of a feature request than a bug report. Latte is awesome for the amount of customization it allows but many times, in the context menu, feel cluttered and untidy for the amount of items. It's unecessary to have "Quit Latte" in the context menu only to be target of a possible misclick, for example. If Latte needs to be closed, Krunner can be used for that.

Another example is the layouts submenu when no layout is set to show in the menu. Or even the "Configure Latte" option that could be moved back to the "Edit Dock/Panel" dialog. The "Add Dock/Panel" option is redundant to the same option in the "Edit Dock/Panel".

One suggestion I have, is to make Latte optionally respond to Plasma's own Edit Mode, hiding options like "Add Widgets...", "Edit Dock/Panel..." and "Configure Latte..." unless Edit Mode is active. That way, feels less cluttered, unlike in that screenshot I sent as attachment.
Comment 1 Michail Vourlakos 2021-05-05 18:04:35 UTC
All this is intentional and decided after plenty of complaints for these options missing.
Comment 2 ryu.ketsueki 2021-05-05 18:15:51 UTC
(In reply to Michail Vourlakos from comment #1)
> All this is intentional and decided after plenty of complaints for these
> options missing.

How about the last part I suggested? About making them only appear if Plasma's Edit Mode is active? Of course, only working if Latte is running on Plasma.
Comment 3 Michail Vourlakos 2021-05-05 18:41:41 UTC
I find edit mode messy...

What could be done is to give the user a way either from text files or from gui to choose which of them should be hidden by default and be shown after the user
chooses right click -> Edit Dock...
Comment 4 ryu.ketsueki 2021-05-06 18:31:13 UTC
(In reply to Michail Vourlakos from comment #3)
> I find edit mode messy...
> 
> What could be done is to give the user a way either from text files or from
> gui to choose which of them should be hidden by default and be shown after
> the user
> chooses right click -> Edit Dock...

Well, if it can be done, it would reduce a lot of the clutter, specially when right clicking elements like Dolphin in the dock
Comment 5 Michail Vourlakos 2021-06-10 21:00:39 UTC
fixed in latest master... provide Actions... option in Latte Preferences that the user can use to define which context menu actions will be always accesible and which will available only in edit mode.
Comment 6 ryu.ketsueki 2021-06-11 22:04:45 UTC
Could the "Edit Dock/Panel..." have an option to be hidden as well? If it's already going to show up on edit mode, it's a bit confusing there is no option to hide it
Comment 7 Michail Vourlakos 2021-06-12 05:18:48 UTC
(In reply to ryu.ketsueki from comment #6)
> Could the "Edit Dock/Panel..." have an option to be hidden as well? If it's
> already going to show up on edit mode, it's a bit confusing there is no
> option to hide it

How would you show dock settings windows if that action is hidden?
Comment 8 ryu.ketsueki 2021-06-14 14:19:23 UTC
(In reply to Michail Vourlakos from comment #7)
> (In reply to ryu.ketsueki from comment #6)
> > Could the "Edit Dock/Panel..." have an option to be hidden as well? If it's
> > already going to show up on edit mode, it's a bit confusing there is no
> > option to hide it
> 
> How would you show dock settings windows if that action is hidden?

The native Plasma panels are edited on Edit Mode, correct? It would only make sense if the Latte panels and docks have the option to be edited on Edit Mode just like the native Plasma panels.
Comment 9 Michail Vourlakos 2021-06-14 14:56:53 UTC
(In reply to ryu.ketsueki from comment #8)
> (In reply to Michail Vourlakos from comment #7)
> > (In reply to ryu.ketsueki from comment #6)
> > > Could the "Edit Dock/Panel..." have an option to be hidden as well? If it's
> > > already going to show up on edit mode, it's a bit confusing there is no
> > > option to hide it
> > 
> > How would you show dock settings windows if that action is hidden?
> 
> The native Plasma panels are edited on Edit Mode, correct? It would only
> make sense if the Latte panels and docks have the option to be edited on
> Edit Mode just like the native Plasma panels.

How plasma panels are triggering edit mode? Dont they use context menu, Edit panel...?
Comment 10 ryu.ketsueki 2021-06-14 17:52:33 UTC
(In reply to Michail Vourlakos from comment #9)
> How plasma panels are triggering edit mode? Dont they use context menu, Edit
> panel...?

What I mean is that by entering Edit Mode, Plasma Panels have a button for editing the panel. But I just noticed they also have options for editing the panel outside Edit Mode so you must pardon me. You may disregard my last comment.
Comment 11 Michail Vourlakos 2021-06-14 18:23:04 UTC
(In reply to ryu.ketsueki from comment #10)
> (In reply to Michail Vourlakos from comment #9)
> > How plasma panels are triggering edit mode? Dont they use context menu, Edit
> > panel...?
> 
> What I mean is that by entering Edit Mode, Plasma Panels have a button for
> editing the panel. But I just noticed they also have options for editing the
> panel outside Edit Mode so you must pardon me. You may disregard my last
> comment.

staying on topic. Hiding edit panel... from context menu is out of question, as long as plasma panels are doing the same. They dont hide Edit Panel from their context menu in normal mode.