Startup focus

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
Post Reply
Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Startup focus

Post by Quaraxkad »

In the 32-bit versions, launching XY sets focus to the list item view. In 64-bit versions, the focus on launch is the address bar. I couldn't find any options to change this behaviour.

Horst
Posts: 1330
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Startup focus

Post by Horst »

For me, the focus is restored where it was on the last stop.
As I never leave XY with focus on the address bar
it starts in the left list window (2 pane layout)
Windows 11 Home, Version 25H2 (OS Build 26200.7171)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1400a (x64), Everything Toolbar 2.1.0, Listary Pro 6.3.6.99

Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Re: Startup focus

Post by Quaraxkad »

Hmm... In further testing I'm finding the behaviour to be unpredictable... I tested by launching a fresh instance of XY directly out of the noinstall zip, 100% default configuration. The focus went to the address bar. Now I just tried a new noinstall extraction, and like you said it did seem to focus on whatever was focused previously... But then launching from the original zip again the focus is always on the folder tree... It's even having an effect on my completely separate 32-bit install, which for some reason is now launching with address bar focus when it has never done so before. My main install (also portable) has Save settings on exit [Startup & Exit - Save Settings] disabled. How does any instance of XY determind where to set focus on startup? It must not be saved in the local ini, otherwise a standalone portable version should not have affected my main portable configuration. I don't understand what's happening...

Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Re: Startup focus

Post by Quaraxkad »

No matter what I do, the 64-bit version will not start with focus set to the file list using my ini configuration. A separate copy from the noinstall zip does launch with focus wherever it was when last closed. It looks like it's supposed to use [General]LastFocus ini value. Mine is set to L, and it still starts up with address bar focus.

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: Startup focus

Post by bossi »

why not just use exe flag : /script="::focus 'L'"

Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Re: Startup focus

Post by Quaraxkad »

bossi wrote: 24 Oct 2025 17:22 why not just use exe flag : /script="::focus 'L'"
I just tested that, it still focused the address bar.

admin
Site Admin
Posts: 64857
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Startup focus

Post by admin »

Confirmed when the main menu bar is hidden. Tricky situation. Unfortunately the various tB-bug-workarounds now come in conflict with each other. At the moment there is nothing I can do. :|

admin
Site Admin
Posts: 64857
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Startup focus

Post by admin »

Found a dirty hack that fixes it. Next beta.

Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Re: Startup focus

Post by Quaraxkad »

Fix confirmed in v28.00.0502. Thanks!

Post Reply