| Summary: | Some zip on firefox are not open with the selected Ark app, but with "share with kdeconnect". | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jybz <j.biernacki+mga> |
| Component: | RPM Packages | Assignee: | KDE maintainers <kde> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, fri, mageia, ouaurelien |
| Version: | 8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | kdeconnect-kde-20.12.0-1.mga8.src.rpm | CVE: | |
| Status comment: | Don't register /usr/bin/kdeconnect-handler with all file types | ||
| Bug Depends on: | |||
| Bug Blocks: | 28788 | ||
| Attachments: |
Screenshot of the kdeconnect call
Edit File Type application/zip Edit File Type image-png |
||
|
Description
Jybz
2021-02-09 17:21:08 CET
Created attachment 12323 [details]
Screenshot of the kdeconnect call
See a screenshot proving firefox calls kdeconnect-handler instead of ark.
In :
plasma-menu → internet → open on a kdeconnect device → [right clic] properties → application → supported files → application/octet-stream
Does it give any interested information ?
M8 Plasma x86_64 from RC1 public CI installation. I confirm bug with above link. The https://github.com/pxb1988/dex2jar/releases/download/2.0/dex-tools-2.0.zip link is affected. Workaround: Save on disk before open it. This always opens Ark. That is interesting is that "Open on connected device via KDE Connect" is listed on many mime-type. This should not occur. Seems an error in mime/type association here. CC:
(none) =>
ouaurelien Created attachment 12324 [details]
Edit File Type application/zip
"Open on connected device via KDE Connect"
is available in "Open" properties. This should not occur. This leads to inconsistency and potentially bad bugs like this one.
This application should not be registered to "Open" neither file but available as a Service, in Share menu, or Action menu. Note that there is a Send to device available in Share submenu of Right click one.
Created attachment 12325 [details]
Edit File Type image-png
Note the same for png image. This obvious app should not be here.
Upstream bug?
In facts, it is in all file associations in systemsettings5 => Personalization => Applications => File Associations Every file types have an Entry "Open on connected device via KDE Connect" in Application Preference Order. So, basically, all files can be "opened" with this Application to be send to a phone that has been registered with the current running Plasma system. That's too much. /usr/bin/kdeconnect-handler is owned by kdeconnect-kde Assigning to KDE maintainers. Source RPM:
(none) =>
kdeconnect-kde-20.12.0-1.mga8.src.rpm
Aurelien Oudelet
2021-02-09 18:08:25 CET
Assignee:
bugsquad =>
kde @Jybz, Workaround for this bug: remove "Open on connected device via KDE Connect" in Application Preference Order for application/zip in systemsettings5 => Personalization => Applications => File Associations Firefox no longer switches silently to this app and still opens a file in Ark. Better: always download and save to a directory before really Open a file/application/whatever. Also something is strange with the zip file $ zipinfo 2.0.zip |head -n 5 Archive: 2.0.zip Zip file size: 918893 bytes, number of entries: 492 drwx--- 0.0 fat 0 bx stor 14-Sep-29 22:00 dex2jar-2.0/ -rw---- 0.0 fat 156 tx defN 14-Sep-29 22:00 dex2jar-2.0/.hgignore -rw---- 0.0 fat 1475 tx defN 14-Sep-29 22:00 dex2jar-2.0/.hgtags $ zipinfo dex-tools-2.0.zip |head -n 5 Archive: dex-tools-2.0.zip Zip file size: 2362460 bytes, number of entries: 34 ?rwsrwsrwt 2.0 unx 0 b- stor 14-Oct-27 17:32 dex2jar-2.0/ ?rwsrwsrwt 2.0 unx 0 b- stor 14-Oct-27 17:32 dex2jar-2.0/lib/ -rw-rw-r-- 2.0 unx 78909 b- defN 14-Oct-27 17:31 dex2jar-2.0/lib/dex-translator-2.0.jar Note the unknown file type for both directories, and suid/sgid bits set. What impact that could have, I haven't looked into. CC:
(none) =>
davidwhodgins
Aurelien Oudelet
2021-04-16 13:20:43 CEST
Blocks:
(none) =>
28788 Side effect? This bug was reported with something else than firefox: https://www.mageialinux-online.org/forum/topic-29724+libreoffice.php Dirty workarround: > su -c 'mv /usr/share/applications/org.kde.kdeconnect_open.desktop /usr/share/applications/org.kde.kdeconnect_open.desktop.bak'
Morgan Leijström
2022-03-22 09:25:21 CET
CC:
(none) =>
fri done on cauldron. I will later on mga8 CC:
(none) =>
mageia |