Bug 290368 - Cannot add applications to desktop
Summary: Cannot add applications to desktop
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: desktop (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 05:05 UTC by abrahams
Modified: 2012-01-11 15:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abrahams 2012-01-02 05:05:05 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I open the K menu and navigate to an application. If I try to drag it to the desktop, the screen goes black for several seconds and then comes back -- without the application  If I right-click on the application and choose "Add to Desktop", nothing happens.  My desktop is set to Folder View.

I've had similar problems with bringing applications to the desktop in the past, but not recently.

It may or may not be relevant that I had just installed KDE 4.7.95.  Before the installation, I had a number of application icons on the desktop.  After the installation, they were all gone.


Reproducible: Always

Steps to Reproduce:
Either:

1. Go to an application on the K menu and drag it to the desktop, or

2. Right-click on an application on the K menu and choose "Add to Desktop".

Actual Results:  
Case 1: screen sometimes goes black for several seconds, and afterwards the application is not on the desktop.
Case 2: application is not on the desktop

Expected Results:  
Put selected application on the desktop.
Comment 1 abrahams 2012-01-03 18:23:21 UTC
Apparently when I use "add to desktop" the application sometimes shows up on one desktop -- but not the current one, and not always the same one.  I discovered that by accident.

I saw similar behavior quite a while ago, but the problem then was fixed.
Comment 2 Anne-Marie Mahfouf 2012-01-03 19:21:52 UTC
What's your Linux distribution and your Qt and KDE versions please?
Comment 3 Anne-Marie Mahfouf 2012-01-03 19:29:12 UTC
And what are you Desktop settings? How many desktops, did you enable "Different widgets for each desktop?
Comment 4 abrahams 2012-01-03 23:35:48 UTC
I'm running Kubuntu 11.10, KDE 4.7.95, and QT 4:4.7.4-0ubuntu8 (QT version according to Synaptic).  According to System Settings/Virtual Desktops, I have 12 desktops with different widgets for each desktop.  What other desktop settings would you like to know?

The reason I'm running the experimental version 4.7.95 is that kmail under 4.73 is a disaster - it was forever hanging on "Retrieving Folder Contents".  I then discovered that kmail under 4.7.95 is even worse -- it can't keep its message index straight.  This is just background information for you -- I assume kmail is someone else's problem.
Comment 5 Anne-Marie Mahfouf 2012-01-04 08:35:33 UTC
When I set different desktops and I enable "Different widgets for each desktop" I can reproduce, using KDE 4.8 from 4.8 branch (RC 2). It seems that "Add to desktop" adds to the next desktop.
Comment 6 abrahams 2012-01-05 00:15:59 UTC
OK, you've verified half of what I observed.  But what happens when you try to drag an application from the K menu to the desktop?
Comment 7 Anne-Marie Mahfouf 2012-01-05 07:26:17 UTC
Ok we need to really list all the problems because otherwise the bug report becomes a mess. 
So far I tested with Desktop and NOT with Folderview which is what you have. 

In 4.7.4, when I have 4 desktops, each set as Desktop layout and with "Different
widgets for each desktop" enabled, dragging from Kickoff to any desktop works as expected.

You need to check this (a new user) then check what happens in your configuration.
Comment 8 Anne-Marie Mahfouf 2012-01-06 21:27:45 UTC
"Add to desktop" fix for "Different widgets for each desktop": https://git.reviewboard.kde.org/r/103645/
works for desktops set as Desktop

When the desktops are set as Folderview, I am not sure what the behavior should be but it does not break things further anyway ;)
Comment 9 abrahams 2012-01-07 03:02:50 UTC
I just installed 4.9.7 (the rc2 release) today.  Dragging from the K menu works in either folder view or desktop view, but "Add to Desktop" works in neither view. For me at least.
Comment 10 Anne-Marie Mahfouf 2012-01-11 15:08:47 UTC
Git commit 76e6b40605e711fe68ab04da06111eea0ff70289 by Anne-Marie Mahfouf.
Committed on 11/01/2012 at 15:59.
Pushed by annma into branch 'KDE/4.8'.

Fix "Add to desktop" when "Different widgets for each desktop" is enabled
abrahams, you'll reopen if this does not fix it when you'll update to 4.8, thans for your cooperation
FIXEDIN: 4.8.0
REVIEWBOARD:103645

M  +1    -1    plasma/desktop/applets/kickoff/ui/contextmenufactory.cpp

http://commits.kde.org/kde-workspace/76e6b40605e711fe68ab04da06111eea0ff70289
Comment 11 Anne-Marie Mahfouf 2012-01-11 15:25:22 UTC
Git commit 105b03bec8be119380c8e7ff2f1a53ea38177cf0 by Anne-Marie Mahfouf.
Committed on 11/01/2012 at 16:21.
Pushed by annma into branch 'master'.

Forward port - so I can get my keywords right
FIXED-IN:4.8.0
REVIEW:103645

M  +1    -1    plasma/desktop/applets/kickoff/ui/contextmenufactory.cpp

http://commits.kde.org/kde-workspace/105b03bec8be119380c8e7ff2f1a53ea38177cf0