Bug 378791 - "Scale to New Size" resolution dropdown box always reverts back to pixels per centimeter
Summary: "Scale to New Size" resolution dropdown box always reverts back to pixels per...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 3.1.2
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-15 00:07 UTC by Danielle
Modified: 2024-10-10 21:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danielle 2017-04-15 00:07:52 UTC
Product: Krita
OS: Windows 7 Enterprise, 64bit
Issue: Despite having a system and Krita default language set to American English, Krita has set the "Print Size Resolution" dropdown box default to "Pixels/Centimeter." No matter how many times I change it to "Pixels/Inch", it reverts back to "Pixels/Centimeter."

Reproduction Steps:

Step 1) I hit "CTRL+I" to bring up the "Scale to New Size" menu.

Step 2) Under "Print Size" I change the Resolution dropdown box from "Pixels/Centimeter" to "Pixels/Inch."

Step 3) I hit OK.

Step 4) I draw a little on the canvas.

Step 5) I hit "CTRL+I" to bring up the "Scale to New Size" menu.
The Resolution dropdown box has reverted back to read "Pixels/Centimeter."

Other notes:
- My default language is American English
- I switched it once to German, then back, and the same behavior occurred.
- The Width and Height dropdown boxes have the proportions constrained
- The Width and Height dropdown boxes always display the unit in inches; I have never had a problem with them. 

Thank you!
Comment 1 Danielle 2017-04-15 00:10:19 UTC
Apologies, I have a little more to add:

Actual results: The dropdown box reverts back to displaying "Pixels/Centimeter"
Expected results: The dropdown box should remember my change and display "Pixels/Inch."

I don't know how to find the build.
Comment 2 Halla Rempt 2017-06-05 07:57:30 UTC
Yes... Most dialog boxes don't remember the last used state, and that's very annoying.
Comment 3 Halla Rempt 2019-05-10 13:48:46 UTC
https://invent.kde.org/kde/krita/commit/b2cb529a87345b947f7e53233e3333575d6e6fa4 is a begin for a class that will save the state of dialogs without the developers having to code that separately for each dialog.
Comment 4 Halla Rempt 2019-05-10 14:55:38 UTC
Forgot to CC the bug on the next commit:

https://invent.kde.org/kde/krita/commit/2f57557c5c90de74a5d38d81fc6917d6b9b0c53c
Comment 5 Halla Rempt 2022-09-14 08:38:07 UTC
Since https://invent.kde.org/graphics/krita/-/merge_requests/559 was rejected, this has also stopped: we need a completely new patch that actually abstracts the state of a dialog from the widgets.
Comment 6 Emmet O'Neill 2024-10-10 21:17:54 UTC
I can no longer reproduce this as of today's master branch on Linux (the "Scale Image to New Size" dialog remembers the last setting), so I'm marking this as resolved for now. 

Thanks for the bug report Danielle, please feel free to reopen this issue if you run into this problem again.