[haiku-bugs] Re: [Haiku] #10094: Locked window properties of read-only folders

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 07 Apr 2021 18:44:51 -0000

#10094: Locked window properties of read-only folders
-----------------------------------+---------------------------------
  Reporter:  humdinger             |      Owner:  leavengood
      Type:  bug                   |     Status:  assigned
  Priority:  normal                |  Milestone:  R1.1
 Component:  Applications/Tracker  |    Version:  R1/Development
Resolution:                        |   Keywords:  Package Management
Blocked By:                        |   Blocking:  12718, 13976, 15192
  Platform:  All                   |
-----------------------------------+---------------------------------
Comment (by leavengood):

 Replying to [comment:13 pulkomandy]:


The only way to fix that would be to store the attributes "elsewhere".
 This will probably mean some centralized place somewhere in the user
 settings. As a result:
- They will be lost if you rename or move the folder (assuming they
 identify the folder by its name/path)
- They will be lost if you copy the folder
- They will be lost if you zip the folder to move it to another computer
- They will not be deleted when you delete the folder. Over time, you
 will end up with a huge list of outdated attributes filling your disk

 It definitely is not ideal to have to have folder attributes in a
 different location than the folder, but I think all these concerns are
 overblown. For one thing you won't be renaming or moving a read-only
 folder, so I think the first concern is not valid. Though in general I
 think all these concerns except zipping could be addressed by node
 monitoring.

 I believe implementing this in libtracker.so just to solve this specific
 problem is easier than trying to hack something into the package system.

 Also I believe that while it is true that BeOS has the same limitation for
 read-only folders this is a regression from BeOS because the package
 system made previously writable system folders read-only. I am overall a
 fan of the package system but this is definitely a drawback and I think we
 should try to fix it.

 Obviously my rate of work for Haiku development has been extremely slow or
 non-existent for some time, but once I wrap up some financial related work
 for Haiku, Inc I hope to spend more time on proper Haiku development. When
 I do I'll try to experiment with this as one of the first things I do.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/10094#comment:18>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: