Project

General

Profile

Emulator Issues #12411

UI: "Open Containing Folder" may open executable in the previous folder

Added by SuperSamus 15 days ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem? Describe what went wrong.

(Tested only on Windows)
Normally on Dolphin's UI, when right-clicking a game and selecting "Open Containing Folder", File Explorer would open the directory that the game is in.
But if the directory before that contains an executable (.bat or .exe) of the same name, then that file will be executed.

-MyFolder
|--WiiGames
| |--game.iso // "Open Containing Folder" this game...
|--WiiGames.bat // ...and this file will be executed

What steps will reproduce the problem?

  • In the same directory, create an executable file (.bat or .exe) and a directory of the same name (don't include the extension and the directory);
  • In that directory just created, put a file that Dolphin can open (like a game ISO or a .dol file);
  • Now on Dolphin add that directory in Config>Paths, so that you can "Open Containing Folder" it;
  • Right-click>Open Containing Folder;
  • File Explorer won't open: the executable will be executed.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes (5.0-13618)

Is the issue present in the latest stable version?

Didn't test. The bug may be related to Qt.

Also available in: Atom PDF