[Solved] Crash on Filter then DetailsView

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
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: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

[Solved] Crash on Filter then DetailsView

Post by FluxTorpedoe »

Hi again,

Sorry to leave you no respite... :?
It took me a good hour to figure out what was at the root of this crash. I had it happening with a filtering script that also switches view from "list" to "details". I recall having had a few crashes when I first made the script maybe a year ago, but then it seemed fixed (or I didn't use it the same way).
[WinXPSP3 / XYv12.30.0205]

Simplest steps to reproduce:
1. Create 4 folders named a, b, c, and d.
2. In Horizontal Dual Pane, shrink their pane to the minimum, so you have a, b, c on the first column, and d on the next.
3. Switch the view to List.
4. In AB, run ::filter c; #302;wait 1000; filter; #304;
-
Repeat steps 4. until crash (happens here every second time).

Note that:
- it doesn't crash when filtering a or b but only c or d!
- it doesn't crash if pane doesn't have a scrollbar.
- crash here = "...encountered a problem and needs to close" window, followed by a dead DrWatson / frozen XY with Menu and crash window white (not redrawn). Need to RC on taskbar button to force exit and kill.

Hope this helps...

Edit: changed step 4. Things seem to be rooted deeper... Still testing...
Last edited by FluxTorpedoe on 24 Apr 2013 08:44, edited 1 time in total.

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

Re: Crash on Filter then DetailsView

Post by admin »

Yep, got it! :bug: Thanks! :twisted:

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: Crash on Filter then DetailsView

Post by FluxTorpedoe »

:bug: Wait a bit, it might save you some time... :bug:
I'm testing further, it seems to be also related to tabsets...

Edit: Wow, didn't see your post, you're decidedly too fast!!! :kidding:
Ok, I give up then... ;)

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

Re: Crash on Filter then DetailsView

Post by admin »

Well, I'm not sure... I could generate the bug easier than your description. I probably got the wrong one. Can you give a step by step from a fresh install?

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: Crash on Filter then DetailsView

Post by FluxTorpedoe »

Gotcha!!! :twisted:
A nasty one to flush out, nearly exhausted me... ;)
:arrow: It happens only with "Show Grid" active.

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

Re: Crash on Filter then DetailsView

Post by admin »

Cannot repro. :| (Maybe I fixed it?)

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: Crash on Filter then DetailsView

Post by FluxTorpedoe »

Ouch, after another hour fiddling with XY.ini, I finally got to its core! It was indeed a setting of the grid.

Clean install. Same steps as above, with:
- Show Grid active, and
- Grid Style as 6 or 7: "Alternate Groups", or "Alternate Groups (Smart Names)"
Strangely, the former generates a specific error msg, but not the latter which was the one I used!

Hope this helps,
Flux

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

Re: Crash on Filter then DetailsView

Post by admin »

Can't get a crash. Wait for the next beta, I probably fixed it already here.

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: Crash on Filter then DetailsView

Post by FluxTorpedoe »

The :bug: is still alive... :(
I'll try to be even more precise.
[WinXPSP3 / XYv12.30.0207]

Steps to reproduce:
1. Preparation:
- Clean install
- In empty C:\Tmp create 4 folders named a, b, c, and d.

- Menu Tools | Customize List | Show Grid > ON
- Menu Tools | Configuration... > Styles > Grid Style: Alternate Groups (or Alternate Groups (Smart Names))
- Menu View | Views | List
- Menu File | Save Settings (because I'm tired of redoing everything each time ;) )

- (In Horizontal Dual Pane,) shrink the current C:\Tmp pane to the minimum, so you have a, b on the first column, and c, d on the next.

2. In AB, paste and run ::filter c; #302;wait 1000; filter; #304; (and wait 3 seconds)
-
3. Repeat steps 2. until crash.

Well, here it is. I don't think I can be more specific!
Note: it's probably more related to DrWatson than XY, but now after the crash, XY "dies" peacefully, so I just have to run it again without needing to force-kill him. Argh, sounds harsh... :shock:

Edit: It goes without saying, but ofc this happens with evenly distributed panes full of stuff - I'm not bothering you just because I use a pane stretched to its minimum with 4 folders! 8)

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

Re: Crash on Filter then DetailsView

Post by admin »

Got it! Now the fix... :twisted:

...

Done!

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: [Solved] Crash on Filter then DetailsView

Post by FluxTorpedoe »

Well, this was a tough one to dig out...
But now it's gone! :D

Thanks you. 8)
Flux

Post Reply