Bug 427423 - can't launch applications via plasma panel
Summary: can't launch applications via plasma panel
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Icon widget (show other bugs)
Version: 5.18.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-07 17:28 UTC by james.roulston.1
Modified: 2021-12-07 13:13 UTC (History)
4 users (show)

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


Attachments
Screenshot (342.32 KB, image/png)
2020-10-07 17:28 UTC, james.roulston.1
Details
screen.mp4 (3.90 MB, video/mp4)
2020-10-07 20:58 UTC, james.roulston.1
Details
attachment-2324-0.html (3.69 KB, text/html)
2020-10-08 18:05 UTC, james.roulston.1
Details
Error message on launch (17.73 KB, image/png)
2020-11-04 14:52 UTC, farid
Details
Correct path (19.60 KB, image/png)
2020-11-04 14:54 UTC, farid
Details
Launch bug (1.24 MB, video/mp4)
2020-11-04 15:50 UTC, farid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description james.roulston.1 2020-10-07 17:28:13 UTC
Created attachment 132195 [details]
Screenshot

SUMMARY


STEPS TO REPRODUCE
1. Click menu and find application
2. Left click to add to panel(widget)
3. Click Icon on panel
4. A warning will appear to start program
5. Click continue
6. This message appears
"Unknown error code 100
You are not authorised to execute this file.
Please send a full bug report at https://bugs.kde.org."


OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-10-07 19:12:05 UTC
What version of Plasma are you using? What app are you adding to a panel as a widget? Can you attach a screenshot that shows the error? Or even better yet, a brief screen recording of the issue happening?
Comment 2 james.roulston.1 2020-10-07 20:58:53 UTC
Created attachment 132200 [details]
screen.mp4

Hi

I'm using KDE Plasma 5.18.5.
I was trying to add Opera to the panel as a widget as I don't like the pin
to panel mode.
The error occurs with other applications as well.
I have attached a brief recording of the issue.

Kind regards,
James

On Wed, 7 Oct 2020 at 20:12, Nate Graham <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=427423
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>           Component|general                     |Icon
>                  CC|                            |nate@kde.org
>              Status|REPORTED                    |NEEDSINFO
>    Target Milestone|---                         |1.0
>            Assignee|unassigned-bugs@kde.org     |plasma-bugs@kde.org
>             Version|unspecified                 |5.18.5
>             Product|kde                         |plasmashell
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Nate Graham <nate@kde.org> ---
> What version of Plasma are you using? What app are you adding to a panel
> as a
> widget? Can you attach a screenshot that shows the error? Or even better
> yet, a
> brief screen recording of the issue happening?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 james.roulston.1 2020-10-08 18:05:32 UTC
Created attachment 132221 [details]
attachment-2324-0.html

Hi

Update.
I solved the problem, during the installation of Opensuse I set the my home
partition as "mountable by user", I changed this in the /etc/fstab to
"default 0 2" and rebooted and now i can launch them normally.  I
discovered this when I couldn't get an appimage to launch either and some
googling led me to it being an issue when partitions are being set up.
I set it up wrong and that was causing the issue so apologies for taking
your time.

Many thanks

James

On Wed, 7 Oct 2020 at 21:58, James Roulston <james.roulston.1@gmail.com>
wrote:

> Hi
>
> I'm using KDE Plasma 5.18.5.
> I was trying to add Opera to the panel as a widget as I don't like the pin
> to panel mode.
> The error occurs with other applications as well.
> I have attached a brief recording of the issue.
>
> Kind regards,
> James
>
> On Wed, 7 Oct 2020 at 20:12, Nate Graham <bugzilla_noreply@kde.org> wrote:
>
>> https://bugs.kde.org/show_bug.cgi?id=427423
>>
>> Nate Graham <nate@kde.org> changed:
>>
>>            What    |Removed                     |Added
>>
>> ----------------------------------------------------------------------------
>>           Component|general                     |Icon
>>                  CC|                            |nate@kde.org
>>              Status|REPORTED                    |NEEDSINFO
>>    Target Milestone|---                         |1.0
>>            Assignee|unassigned-bugs@kde.org     |plasma-bugs@kde.org
>>             Version|unspecified                 |5.18.5
>>             Product|kde                         |plasmashell
>>          Resolution|---                         |WAITINGFORINFO
>>
>> --- Comment #1 from Nate Graham <nate@kde.org> ---
>> What version of Plasma are you using? What app are you adding to a panel
>> as a
>> widget? Can you attach a screenshot that shows the error? Or even better
>> yet, a
>> brief screen recording of the issue happening?
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
>
>
>
> --
> *James Roulston*
>
Comment 4 Nate Graham 2020-10-08 18:11:08 UTC
Thanks for letting us know!
Comment 5 farid 2020-11-04 14:52:07 UTC
I am getting a similar issue. Prior to 5.20 it used to work. My use case is that I use the Blender binary and have a shortcut to launch it from the panel. Now it gives this message (see attachment).
Comment 6 farid 2020-11-04 14:52:53 UTC
Created attachment 133022 [details]
Error message on launch
Comment 7 farid 2020-11-04 14:54:14 UTC
Created attachment 133023 [details]
Correct path
Comment 8 farid 2020-11-04 14:55:47 UTC
Forgot to mention my specs:

KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.3-arch1-1
OS Type: 64-bit
Comment 9 Nate Graham 2020-11-04 15:43:25 UTC
Very odd.

Still cannot reproduce.
Comment 10 farid 2020-11-04 15:49:42 UTC
(In reply to Nate Graham from comment #9)
> Very odd.
> 
> Still cannot reproduce.

See my latest attachment on how to reproduce, hope it helps...
Comment 11 farid 2020-11-04 15:50:11 UTC
Created attachment 133024 [details]
Launch bug
Comment 12 Martin Koller 2021-02-07 18:15:35 UTC
Can also reproduce using
KDE Frameworks 5.78.0
Qt 5.15.2 (built against 5.15.2)

It has nothing to do with the Plasma panel.
Simply open konqueror (or dolphin) for any folder (let's call it target).
Open another instance of konqi/dolphin for /usr/share/applications
Drag&Drop any .desktop file (e.g. org.kde.okteta.desktop)
from /usr/share/applications to target and select "copy file".
In target, the icon shown has now the red exclamation mark (oxygen icons) since the file has the execute bit cleared.
Click (or double click) the icon and you get the error message:
Unknown error code 100
You are not authorized to execute this file.
Please send a full bug report at https://bugs.kde.org.
Comment 13 Nate Graham 2021-02-09 21:13:26 UTC
Ah this bug! I remember it now. We fixed it in Plasma 5.20. Unfortunately the fix could not be backported to 5.18, sorry. :(
Comment 14 kolAflash 2021-12-07 13:13:23 UTC
(In reply to Nate Graham from comment #13)
> Ah this bug! I remember it now. We fixed it in Plasma 5.20. Unfortunately
> the fix could not be backported to 5.18, sorry. :(

I think it's still present in Plasma-5.20, but it's fixed in Plasma-5.22.5. (see note below)

I'm mostly interested in Plasma-5.20.x for Debian-11.
Will there be a Plasma-5.20.6 release fixing this too?

Or can you point out a patch, the commit or an bug report?
So I can see if the fix can be backported by Debian.


Note:
The bug is still present in Debian-11 (released Aug. 2021, Plasma-5.20.5) and Kubuntu-21.04 (Plasma-5.21.4).
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-11.1.0-amd64-kde.iso
https://cdimage.ubuntu.com/kubuntu/releases/21.04/release/kubuntu-21.04-desktop-amd64.iso
But it's definitely fixed in Kubuntu-21.10 (Plasma-5.22.5)
https://cdimage.ubuntu.com/kubuntu/releases/21.10/release/kubuntu-21.10-desktop-amd64.iso
So I guess it's not exactly fixed in Plasma-5.20, but somewhen until Plasma-5.22.5.