Author Topic: Implement Toggleable Locking For Sorting Columns In Explorer Panel  (Read 4330 times)

total_annihilation00

  • Active Member
  • ***
  • Posts: 111
  • Tech Savant\ Envisioneering
    • View Profile
Please add functionality to lock sorting columns within the Explorer panel, preventing accidental resizing or reordering. The locking state should be toggleable via right-click context menu on the column headers. This feature aims to preserve the user-defined default column layout, reducing the need for repeated adjustments and enhancing stability during navigation.
P.S.: The sorting order doesn't require locking; only the resize functionality needs to be locked.
P.P.S: I see it's stored in "ColumnSets.xml" —made a backup of it ! False alarm; the data isn't stored at that path.
« Last Edit: June 21, 2025, 11:57:34 by total_annihilation00 »
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4702
    • View Profile
    • Multi Commander
So fixed column size ? no matter how you resize the window ?


total_annihilation00

  • Active Member
  • ***
  • Posts: 111
  • Tech Savant\ Envisioneering
    • View Profile
So fixed column size ? no matter how you resize the window ?

Yeah basically, I didn't think of how it would look in split-panes until you mentioned it, but I only have one pane open (at all times) & would be nice to lock it to prevent accidental resizing, maybe serialize it so until you toggle it off it stays locked.
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4702
    • View Profile
    • Multi Commander
So if you turn off "AutoFit columns to view width" in Explorer Panel Settings. Then resize the column and select "Save current layout as default"
Then columns will not auto size. and if they do not fit in view you get a scroll bar

total_annihilation00

  • Active Member
  • ***
  • Posts: 111
  • Tech Savant\ Envisioneering
    • View Profile
So if you turn off "AutoFit columns to view width" in Explorer Panel Settings. Then resize the column and select "Save current layout as default"
Then columns will not auto size. and if they do not fit in view you get a scroll bar

Yeah I don't use Auto-Size Columns, I have a custom setup.
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4702
    • View Profile
    • Multi Commander
So if Auto Size columns is off then the column sizes are fixed and do not auto resize..  They are locked.
So than I don't understand what you want to toggle.

total_annihilation00

  • Active Member
  • ***
  • Posts: 111
  • Tech Savant\ Envisioneering
    • View Profile
So if Auto Size columns is off then the column sizes are fixed and do not auto resize..  They are locked.
So than I don't understand what you want to toggle.

Oh I see.
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


total_annihilation00

  • Active Member
  • ***
  • Posts: 111
  • Tech Savant\ Envisioneering
    • View Profile
I would like to clarify my suggestion: I would ideally like an option on right-click menu of the Columns to Lock them into Place, preventing User or MC from resizing/ dragging/ modifying their sizes ! MC keeps randomly squashing the Columns together & I have to Restore them using Defaults everytime ! See attached screenshot please ! This would help me a lot.

P.S: Then again I can understand if this cannot be implemented as "My Pictures", "Music" folder etc. uses different Columns than the default folders, so it's alright I'll let it rest for now…
« Last Edit: June 21, 2025, 13:59:40 by total_annihilation00 »
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4702
    • View Profile
    • Multi Commander
I would like to clarify my suggestion: I would ideally like an option on right-click menu of the Columns to Lock them into Place, preventing User or MC from resizing/ dragging/ modifying their sizes ! MC keeps randomly squashing the Columns together & I have to Restore them using Defaults everytime ! See attached screenshot please ! This would help me a lot.

P.S: Then again I can understand if this cannot be implemented as "My Pictures", "Music" folder etc. uses different Columns than the default folders, so it's alright I'll let it rest for now…

Problem is that a lock would only prevent user from changing them. If MC do it in some situation that would not be prevented by a lock.
So the question is really.  In what situation does MC changes the size when it should not. ? Because that is probably a bug. Since MC should not resize if AutoSize is turned off.

Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 576
  • Old Skull
    • View Profile
Not sure about size, but sort order is often changed after search

total_annihilation00

  • Active Member
  • ***
  • Posts: 111
  • Tech Savant\ Envisioneering
    • View Profile
Problem is that a lock would only prevent user from changing them. If MC do it in some situation that would not be prevented by a lock.
So the question is really.  In what situation does MC changes the size when it should not. ? Because that is probably a bug. Since MC should not resize if AutoSize is turned off.

Valid. Yeah I never drag the columns, but somehow MC always changes them when navigating to and fro tabs. Perhaps it's a bug I'am not 100% certain.

Not sure about size, but sort order is often changed after search

Yeah I have to routinely set them back to Default. ;D
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4702
    • View Profile
    • Multi Commander
Not sure about size, but sort order is often changed after search
Where is it changed ? Source panel ? target ?  I can't see that it change any opened tabs.
Because when a search happen.. new tab with RESx is opened, and new tab default to sort by first column. It the default for new tab.


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4702
    • View Profile
    • Multi Commander
Problem is that a lock would only prevent user from changing them. If MC do it in some situation that would not be prevented by a lock.
So the question is really.  In what situation does MC changes the size when it should not. ? Because that is probably a bug. Since MC should not resize if AutoSize is turned off.

Valid. Yeah I never drag the columns, but somehow MC always changes them when navigating to and fro tabs. Perhaps it's a bug I'am not 100% certain.


Well I cant replicate that. But if you find a situation when it changes the size by it self let me know and I can take a look.

total_annihilation00

  • Active Member
  • ***
  • Posts: 111
  • Tech Savant\ Envisioneering
    • View Profile
Well I cant replicate that. But if you find a situation when it changes the size by it self let me know and I can take a look.

Alright, will do !
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~