Skip to content

feat(components,core): make opacity for dotfiles configurable - #108

Merged
dim-ghub merged 2 commits into
AstraSuite:mainfrom
dxnnv:feat/configurable-hidden-opacity
Nov 6, 2026
Merged

dim-ghub merged 2 commits into
AstraSuite:mainfrom
dxnnv:feat/configurable-hidden-opacity

Conversation

@dxnnv

@dxnnv dxnnv commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

What this changes

This PR adds a new opaqueHidden option under preferences (along with a corresponding preference toggle in settings) to make hidden files and folders opaque, rather than rendering them with reduced opacity. With opaqueHidden set to true, dotfiles are displayed with the same opacity to regular files. This option defaults to false, so existing behavior is preserved.

Why

I've previously used Nautilus, which only changes the item's icon when it's hidden (rather than the entire row), leaving the text the same opacity as regular, non-hidden items. I work with hidden files and folders about as often as I do with regular files, so I don't really get any benefit from a visual distinction between them. The lowered opacity only serves to make entries less visible for my usage.

How it was verified

Build

Forked off main, made the changes in this feature branch (PR base), then built with:

cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cmake --build build

Unrelated to this PR's changes, but for transparency regarding the build command: build/CMakeCache.txt gets created with CMAKE_EXPORT_COMPILE_COMMANDS unset which causes compile_commands.json to not be generated, resulting in clangd failing to find the compilation database and missing Qt include paths. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON was passed as an argument to allow IDE linting to function properly.

Testing

The resulting build was tested visually with both:

./build/bin/atlas --light --hidden
./build/bin/atlas --dark --hidden 

where the Preferences toggle and opacity application was tested for both hidden and regular files and folders. Opacity application was observed alongside various combinations of other options and confirmed to be consistent throughout, including with showHidden, expandableFolders, dateFormat, and folderItemCount. Ensured opacity respected opaqueHidden across all three view types (compact, details, icons), applied correctly when toggled with split panes open, and the visual appearance aligned with expectations across light and dark modes.

Offscreen testing was performed via:

QT_QPA_PLATFORM=offscreen QT_LOGGING_TO_CONSOLE=1 timeout 20 ./build/bin/atlas "$HOME" > run.log 2>&1   

which passed (run.log was empty).

Confirmed opaqueHidden=true was written to ~/.config/astra-atlas/atlas.conf under [preferences], and that the value was applied accordingly across application restart.

Demo

atlas_hidden_opacity_demo-compressed.mp4

dxnnv added 2 commits October 26, 2026 13:46
…ile opacity

Adds a new setting and preference toggle to make hidden files and folders opaque—similar to regular files—instead of rendering them with reduced opacity.
@dim-ghub
dim-ghub merged commit e476afc into AstraSuite:main Nov 6, 2026
2 checks passed
@dxnnv
dxnnv deleted the feat/configurable-hidden-opacity branch November 6, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants