cannot load other image in the same directory when only passing file name
Open
Nobody has claimed this yet.
🛠 improvement
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 752
- Avg merge
- 10d 14h
- Merged PRs (30d)
- 1
Description
System information
- Windows OS version: Windows 11 Pro 23H2 22631.4112
- ImageGlass version: 9.1.8.723 (64-bit)
- ImageGlass release: Classic (installed by winget)
To Reproduce
Steps to reproduce the behavior:
- add
C:\Program Files\ImageGlass\intoPATH - save some image files
1.jpg2.jpg3.jpgunderC:\images\ - open
powershellorcmd cdtoC:\images\- run below command:
5.1imageglass "C:\images\1.jpg"-->can also load2.jpgand3.jpg
5.2imageglass ".\1.jpg"-->can also load2.jpgand3.jpg
5.3imageglass "1.jpg"-->CANNOT load2.jpgand3.jpg
Expected behavior
always can load other image in the same directory
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior with the three documented ImageGlass commands from PowerShell or cmd on Windows 11, comparing bare file names with absolute and .\ paths. Trace the command-line startup and image-directory handling; done means opening 1.jpg also permits browsing to 2.jpg and 3.jpg in the same directory for all three invocation forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100