Bug 350158

Summary: [REGRESSION] Applet settings for newly added widgets inaccessible
Product: [Plasma] plasmashell Reporter: Rob <robert.devanna>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: major CC: kde, notmart, rulatir
Priority: NOR Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot of the "Keyboard Shortcuts" dialog
screenshot of 'not-broken', icon settings dialog, under KDE4

Description Rob 2015-07-12 23:15:52 UTC
I've installed

	rpm -qa | grep -i plasma-framework-5
		plasma-framework-5.13.0git.20150710T102506~1b8960c-1.1.x86_64
	plasmashell --version
		plasmashell 5.3.90
	lsb_release -rd
		Description:    openSUSE 13.2 (Harlequin) (x86_64)
		Release:        13.2


Add any Widgets or Apps to any plasma5 panel

right-click on a Panel icon to "Edit Settings".

Instead of the widget- or app-icon's Settings, a "Keyboard Shortcuts" dialog is opened.

THis is true for any/all icons' "Edit settings" -- always/only the same "Keyboard Shortcuts" is opened

Reproducible: Always
Comment 1 Rob 2015-07-13 00:07:46 UTC
Created attachment 93577 [details]
screenshot of the "Keyboard Shortcuts" dialog
Comment 2 Kai Uwe Broulik 2015-07-13 20:35:02 UTC
When you drag an widget from the widget explorer to the panel, or you double click it and it adds itself, the config dialog is not accessible for most widgets (it works for eg. the analog clock, however). Even after restarting, the settings cannot be accessed.
Comment 3 Kai Uwe Broulik 2015-07-13 20:35:46 UTC
This is also true for the desktop containment.
Comment 4 Kai Uwe Broulik 2015-07-13 20:40:26 UTC
Ah, no, I was looking wrong. Are you referring to the icon widget? Can you try if it happens with any specific applet?
Comment 5 Rob 2015-07-13 21:22:56 UTC
Yesterday, prior to the last few upgrades from git-latest, it was ALL the icons.

Today, after upgrades, it's only some.

In my top-of-the-screen, 2nd plasma5 panel, I currently have the following icons, left to right:

  ICON Type & Name              Shown @ Rt-Click on ICON       KybdShortcuts Dialog?
-----------------------------  -----------------------------  -----------------
widget:  Show Desktop          Show Desktop Settings ...           Y
widget:  Pager                 Pager Settings ...                  N
app:     Dolphin               Icon Settings ...                   Y
app:     kCalc                 Icon Settings ...                   Y
Panel spacer                   Set flexible size ...               N
app:     Firefox               Icon Settings ...                   Y
app:     Thunderbird           Icon Settings ...                   Y
app:     Xchat                 Icon Settings ...                   Y
Panel spacer                   Set flexible size ...               N
app:     Eclipse               Icon Settings ...                   Y
app:     Atom                  Icon Settings ...                   Y
app:     Kate                  Icon Settings ...                   Y
widget:  kNotes                Notes Settings ...                  Y
Panel spacer                   Set flexible size ...               N
widget:  System Tray           System Tray Settings ...            N
widget:  Network Load Monitor  Network Monitor Settings ...        N
widget:  System Load Viewer    System Load Viewer Settings ...     N
Panel spacer                   Set flexible size ...               N
widget:  Yahoo Weather Widget  Yahoo Weather Widget Settings ...   N
widget:  Digital Clock         Digital Clock Settings ...          N
Panel spacer                   Set flexible size ...               N
app:     YaST2                 Icon Settings ...                   Y
app:     Software Manager      Icon Settings ...                   Y
app:     kConsole              Icon Settings ...                   Y
widget:  KDE Application Menu  Application Menu Settings ...       N

You can see the display of the KybdShortcuts dialog occurs inconsistently -- at least to my eye
Comment 6 Kai Uwe Broulik 2015-07-13 21:27:45 UTC
Thanks for this extensive list!
From what I can see everything is fine. Not all applets have a dedicated settings page (such as the show desktop one), the keyboard shortcut is available for most plasmoids, so this page is always there. For the icon plasmoid at the moment it's not possible to configure the app behind it, which is a known issue.
Comment 7 Rob 2015-07-13 21:38:33 UTC
Created attachment 93587 [details]
screenshot of 'not-broken', icon settings dialog, under KDE4

(In reply to Kai Uwe Broulik from comment #6)
> Thanks for this extensive list!
> From what I can see everything is fine. Not all applets have a dedicated
> settings page (such as the show desktop one), the keyboard shortcut is
> available for most plasmoids, so this page is always there. For the icon
> plasmoid at the moment it's not possible to configure the app behind it,
> which is a known issue.

If this is 'fine', then it's VERY different behavior that earlier versions of KDE.  Under KDE4, I'm able to access/edit each of the icons' application path, etc.

E.g., for exactly the same Firefox app icon added to a (still) KDE4 box, when I click on the "Icon Settings" , a rich dialog opens, allowing me to set application path/command, opening behavior, etc.  See the attached image ...

ALL of this functionality is lost for ALL of those icons that list "Y" in the KybdSettings dialog column of the table I listed earlier

If I toggle the install on THIS system, simply downgrading to KDE4 from KDE5 (yes, THAT painful process), on restart the IconSettings behavior returns to normal.  Re-upgrade, and it's re-broken, as above.
Comment 8 Rob 2015-07-13 21:46:33 UTC
I.e., 

Need/want to change a Panel app's  launch parameters?

	Previous workflow:

		Rt-click on Icon
		Select "Icon Settings"
		Edit icon's app's launch parameters
		Done

	Current workflow:

		Rt-click on KDE Application Manager in selected Panel
		Select "Edit Applications"
		Navigate to target Application
		Edit target Application's launch parameters
		Close Edit Applications, update sys db
		Click on Panel's EDIT button to enter EDIT mode
		Delete previous App icon
		Exit Panel EDIT mode
		Reopen KDE Application Manager
		Select target Application; drag Icon to Panel
		Done

NOT an improvement by any stretch ....
Comment 9 Marco Martin 2015-07-14 11:18:47 UTC
the "icon" applet doesn't have any settings dialog implemented at all in plasma5
Comment 10 Rob 2015-07-21 22:39:42 UTC
> the "icon" applet doesn't have any settings dialog implemented at all in plasma5

Then it's a regression ...
Comment 11 Kai Uwe Broulik 2015-07-25 13:49:01 UTC

*** This bug has been marked as a duplicate of bug 349177 ***
Comment 12 Szczepan Hołyszewski 2015-11-20 18:33:18 UTC
Why is it  "RESOLVED/UMAINTAINED"?

What facility for adding arbitrary program launchers to panels ***IS*** maintained instead?