Bug 403840 - [feature] - option to enable/disable Meta pressed action
Summary: [feature] - option to enable/disable Meta pressed action
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-01 18:31 UTC by Michail Vourlakos
Modified: 2019-02-10 00:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michail Vourlakos 2019-02-01 18:31:58 UTC
Git version now supports Meta is pressed in order to show Latte Views with Shortcuts Badges to enhance usability. But there is a chance that this behavior breaks some user workflows so it should be better to be optional or at least have an option to disable it through Latte->Preferences
Comment 1 Diego Marino 2019-02-04 21:49:57 UTC
I don't know if it is related, but if I have a panel with the application launcher plus a dock with Latte plasmoid, it seems I can't use Meta+1,2,3 to launch the plasmoid entries anymore. It works fine with the ubuntu ppa version, it does not work with the git one (at least for me)
Comment 2 Diego Marino 2019-02-04 21:56:12 UTC
Actually it seems to be broken in any layout for me.
Comment 3 trmdi 2019-02-05 03:48:34 UTC
(In reply to Michail Vourlakos from comment #0)
> Git version now supports Meta is pressed in order to show Latte Views with
> Shortcuts Badges to enhance usability. But there is a chance that this
> behavior breaks some user workflows so it should be better to be optional or
> at least have an option to disable it through Latte->Preferences

Can you give an example that it breaks something?
I think we shouldn't add a new option if we don't have an real issue with it.
Too many options could confuse users.
Comment 4 trmdi 2019-02-05 04:04:49 UTC
(In reply to marinodiego.96+kde from comment #2)
> Actually it seems to be broken in any layout for me.

Try right clicking on your dock that has Latte Plasmoid > Behavior > Activate base on position...

In the current git version, that feature is disabled by default, we are bringing it back.
Comment 5 Diego Marino 2019-02-05 15:35:06 UTC
(In reply to trmdi from comment #4)
> (In reply to marinodiego.96+kde from comment #2)
> > Actually it seems to be broken in any layout for me.
> 
> Try right clicking on your dock that has Latte Plasmoid > Behavior >
> Activate base on position...
> 
> In the current git version, that feature is disabled by default, we are
> bringing it back.

Yeah I know about that, but I'd prefer to launch only the plasmoid entries, like I was able to do with the ppa version.
If I have a widget on the left of the plasmoid, I'd like it to be ignored, so meta+1 would start the first entry of the plasmoid, not the widget.
Comment 6 Michail Vourlakos 2019-02-05 16:08:13 UTC
(In reply to marinodiego.96+kde from comment #5)
> (In reply to trmdi from comment #4)
> > (In reply to marinodiego.96+kde from comment #2)
> > > Actually it seems to be broken in any layout for me.
> > 
> > Try right clicking on your dock that has Latte Plasmoid > Behavior >
> > Activate base on position...
> > 
> > In the current git version, that feature is disabled by default, we are
> > bringing it back.
> 
> Yeah I know about that, but I'd prefer to launch only the plasmoid entries,
> like I was able to do with the ppa version.
> If I have a widget on the left of the plasmoid, I'd like it to be ignored,
> so meta+1 would start the first entry of the plasmoid, not the widget.

You must activate at Tasks: "Based on position shortcuts apply only to tasks"
Comment 7 Diego Marino 2019-02-05 16:11:31 UTC
I couldn't find it. Thanks.
Comment 8 Michail Vourlakos 2019-02-10 00:41:16 UTC
Git commit 20b76a182ccf51f65332535802b7eb0b0beea919 by Michail Vourlakos.
Committed on 10/02/2019 at 00:39.
Pushed by mvourlakos into branch 'master'.

add/enable option for MetaPressAndHold action

--user can now enable/disable the Meta pressAndHold
behavior that shows shortcuts badges. The new option
is located at Latte preferences.

M  +1    -1    app/lattecorona.cpp
M  +1    -1    app/lattecorona.h
M  +9    -2    app/settings/settingsdialog.cpp
M  +22   -0    app/settings/universalsettings.cpp
M  +5    -0    app/settings/universalsettings.h
M  +10   -0    app/shortcuts/globalshortcuts.cpp
M  +19   -1    app/shortcuts/modifiertracker.cpp
M  +6    -0    app/shortcuts/modifiertracker.h

https://commits.kde.org/latte-dock/20b76a182ccf51f65332535802b7eb0b0beea919