Author Topic: The "RW/RO" in the status bar  (Read 1027 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1864
  • Hero Points: 180
  • Text
The "RW/RO" in the status bar
« on: September 18, 2014, 03:14:58 pm »
Open some file in C:\Program files\... -- one that you do not have permission to modify but doesn't have the read-only attribute set either.


#1: Slick shows the file as RW, and allows you to edit.
Ooops ... I'm wrong on this one. Slick seems to get it right - I made this mistake due to #3.

#2: When you try to save the error dialog is pretty hard to read:
It lists the filename twice
The dialog is too narrow, making the long filename wrap.
The "Possible Causes" are bogus.
Slick should know if it failed when doing a backup file operation vs. the primary file.
Slick can look at the error code to tell the difference between access_denied, and sharing_violation ("another program has the file open").


#3: Slick lets you toggle between RW and RO freely - no dialogs, nothing - and nothing changes on the file (because Slick gets access_denied).






---------------------------
SlickEdit
---------------------------
Unable to save C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\winui\WindowsSearch\CrawlScopeCommandLine\csmcmd.cpp to "C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\winui\WindowsSearch\CrawlScopeCommandLine\csmcmd.cpp"
Access denied


Possible causes:


Backup directory could not be created.
Another program has this file open.


See help on "Backup options".
---------------------------
OK   
---------------------------
« Last Edit: September 18, 2014, 03:25:12 pm by jporkkahtc »