Debugging a corrupt .ini configuration file?

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
WirlyWirly
Posts: 315
Joined: 21 Oct 2020 23:33
Location: XY 64-Bit | Win 10 @ 100% (3440x1440)

Debugging a corrupt .ini configuration file?

Post by WirlyWirly »

I use the Tab key to navigate between dual-panes, but for the last month I've been having an issue where the Tab key navigates between both the panes and live-filter box. The same behavior you would get it you held down Shift + Tab.

For example...
Pane 1 {Tab} Live-Filter Box {Tab} Pane 2 {Tab} Live Filter Box {Tab} Pane 1 {Tab} Live-Filter Box...

Oddly enough, holding down Shift + Tab will result in the normal behavior of only tabbing between panes :?

I have the default configuration to only navigate between both panes and I've checked the corresponding tweak in the .ini which reflects that...
TabKeyPanes=2

In order to stop the unexpected Tab behavior, I need to open the configuration dialogue and click OK (Not making any changes, just clicking OK). This will clear the issue for this instance, but any new instances will still be broken.

I downloaded a new install of XY and it's not an existing issue, but once I copied over my .ini configuration file the problem returned. Therefore I think I've narrowed it down to something wrong in my .ini.

Is there any other tweak I should check besides the one listed above or a way to get more details on what might be going on?

highend
Posts: 14991
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Debugging a corrupt .ini configuration file?

Post by highend »

I can provoke this behavior even with a fresh instance :)

https://www.xyplorer.com/download/xyplo ... nstall.zip

Downloaded and extracted, copied over to drive R:\

From a non-elevated command prompt:

"R:\xyplorer_23.70.0300_noinstall\XYplorer.exe" /script="::if (get('#800')) { #800; }"

The instance starts and because of the script switches to single pane mode

Test 1:

Code: Select all

Menu - Panes - [x] Dual Pane
Focus is on the tree atm
<tab> x 5 = pane 1, LFB, pane 2, LFB, pane 1

Shift+Tab x 2 = tree, address bar

<tab> x <as often as you like>
It doesn't switch to the LFB anymore but directly between pane 1 and 2^^
Now a second test, again with the fresh instance (folder on R:\ deleted beforehand)

Code: Select all

Menu - Panes - [x] Dual Pane

I switch the focus to the address bar by manually clicking into it
<tab> x 5 = LFB, pane 1, pane 2, pane 1, pane 2

It only hits the LFB once but not afterwards^^
@Don: This is 100% reproducable here, I can even make a gif out of it if you want to
One of my scripts helped you out? Please donate via Paypal

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

Re: Debugging a corrupt .ini configuration file?

Post by admin »

Note that this is not a tweak but a setting: Configuration | Tabs and Panes | Dual Pane | Tab key

But yes, something is wrong. I'll check...

... fix comes.

Post Reply