Skip to content

Focus panels on click, open documents without waiting, add Shift+Enter - #3

Merged
Saixus merged 1 commit into
mainfrom
claude/panel-hover-file-handling-1ea4b5
Oct 6, 2026
Merged

Saixus merged 1 commit into
mainfrom
claude/panel-hover-file-handling-1ea4b5

Conversation

@Saixus

@Saixus Saixus commented Oct 3, 2026

Copy link
Copy Markdown
Owner

What changes

  • Click-only focus. Moving the pointer over the other panel no longer makes it active; only a click does. The wheel scrolls whichever panel it is over without taking the focus.
  • Sort letter opens the drive menu. Clicking the letter in a panel's top-left corner (n when sorted by name) opens that panel's drive menu, as Alt+F1 / Alt+F2 do.
  • Enter no longer locks the console on Word/Excel. A document, or a program with its own window, is handed to the system (ShellExecute on Windows, xdg-open / open elsewhere) and the panels come straight back. Console programs, .bat / .cmd files and documents whose associated program is a console program (.py via py.exe) still run on the user screen as before. On Windows the choice comes from the PE subsystem field, read from the program itself or from the associated program (AssocQueryStringW).
  • Shift+Enter opens a folder in Explorer (the desktop's file manager elsewhere); on .. it opens the folder the panel shows. On a file it starts the file with its associated program without waiting. Inside an archive, a file is extracted first, and a folder opens the archive file itself.

Help screen, README, CHANGELOG and the project page are updated.

Tests

New LaunchTests.cs: Enter/Shift+Enter routing in the panel, the drive-button hit test, the PE subsystem reader on synthetic images, the console-vs-detached decision, start-info building, headless no-op, and app-level hover / wheel / sort-letter-click behaviour. Full suite: 1855 passed.

🤖 Generated with Claude Code

- Only a mouse click moves the focus between panels; hovering no longer
  does, and the wheel scrolls whichever panel it is over.
- A click on the sort letter in a panel's top-left corner opens that
  panel's drive menu.
- Enter on a document or a windowed program hands it to the system and
  returns at once instead of locking the console until Word or Excel is
  closed. Console programs, batch files and documents opened by a console
  program still run on the user screen; the choice reads the subsystem
  from the PE header (the associated program's, for a document).
- Shift+Enter opens a folder in the system file manager and a file with
  its associated program, without waiting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Saixus
Saixus merged commit 70d529b into main Oct 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant