Bug 28905

Summary: Dolphin "add a network directory" (knetattach) link broken
Product: Mageia Reporter: Jybz <j.biernacki+mga>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, ouaurelien
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: dolphin-20.12-4.mga8.src.rpm CVE:
Status comment:

Description Jybz 2021-05-11 14:03:24 CEST
Hello,

First I'm sorry if the sentence is not the original one, LC_ALL=C dolphin didn't switch it back to english.

When trying to re-attach my ftp server using FTPES, I was expecting a new window to fill the options, instead, kwrite (I guess) opened the desktop file.
> [Desktop Entry]
> Name=KNetAttach
> [...]
> GenericName=Network Folder Wizard
> [...]
> Exec=knetattach
> InitialPreference=6
> Icon=knetattach
> Type=Application
> Terminal=false
> X-KDE-StartupNotify=true
> Categories=Qt;KDE;Network;RemoteAccess;
> X-DocPath=knetattach/index.html
> NoDisplay=true
> X-DBUS-ServiceName=org.kde.knetattach

Open dolphin, on the left panel (if not closed), under "remote", open "Network", launch the last entry "Ajouter un dossier réseau" (probably "Add a directory on the network") opens the desktop file with kwrite.
Comment 1 Lewis Smith 2021-05-11 21:04:44 CEST
Without having any network, Dolphin under Mate, "Remote/Network" in LH pane
-> "Add network folder" in the main pane does nothing at all.
Asking Aurélien to try this.

CC: (none) => ouaurelien

Comment 2 Aurelien Oudelet 2021-05-12 18:28:47 CEST
No.

The "Add Network Folder" (Ajouter un dossier réseau en français) icon in Network section of the Remote page of Dolphin is a .desktop file that should launch KNetAttach program.

Dolphin, since 20.12 version, no longer open arbitrary .desktop file that are not in a real Menu directory or created by user.

Instead, it will ask you to review it or execute it. It has a checkbox "Don't ask again" that you should check when you choose to execute.

And now, KNetAttach launches correctly.

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 3 Aurelien Oudelet 2021-05-16 02:13:16 CEST
Reproduced on new VM.

As previously said in Comment 2, this is strange that a .desktop file is here, as there is a "Add Network Folder" in tool bar. It seems to come from nowhere.

Assigning to KDE maintainers.

I have not checked Cauldron.

Source RPM: (none) => dolphin-20.12-4.mga8.src.rpm
Status: UNCONFIRMED => NEW
Ever confirmed: 0 => 1
Assignee: bugsquad => kde

Comment 4 David GEIGER 2021-05-16 06:36:37 CEST
Something interesting:


https://github.com/KDE/dolphin/commit/33270dd4423eea329b8f20db17f8d70ab7b108da

https://invent.kde.org/frameworks/kio/-/merge_requests/260


One more time it is something which seems fixed with Kf5 5.78!

CC: (none) => geiger.david68210