Author Topic: V 12.0 File Coloring Rules can't be changed from Default  (Read 15276 times)

bicyclops

  • Newbie
  • *
  • Posts: 13
    • View Profile
V 12.0 File Coloring Rules can't be changed from Default
« on: August 11, 2022, 21:49:08 »
Any change to default coloring rules doesn't get applied or saved.

Some changes made to color rules in previous versions are applied in 12.0.
But new rules added in previous versions are shown but not applied in 12.0

For example, I changed the color for Archives and turned off the color for executables in version 11.6. Those changes are applied in version 12.0 but cannot be changed.

However I added new color rules for folder junctions and symlinks in version 11.6. Those rules are shown in the File Coloring Rules Editor in v 12.0 but are not being applied.



jiee

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #1 on: August 17, 2022, 12:47:35 »
You will find that changes getting applied after reboot MC...

Seems like something wrong with the color rule.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #2 on: August 17, 2022, 14:14:22 »
Yes it does not auto reload when changed. restart MC after a change and they will be loaded.. will be fixed in update coming soon

bicyclops

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #3 on: August 20, 2022, 01:20:29 »
You will find that changes getting applied after reboot MC...
My color rules for junctions and symlinks are not applied after restarting MC.
They worked in 11.6 but don't work in 12.0
Occasionally in 11.6 they would not be applied on initial display of a folder, but a refresh would fix it.

Problem reproduced on 2 systems upgraded form 11.6 to 12.0
Also tried on new install of 12.0 on system which had not had MC installed before. Added new rule to color symlinks and/or junctions. Exit MC and restarted. Color rule is not applied.


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #4 on: August 20, 2022, 12:18:30 »
You will find that changes getting applied after reboot MC...
My color rules for junctions and symlinks are not applied after restarting MC.
They worked in 11.6 but don't work in 12.0
Occasionally in 11.6 they would not be applied on initial display of a folder, but a refresh would fix it.

Problem reproduced on 2 systems upgraded form 11.6 to 12.0
Also tried on new install of 12.0 on system which had not had MC installed before. Added new rule to color symlinks and/or junctions. Exit MC and restarted. Color rule is not applied.

Only Issue I find is that it is not reloading it when saved.  so a restart of MC is needed..
I dont find any issue with coloring symlinks and junctions

bicyclops

  • Newbie
  • *
  • Posts: 13
    • View Profile

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #6 on: August 20, 2022, 17:45:54 »
https://youtu.be/MtMm9ztVtLw
video is private..  but test with 12.1 released today.  the save and reload issue is fixed in that.. now the code is exactly as in 11.6

bicyclops

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #7 on: August 20, 2022, 17:59:19 »
Sorry. Video should be public now.
Will try 12.1

bicyclops

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #8 on: August 20, 2022, 19:49:05 »
Updated to 12.1
Newly created rules (except for Junctions & Symlinks) now do get applied on exit of File Coloring Rules Editor.

Rules for Junctions and Symlinks still not applied.


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #9 on: August 20, 2022, 20:01:36 »
Updated to 12.1
Newly created rules (except for Junctions & Symlinks) now do get applied on exit of File Coloring Rules Editor.

Rules for Junctions and Symlinks still not applied.

Strange, I have no issue.
I Create a rule for Junctions...    Only attribute for junction is checked.. "Attribute Has 4" it say..


bicyclops

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #10 on: August 20, 2022, 20:30:11 »
OK - Working now!
I had all attributes set to (blank) except Junction
That adds
Attributes Has Not ARHSDLCE3
to the rules.
When I set all other attributes to OFF (black square), the second rule is gone and it works.

So something about that ARHSDLCE3 rule changed behavior from 11.6 to 12.0

Anyway, thanks!

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: V 12.0 File Coloring Rules can't be changed from Default
« Reply #11 on: August 21, 2022, 00:33:02 »
Dont know why you need "Has Not ARHSDLCE3"
Works for be with just HAS 3 (symink) and one rule that is HAS 4 (junction), might be because of other rules. first matching rule will be used