Inkscape Preferences dialog does not remember tabs/pages
Bug #184499 reported by
bbyak
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
jazzynico |
Bug Description
Now it always opens with an empty page. It must remember the last opened page, and when I doubleclick the tool button it must open on that tool's options page. In 0.45 this worked, so this is a regression.
Related branches
Changed in inkscape: | |
assignee: | nobody → gustav-b |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: |
added: preferences removed: ui-preferences |
Changed in inkscape: | |
importance: | Low → Medium |
Changed in inkscape: | |
assignee: | gustav_b (gustav-b) → jazzynico (jazzynico) |
milestone: | none → 0.91 |
status: | Triaged → In Progress |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
AFAICT this is due to the dialog refactoring. The reason for this seems to be the following:
- In ui/dialog/ inkscape- preferences. cpp, line 111, the function _presentPages() is connected to the present() method of the Panel class.
- However, the dialogs are shown by using the present() method of the Dialog class (or some other, not 100% sure).
- Therefore, _presentPages() is not called any more when the dialog is presented so that the tools' pages are not correctly updated.
I hope this analysis is right (couldn't inspect too closely). I couldn't find an easy way to fix it, though, that's why I'm writing up my thoughts here for anyone to pick them up. BTW, if this is fixed it may (or may not) close some related bugs, too (e.g., I believe that #184499 is caused by the same thing).