Title. The default value is unchecked. A user.json field could alter the default to read-only. In certain work scenarios one reviews files with no intention of changing them. Setting the default to read-only then avoids human error.
I also suggest a more distinctive read-only indicator. It should appear on the file tab, left of the file icon, in subtle red maybe. Any other way to indicate RO is fine if it jumps out when one glances at the tab pane. Association with the tab pane is the key idea. The RO mnemonic in the status bar needs more help.
Thanks!
Read-only Checkbox in File Open Dialog
-
main Alexey
- Posts: 2931
- Joined: 25.08.2021 18:15
Re: Read-only Checkbox in File Open Dialog
on Win10 I don't see 'read-only' checkbox in the file-open dlg, so if you see it, it might be widgets-specific, OS specific. code is not using this checkbox at all. so idea is not ok.
RO indicator in the tab title: give me examples how other apps show RO in the tab titles. i guess none do it. I don't want to make tab-titles changes: it may break smthg easily, when icons or 'pinned' mark '!' shows there.
RO indicator in the tab title: give me examples how other apps show RO in the tab titles. i guess none do it. I don't want to make tab-titles changes: it may break smthg easily, when icons or 'pinned' mark '!' shows there.
-
main Alexey
- Posts: 2931
- Joined: 25.08.2021 18:15
Re: Read-only Checkbox in File Open Dialog
LCL has option "ofHideReadonly" for open dlg, I just now set it, checkbox will hide.
-
Random Void User
- Posts: 104
- Joined: 13.07.2024 21:19
Re: Read-only Checkbox in File Open Dialog
I do not see one; I was proposing to add a checkbox. I use CudaText 1.231.8.0, linux-x86_64-gtk2, fpc 3.2.3.
I would at least change the font style of the "RO" indicator to red extra bold, if not use an icon instead. What is LCL?
I would at least change the font style of the "RO" indicator to red extra bold, if not use an icon instead. What is LCL?
-
main Alexey
- Posts: 2931
- Joined: 25.08.2021 18:15
Re: Read-only Checkbox in File Open Dialog
ah, you don't see R/O checkbox and propose to add it. but it can be added only on older Windows (pre Vista) as I know. other widgetsets don't have R/O checkbox in the file-dialog.
LCL is lazarus component library.
LCL is lazarus component library.
Last edited by main Alexey on 30.01.2026 07:31, edited 1 time in total.
-
main Alexey
- Posts: 2931
- Joined: 25.08.2021 18:15
Re: Read-only Checkbox in File Open Dialog
cell 'RO' will be reddish (theme color 'tabs, special marks') + bold. in the next update.