Skip to content

Group General settings' loose checkboxes into an "Options" section - #4898

Open
nicitaacom wants to merge 2 commits into
flameshot-org:masterfrom
nicitaacom:settings-tab-checkbox-grouping-
Open

nicitaacom wants to merge 2 commits into
flameshot-org:masterfrom
nicitaacom:settings-tab-checkbox-grouping-

Conversation

@nicitaacom

Copy link
Copy Markdown

Description:

13 checkboxes in the General settings tab were added directly to the tab's scroll area with no visual grouping — interleaved with unrelated input fields (Imgur Client ID, Selection Geometry Display) in an order that didn't reflect any logical grouping, and "Undo limit"/"Latest Uploads Max Size" rendered as two mini boxes hugging their content with dead space beside them while every other section in the tab was a single full-width titled box.

Changes:

Moved the 13 checkbox-only settings into a new "Options" titled box, matching the existing "Startup" / "Notifications & Behavior" pattern
Settings whose init function also builds an input field (Save Path, Imgur Client ID, Selection Geometry Display) were left where they are, since nesting an input-bearing box inside a checkbox-only box would look wrong
Merged "Undo limit" and "Latest Uploads Max Size" into one full-width "Limits" box; removed the now-unused pushCompactSpinBox helper that built the old two-mini-box layout
Folded two settings that rendered as bare, borderless rows into the titled boxes they actually belong to: the selection-geometry hide timeout (into "Selection Geometry Display") and JPEG Quality (into "Save Path", since it only affects the save/upload/clipboard file format set there)
Reordered top-level sections so save-destination settings rank above general Options toggles, which rank above rarely-touched tuning knobs (Undo limit, Imgur Client ID, Selection Geometry Display) — "Configuration File" stays last as before

Test plan:

Build and open Configuration → General
Confirm the 13 checkboxes render inside one bordered "Options" box
Confirm "Limits" is a single full-width box with both spinboxes
Confirm the geometry timeout and JPEG Quality no longer float as separate rows
Toggle a few settings and confirm they still persist to flameshot.ini

BEFORE
21 08 2026 at 11-38

AFTER 1
image

AFTER 2
image

This is much cleaner because no mess from checkboxes that needs input and just checkboxes and then again checkbox that just buried between 2 input fields
No more suffering when I scroll then scroll blocked because it decide to update some input instead of continuing scrolling

13 checkboxes were added directly to the tab's scroll area with no
visual grouping, interleaved with unrelated input fields and other
titled sections in an order that no longer reflects any logical
grouping. Move the checkbox-only settings into their own titled
group, following the existing Startup / Notifications & Behavior
pattern. Settings whose init function also builds an input field
(Save Path, Imgur Client ID, Selection Geometry Display) are left
where they are.
Two settings still rendered as bare rows floating between titled
boxes with no border of their own: the selection-geometry hide
timeout (now nested inside the "Selection Geometry Display" box it
belongs to) and JPEG Quality (now nested inside "Save Path", since
it only affects the save/upload/clipboard file format set there).

Undo limit and Latest Uploads Max Size also broke the tab's visual
pattern - they were two mini boxes hugging their content on the
left with dead space to the right, while every other section is one
full-width titled box. Merge them into a single "Limits" box, and
drop the now-unused pushCompactSpinBox helper that built the old
layout.

Also reorder the top-level sections so save-destination settings
(used on every capture) rank above the general Options toggles,
which in turn rank above rarely-touched tuning knobs (Undo limit,
Imgur Client ID, Selection Geometry Display) - Configuration File
stays last as before.
}
}

// 3 extra save destinations, each exposed as its own tool

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be included in this PR which is intended to just be a graphical change.

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