* Gui: Ensure minimum size of preferences dialog
This will ensure that the width of preferences dialog is resized to fit
all pages properly but not take more than 80% of screen.
* Gui: Use consts for resizing preferences dialog
* remove bluw changed the white background to 2 steps below white
* Delete CMakeSettings.json
* Revert "remove bluw changed the white background to 2 steps below white"
This reverts commit a8cab51f0eb6fc5eb6cb3644d1d13f9421a9b05d.
doSelect() loops over document's object vector. It can happen that, within
the loop, Gui::Selection().addSelection() gets called and that ends up
calling App::Document::addObject() which pushes an object to the vector that
the loop is traversing. If the vector is full, its storage is reallocated
and this means that later iterations of the loop are using invalid iterators.
Thus, one ends up with a bogus obj pointer and there will be a crash within
getGroupOfObject(). The problem was observed when using Arch Survey.
This boiled down to conflict of using `data` attribute of the QAction in
ActionGroup and ToolBarManager. I reworked ActionGroup here to not use
the data attribute but this is not a proper solution - but it should be
working well enough.
Proper solution would be to leave the data for the specific usecases (like index)
and store the command name in some other place. It would however require
us to subclass the QAction which is not something that should be done so
late in the release cycle.
At least on macOS, it seems that setting nontrivial shortcuts only works
when the shortcut is converted to `PortableText`, rather than
`NativeText`.
Before, it was impossible to map, eg, the backspace key or CMD-T to an
action. Now this appears to work.
Windows renders the application image on top so it appears twice.
Update example file thumbnails on start page to have a consistent background (classic theme) and remove the old FreeCAD logos.
* Updated ts files
* Merged crowdin translations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
QT treats setting minimum size very seriously - it applies even if
the size required by the control is smaller than specified resulting in
rendering too small controls.
ThemeSearchPaths option was originally introduced in:
f640562b98 ("Option to opt-out from using a Linux desktop icon theme.", 2020-01-26)
It was set on by default in:
f45a4de3ee ("Gui: Use FreeCAD supplied icons on Linux by default", 2024-06-26)
The key effect of the option is to select the FreeCAD-default icon theme.
The code also unnecessarily resets QIcon::themeSearchPaths,
":\icons" is always included in the default search paths [1],
when when using QAdwaitaDecorations causes window frame control icons
not to be displayed:
(qt.qpa.qadwaitadecorations) Failed to find an svg icon for "window-close-symbolic.svg"
(qt.qpa.qadwaitadecorations) Failed to find an svg icon for "window-minimize-symbolic.svg"
(qt.qpa.qadwaitadecorations) Failed to find an svg icon for "window-maximize-symbolic.svg"
(qt.qpa.qadwaitadecorations) Failed to find an svg icon for "window-restore-symbolic.svg"
A different default icon theme can still be chosen with the Name option.
[1] https://doc.qt.io/qt-6/qicon.html#themeSearchPaths
* fixes Qtoolbox for Freecad CAM
https://github.com/FreeCAD/FreeCAD/issues/14745#issuecomment-2231031485
* Removed offset because of Linux issues.
* fix for to dark cells in propetties panel
* fixed constrain colors in sketcher and arros tabbar.
* tabbar fixes
* This fixes the checkered scrollbar issue
* This fixes the spinbox arrow which had a gap.
* misses somethings in the overlay stylesheets.
* typos
* fixed some overlay issues
* update sketch uncontrained colors
* trying to fix the arrow size
* fixes for treeview
* Update Light Theme + Dark Background.qss
fix for edit text field
* updated checkmarks names and scaled them down.
* Update FreeCAD Dark.qss
oopsie wrong color
* Update icons classic.svg
icons files for the icons
* fix for table edit