Zandronum Chat @ irc.zandronum.com
#zandronum
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003262Doomseeker[All Projects] Suggestionpublic2017-09-12 03:332017-09-12 18:14
ReporterWubTheCaptain 
Assigned To 
PriorityhighSeveritytweakReproducibilityalways
StatusnewResolutionopen 
Platformx86_64OSDebian GNU/LinuxOS Versionbuster/sid
Product Version1.1 
Target VersionFixed in Version 
Summary0003262: Allow $HOME and/or ~/ in file paths
DescriptionDoomseeker currently requires the file path to be absolute. ~/ and $HOME are not recognized as valid alternatives to /home/<username>, instead /home/<username> (e.g. /home/wub in my case) is written to each configuration. In example for IWAD paths, ~/ and $HOME fail with "Iwad Path error".

This could possibly be extended to other user-configurable file paths, such as server executable path.
Steps To Reproduce

  1. Have a defined home folder for an Unix-like user. Mine is /home/wub. This is assumed to be the same as ~/ and $HOME.

  2. Have an IWAD of your choice in your preferred location somewhere in your home folder. Mine is /home/wub/.local/share/games/doom/freedoom.wad.

  3. Open the "Create Game" dialog in Doomseeker. If necessary, configure the minimum necessary to start a server.

  4. Attempt to start a server with IWAD path at preferred location: "/home/wub/.local/share/games/doom/freedoom.wad". This should work.

  5. Attempt to start a server with IWAD path at preferred location: "~/.local/share/games/doom/freedoom.wad". This should work, but fails to an Iwad Path error.

  6. Attempt to start a server with IWAD path at preferred location: "$HOME/.local/share/games/doom/freedoom.wad". This should work, but fails to an Iwad Path error.

Additional InformationChanging the path of my home folder (as a consequence of renaming my username on the local system) means all my previous configurations with IWAD paths in the "Create Game" window and various IWAD/PWAD paths subsequently need fixing to the new location.

If I recall correctly, at worst this means the "Create Game" window fails to list the additional WADs and they will be missing. The paths still exist in the .ini configuration and need to be manually edited to the new paths in a text editor.

In reverse: If I keep my old home location, no change is required if the user wants to hard-type their old path.
Attached Fileslog file icon dpkg.log [^] (3,173 bytes) 2017-09-12 03:37

- Relationships

-  Notes
User avatar (0018287)
WubTheCaptain (reporter)
2017-09-12 03:37
edited on: 2017-09-12 03:38

Tested with Qt5 5.9.1 for original suggestion.


Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: Zalewa
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2017-09-12 03:33 WubTheCaptain New Issue
2017-09-12 03:37 WubTheCaptain Note Added: 0018287
2017-09-12 03:37 WubTheCaptain File Added: dpkg.log
2017-09-12 03:38 WubTheCaptain Note Edited: 0018287 View Revisions






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker