Page 1 of 1

An error was encountered while closing TAB under some Settings

Posted: 26 Dec 2022 10:47
by zxjwwwh
问题现象:

当勾选 “General - Startup & Exit - Saving Setting - Saving Changes to Disk - Tabs” 选项时
Settings.png
用鼠标“双击”关闭特定路径的标签页,例如:

Code: Select all

%appdata%\XYplorer
D:\Program Files\XYplorer\data
XYplorer(Version 23.80~23.90) 会报错并自动关闭,我尝试了几台电脑,错误可以稳定复现!如下图所示:
Win7X64.png
Win10X64.png
删除所有配置,全新安装,问题依然存在。当去掉勾选“General - Startup & Exit - Saving Setting - Saving Changes to Disk - Tabs”后,错误不再发生

这是一个复现错误的视频,请去掉xys的后缀名查看
XYPError.mp4.xys
不知道这是否和我的电脑系统、或者使用方法有关系,目前更改设置后不影响正常使用

但我不知道是否还有其它未发现的问题

Re: An error was encountered while closing TAB under some Settings

Posted: 26 Dec 2022 13:14
by admin
1) After you turn on "Tabs" in Configuration | General | Startup & Exit | Save Settings | Apply to..., what do you do to have all the tabs reappear?? (right before the error)

2) I cannot read the small message box with number "9". What does it say? Is it "error 9"?

Re: An error was encountered while closing TAB under some Settings

Posted: 26 Dec 2022 13:57
by zxjwwwh
admin wrote: ↑26 Dec 2022 13:14 1) After you turn on "Tabs" in Configuration | General | Startup & Exit | Save Settings | Apply to..., what do you do to have all the tabs reappear?? (right before the error)

2) I cannot read the small message box with number "9". What does it say? Is it "error 9"?
1)Double click on White in tab bar to Copy the Left tab
2)error 9

Reproduce Steps

1) Install and Open XYplorer
2) Checked "Saving Changes to Disk immdiately" and "Tabs"
3) CEA Setting "Double-click on tab"(Close tab)
4) Open "%appdata%\XYplorer" in Several tabs(or just Double click on White in tab bar to Copy the Left tab)
5) Double-click on a tab to close it

then the error will occur( Win7X64 中文旗舰版 ),the alarm is as follows in Chinese

Code: Select all

运行时错误'9':
下标越界

Re: An error was encountered while closing TAB under some Settings

Posted: 26 Dec 2022 14:13
by admin
Unfortunately it seems to be a Win7X64 problem, because I cannot reproduce it in Win8.1. :|

Does it only happen when you close the tabs via CEA/Double-Click (not when you close it by Ctrl+W)?

Re: An error was encountered while closing TAB under some Settings

Posted: 26 Dec 2022 15:36
by GreetingsFromPoland
hi! is your main machine capable of running oracle virtualbox ? if so, maybe you can setup some base windows 7, 10 and 11 virtual machines for testing in an environment that your customers are using.

Re: An error was encountered while closing TAB under some Settings

Posted: 26 Dec 2022 16:32
by admin
I worked with a Virtual Box years ago but ultimately found it inefficient.

* * *

In the meantime I could reproduce and fix the bug. :party: :beer:

Re: An error was encountered while closing TAB under some Settings

Posted: 27 Dec 2022 02:47
by zxjwwwh
I notice that the new version has fixed the porblem ! It is efficient , and awesome...