| Summary: | Percentage for math input | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | eliotJ <osxyz> |
| Component: | Usability | Assignee: | Halla Rempt <halla> |
| Status: | RESOLVED LATER | ||
| Severity: | wishlist | CC: | laurent.valentin |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
eliotJ
2016-09-07 13:25:06 UTC
We are working on unit support (first dynamic unit change, then we'll do unit conversion). In this case it's clear what % mean. But in the case we're not in a spinbox with units I don't understand what you mean by %. Do you mean percent of the old value ? (For example I have a box with 12 inside, I write 4 + 50% and it translate to 4 + 0.5*12 = 10) Upsss... I have forgotten to answer here... Sorry. I simply mean this kind of situation: Artist has an image with 2550 px width. He need to change width, add 30% to it. This means 2550 + 30% = 3315 px. Would these kind of calculation be possible after yours path will be done ? No, it's not possible... It's also not very clear what + 30% would mean. But Paragon has stopped working on this feature, so I doubt it will happen... Sorry, I miss the time to work on it :S (I'm in the middle of a PhD right now). There's % (plus vh and vw) units support where it's relevant, but only to convert the whole spinbox, and not to manage multiple units. What we could implement instead, now that I think about it, is % support for the * operator. So instead of writing 2480px + 30% in a spinbox that was 2200px (which is unclear, as it might be % of the old value 2200px or the previous value 2480px), you would write 2480px*130% which would become 2480*1.3 (the transformation is obvious for mathematician, but it might be useful for artists). |