Working Directory Auto Switch Bug

Issue Description

Qoder automatically switches the working directory to previously used directories. The issue can only be temporarily fixed by manually deleting directory history records, and it causes the software to unintentionally modify files that should not be changed.

Steps to Reproduce

  1. Use Qoder and switch to different working directories during operation.
  2. Continue using the software after accessing historical directories.
  3. Observe that Qoder automatically jumps back to past working directories without manual operation.

Expected Behavior

Qoder should keep the current working directory stable and will not automatically switch to previously used directories.

Actual Behavior

Qoder automatically switches the working directory to historical directories. Manually deleting directory usage records can only solve the problem temporarily, and this bug leads to unintended modification of normal files.

Screenshots / Screen Recordings

Screen recording link: https://youtu.be/MFnFQqgcZNI

Operating System

Windows 11

Current Qoder Version (Menu → About Qoder → Copy)

1.7.0