[go: up one dir, main page]

Menu

#167 Drag and drop after update

Next snapshot
open
nobody
update (1)
1
2020-03-24
2018-03-29
Anonymous
No

When finished updating to a new version using the update-tool, the program will automatically start. In that state, it's not possible to drag and drop a file from Windows Explorer into Fre:ac. You will have to close the program and restart it to re-enable this.

Discussion

  • Robert Kausch

    Robert Kausch - 2018-03-29

    Thank you for reporting this!

    This happens because the updater is running as an elevated process and then passes this process elevation on to fre:ac when restarting it. As Windows does not allow drag & drop between elevated an non-elevated processes, you will need to restart fre:ac for drag & drop to work again.

    There is no really good fix for this as there is no Windows API to start a non-elevated process from an elevated one. The method suggested by Microsoft and others is more of a curious hack than a clean solution. It involves getting a handle to the shell's root window, querying the Explorer's process ID from it, opening that process to get a token describing its elevation level, copying the token and finally using it to start an app using the shell's elevation level.

    I'll think about it, but I'm not sure I really want to implement something that hacky...

     
  • Anonymous

    Anonymous - 2018-04-03

    Ok, thanks for explaining that.
    My compliments for this super application!

    Ramon.

     

Anonymous
Anonymous

Add attachments
Cancel