Bug 421718

Summary: Uninstallation Problem
Product: [Applications] kdenlive Reporter: Yash Arya <yasharya2901>
Component: Setup & InstallationAssignee: Vincent PINON <vpinon>
Status: RESOLVED WORKSFORME    
Severity: critical CC: fritzibaby, jesfercab, veps
Priority: NOR Flags: fritzibaby: Brainstorm+
Version First Reported In: 20.04.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Uninstall Error in Windows

Description Yash Arya 2020-05-18 07:48:55 UTC
Created attachment 128564 [details]
Uninstall Error in Windows

SUMMARY
While trying to uninstall Kdenlive in Windows 7,it showed Access to the path is denied running in C:\Program Files\kdenlive.There was an option to kill the process by clicking Yes but that didn't solved the problem, Access to the path is denied popped up again.

STEPS TO REPRODUCE
1. Go to Programs and Features
2. Select Kdenlive
3. Click Uninstall

OBSERVED RESULT
It said Access to Path is denied.

EXPECTED RESULT
It should have uninstalled Kdenlive from my PC completely without any prompt.

SOFTWARE/OS VERSIONS
Windows: 7 Home Premium 64 bit
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 emohr 2020-05-22 11:50:34 UTC
In Windows we have still the problem that the "dbus-deamon.exe" gets not killed after closing Kdenlive. 

2 possibilities: 
- restart the PC and the de-installer should work or 
- goto task manager (CTRL+Shift+esc) and kill "dbus-deamon.exe" and the de-installer should work.
Comment 2 Bug Janitor Service 2020-06-06 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Yash Arya 2020-06-06 10:32:11 UTC
The bug is still there. While uninstalling after rebooting does work but this is not expected behaviour and therefore must be fixed.
Comment 4 emohr 2021-03-06 17:29:24 UTC
Thank you for the feedback and contribution. 

We should find a way that dbus-deamon.exe get killed when Kdenlive get closed or it get killed before uninstall routine runs.
Comment 5 Veps 2021-03-24 01:29:09 UTC
(In reply to emohr from comment #1)
> In Windows we have still the problem that the "dbus-deamon.exe" gets not
> killed after closing Kdenlive. 
> 
> 2 possibilities: 
> - restart the PC and the de-installer should work or 
> - goto task manager (CTRL+Shift+esc) and kill "dbus-deamon.exe" and the
> de-installer should work.

First of all, I can confirm this bug for:
KDEnlive v20.12.2 on Windows 7 Pro x64
Comment 6 Veps 2021-03-24 02:07:21 UTC
(In reply to emohr from comment #1)
> In Windows we have still the problem that the "dbus-deamon.exe" gets not
> killed after closing Kdenlive. 
> 
> 2 possibilities: 
> - restart the PC and the de-installer should work or 
> - goto task manager (CTRL+Shift+esc) and kill "dbus-deamon.exe" and the
> de-installer should work.

First of all, I can still confirm this bug for:
* KDEnlive: v20.12.2
* OS: Windows 7 Pro x64

FURTHERMORE
* The problem is not solved by restarting! (Was my first thought too but well -- no.)
* Run "./kdenlive/uninstall.exe" as Administrator does not solve the problem too -- what is what you would expect considering the error message. (Just FYI.)
* "dbus-deamon.exe" is, as far as I can tell, not running ("Task manager -> Show process from all users"). Maybe there is another process blocking? Though I'm not sure about the internals of MS Windows but I would expect the binary to get loaded into memory hence I would expect the binary to be deletable from the hard disk though it is currently running/executed.

Memory or not, I can easily (with Admin rights) rename the "kdenlive/bin/dbus-deamon.exe" to somehting else, nevertheless still no un-installation is performed.

MORE FUNNY
However I wonder why "README.md" and "LICENSE.txt" are mared as "read-only" files!?

It gets even more funny when you remove the attribute from the two files, run `dir /ar /s` in console/cmd.exe in the local folder and get no results BUT the Windows Explorer still shows under properties for the folder "./kdenlive" a check for "Read-only (Only applies to files in the folder)". Also at this point un-install.exe still does not work.

HERE IT GETS CREEPY
Un-checking "Read-only" in the Windows Explorer properties dialog, say okay to "Apply changes to this folder, subfolders and files", Windows runs through all the files assumingly and then you get out of the property window and back in and read-only is again/still checked.
Comment 7 Veps 2021-04-17 19:06:18 UTC
And also...
* KDEnlive: v20.12.3
* OS: Windows 7 Pro x64
Comment 8 Julius Künzel 2023-11-06 13:25:28 UTC
Thanks for your report!
I think this issue is fixed in newer versions. Can you please test with the latest version (https://kdenlive.org/download/) and close this report if it is not relevant anymore?
Comment 9 Bug Janitor Service 2023-11-21 03:45:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2023-12-06 03:45:46 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 11 jesfercab 2024-02-17 18:57:42 UTC
The problem still on:
* KDEnlive: v23.08.4
* OS: Windows 7 Pro SP1 x64

* The problem is not solved by restarting.
* Run "./kdenlive/uninstall.exe" as Administrator does not solve the problem
* "dbus-deamon.exe" is not running
Comment 12 emohr 2024-02-18 12:48:33 UTC
Delete the whole folder "C:\Program Files\kdenlive" manually. Kdenlive makes no registry entries. 
If you like to remove all user saved entries delete the files folders described here: https://docs.kdenlive.org/en/getting_started/installation.html#configuration-information.