[Solved] Minor bugs between layouts and tabsets

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.
FluxTorpedoe
Posts: 904
Joined: 05 Oct 2011 13:15

[Solved] Minor bugs between layouts and tabsets

Post by FluxTorpedoe »

----------
[Solved]
----------


Hi'

While intensively testing a new script, I stumbled upond ~three small bugs related to tabsets and layouts.
No need to worry, they're low-priority! :kidding:

1. --- Fixed ---
- Activate DualPane
- Hide Tab Bar (via menu or #662) // the culprit
- Load a tabset (via menu or SC)
>> the display automatically switches to Single Pane

2. --- Fixed ---
- Activate Single Pane
- Show Tab Bar
- SC Load or Revert a tabset in the hidden pane (with "i" or e.g. "2") // the culprit
>> the display automatically switches to Dual Pane
>> the Tab Bar of this pane is empty, with nothing between an icon and the (new tab) "+"
(Ofc this can be overcome by first switching to Dual Pane.)

3. Not technically a bug, but in any case, behaviors of 1. and 2. generate an unwanted 'side-effect': they lead to unnecessary double-switching between single and dual pane, which creates some screen flickering (and can be quite bothersome depending on the computer and tabs content).
--- Solved --- Use this:

Code: Select all

    + Tabsets: Added tweak TabsetsNoPaneActivation to avoid activating 
      an invisible pane when the pane's tabset is modified by scripting.
        TabsetsNoPaneActivation=1
---------

Well, that's it... Now I can get back to my script! :biggrin:

Have a nice day 8)
Flux
Last edited by FluxTorpedoe on 10 Dec 2012 12:17, edited 1 time in total.

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

Re: Minor bugs between layouts and tabsets

Post by admin »

I could fix 1 and 2. Not sure about 3.

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

Re: Minor bugs between layouts and tabsets

Post by FluxTorpedoe »

Hi'
Thanks for the answer!
Ok, so I know I can anticipate this in my upcoming Session Manager 2, and whenever it's done I'll just uncomment the corresponding lines.
But as I said, it's not urgent. It's probably not affecting many people, so no rush!
Besides, I guess you'd rather get your mind on sexier things inbetween MLS... :biggrin:

And BTW, paradoxically it's #3 that's more troublesome (to me and others it seems)...
The 'pane auto-activate + unhide' on Load or Reset makes perfect sense in theory, but for layout management the flickering it leads to feels weird.

When you said you're "not sure", if you're talking about technical difficulties hard to overcome, well, ofc don't kill yourself over it! :kidding:
But if you were doubting its pertinence, well, we'll try to convince you - and a 'simple' tweak like "NoTabsetPaneActivation" would be terrific! :)

Thanks again for your attention, and good luck with MLS... 8)
Flux

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

Re: Minor bugs between layouts and tabsets

Post by admin »

Try this next beta:

Code: Select all

    + Tabsets: Added tweak TabsetsNoPaneActivation to avoid activating 
      an invisible pane when the pane's tabset is modified by scripting.
        TabsetsNoPaneActivation=1
(Yes, the MLS stuff is very unsexy...)

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

Re: Minor bugs between layouts and tabsets

Post by FluxTorpedoe »

My oh my!!!... :appl:
:biggrin:
Suddenly all the time I spent tweaking the layout management of Session Manager v2, trying to reach the most "flicker-free" experience possible... is even more worth it! (the 'navigation panel' in particular wasn't an easy feat ;) - for me, that is).

Well, thanks a lot! :D
And keep focused on the huge satisfaction you'll have when you finally get to run your 'MLS code mangler'! :kidding:

Best of luck,
Flux

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

Re: Minor bugs between layouts and tabsets

Post by FluxTorpedoe »

Hi'
Seems you've outdone yourself with MLS!
Now you must be idling, wondering what to do... Hek hek, just kidding! :kidding:

This quick post to confirm that your fixes work well here!
#1 and #2 just fine, and the #3 TabsetsNoPaneActivation tweak effectively prevents the activation of an inactive pane...
...but only if it's hidden.
Which is great already! But it would be even better (and semantically logical) if it would prevent pane activation in general, i.e. even when both panes are visible.

I don't want to push my luck :P , but just in case it doesn't imply too much work for you... :whistle: :biggrin:

Thanks a lot,
Flux

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

Re: Minor bugs between layouts and tabsets

Post by admin »

Makes sense. :)

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

Re: Minor bugs between layouts and tabsets

Post by FluxTorpedoe »

Hi'

Dang, we were nearly there... :veryconfused: :)
Unfortunately this time the tweak is a bit too strong: tabset loading in a pane (active or not) doesn't update its content.

With TabsetsNoPaneActivation ON:
- navigate to any directory, e.g. "C:\Temp"
- load a tabset (via Menu or SC)
=>
- tabs are updated to reflect the new tabset, but
- the list isn't updated, and still displays the content of "C:\Temp" even if its active tab says otherwise, e.g. "D:\" (and whether it's the active pane or not).

I hope you'll find some magic to have the content updated as usual, without the pane being (visually) activated... :kidding:
Otherwise the rest is working nicely. Btw this issue doesn't occur with hidden panes ofc - which now work whatever the tweak, thanks. :D

Thank you for your patience... 8)
Flux

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

Re: Minor bugs between layouts and tabsets

Post by admin »

Ah, okay. Well, let's see what the next version does.

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

Re: Minor bugs between layouts and tabsets

Post by FluxTorpedoe »

Hi'
Sooo nearly there... One last blow and you'll probably kill the beast! 8)

! In Single Pane, everything works.
! In Dual Pane, the active pane fully works with your last fix,
! which means the Menu "Tabsets" is also fully working now.

Only remains the inactive (but visible) pain pane:
- after a tabset(load/revert, "newtabset", i) {or e.g. "2" if 2 is inactive}
the list still isn't updated and keeps displaying the same content...

Thanks for all the work! :D
Flux

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

Re: Minor bugs between layouts and tabsets

Post by admin »

OK, confirmed. Damn the tweak. :evil: :wink: One more try (and it flickers badly, no chance, I have to care for other things). If it still does not workm, I have to remove the tweak. It starts to look like a can of worms.

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

Re: Minor bugs between layouts and tabsets

Post by FluxTorpedoe »

Hi'
Thanks for the follow-up, especially since you have this rather big "thingy" going on! :biggrin:

Have a nice day 8)
Flux

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

Re: Minor bugs between layouts and tabsets

Post by FluxTorpedoe »

Hi'
I know you've probably a lot of other things going on...
But do you think you could have a shot at the last head of that hydra? :twisted:
It would really make layout management(s) much smoother...

Thanks for your patience :)
Flux

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

Re: Minor bugs between layouts and tabsets

Post by admin »

Ok, I tried a different approach. Let's see what happens... :roll:

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

Re: Minor bugs between layouts and tabsets

Post by FluxTorpedoe »

I tried it quickly but looks like... you did it!
The beast is slaughtered at last... :twisted:

And it makes a HUGE difference when switching layouts or tabsets, now things are smoooooottthhhhh!!! :kidding:
I hope Session Manager 2 will be worthy of your efforts... 8)

Thanks a lot. :appl:
Flux

Post Reply