Summary: | View -> Show Painting Assistants control/toggle can become inverted in its action | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Ahab Greybeard <ahab.greybeard> |
Component: | Tool/Assistants | Assignee: | Tiar <tamtamy.tymona> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | halla, manuel.snudl.zeidler, nmaghfurusman, tamtamy.tymona |
Priority: | NOR | ||
Version: | 4.2.8 | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/476806ba2007faaad18df7fc9fa57dd4c3be9290 | Version Fixed In: | |
Sentry Crash Report: |
Description
Ahab Greybeard
2020-02-17 14:52:49 UTC
I don't even have to test this to confirm it :-) To add to this report, View > Show Painting Assistants can also get confused when going between multiple open documents after it was used to hide assistants in one of documents previously. View > Show Assistant Previews seems to remain correctly in sync with the visibility of the helper preview in the current document. View > Show Reference Images works as a global switch across all open documents. Maybe this option could also be changed to work per-document, that would be a bit more useful and consistent in my opinion. Git commit 0da91363b998f02deb309f3581b1a88aa8a61edb by Agata Cacko. Committed on 22/09/2021 at 11:57. Pushed by tymond into branch 'master'. Fix Show Painting Assistants to update correctly Before this commit, if you opened two files with assistants, and in one turned the View -> Show Painting Assistants off, and then switch to the other file and to that same file again, the View -> Show Painting Assistant would be "on" even though the painting assistants wouldn't be drawn on the canvas (only preview would be visible). And then switching it off would actually turn the drawing of the assistants on. Another way to reproduce this issue would be to open a new document, create a new assistant, turn off Show Painting Assistant, then create a new assistant. Show Painting Assistant now looks "on" but the drawing of the assistants is still actually off (which is correct and it's just the checkbox that should stay "off"). This commit fixes this behaviour and now the checkbox in the View menu reflects correctly the current state of drawing the assistant. Related: bug 399419 M +1 -1 libs/ui/KisDecorationsManager.cpp M +1 -0 libs/ui/kis_painting_assistants_decoration.cpp https://invent.kde.org/graphics/krita/commit/0da91363b998f02deb309f3581b1a88aa8a61edb Git commit 476806ba2007faaad18df7fc9fa57dd4c3be9290 by Agata Cacko. Committed on 24/09/2021 at 13:45. Pushed by tymond into branch 'krita/5.0'. Fix Show Painting Assistants to update correctly Before this commit, if you opened two files with assistants, and in one turned the View -> Show Painting Assistants off, and then switch to the other file and to that same file again, the View -> Show Painting Assistant would be "on" even though the painting assistants wouldn't be drawn on the canvas (only preview would be visible). And then switching it off would actually turn the drawing of the assistants on. Another way to reproduce this issue would be to open a new document, create a new assistant, turn off Show Painting Assistant, then create a new assistant. Show Painting Assistant now looks "on" but the drawing of the assistants is still actually off (which is correct and it's just the checkbox that should stay "off"). This commit fixes this behaviour and now the checkbox in the View menu reflects correctly the current state of drawing the assistant. Related: bug 399419 M +1 -1 libs/ui/KisDecorationsManager.cpp M +1 -0 libs/ui/kis_painting_assistants_decoration.cpp https://invent.kde.org/graphics/krita/commit/476806ba2007faaad18df7fc9fa57dd4c3be9290 |