Bug 468560 - Specification of canvas dimensions
Summary: Specification of canvas dimensions
Status: RESOLVED FIXED
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-16 09:31 UTC by schreibemirhalt
Modified: 2023-04-16 14:35 UTC (History)
1 user (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 schreibemirhalt 2023-04-16 09:31:00 UTC
SUMMARY
It would be nice to have the following options:
- Command line parameter to start kolourpaint with specified canvas dimensions
- Option to easily change canvas dimensions by entering values (seems like there is only an option to resize by dragging). Such a dialog could pop up e.g. if the dimensions displayed on the lower right are clicked.
Comment 1 Martin Koller 2023-04-16 09:50:32 UTC
> - Option to easily change canvas dimensions by entering values

This is already possibly by using the "Image -> Resize/Scale" menu action (CTRL-E), then select "Resize"
Comment 2 schreibemirhalt 2023-04-16 10:10:09 UTC
(In reply to Martin Koller from comment #1)
> > - Option to easily change canvas dimensions by entering values
> 
> This is already possibly by using the "Image -> Resize/Scale" menu action
> (CTRL-E), then select "Resize"

Yeah okay but this has the downside that it resizes content already drawn as well.
Comment 3 Martin Koller 2023-04-16 10:42:03 UTC
(In reply to schreibemirhalt from comment #2)
> (In reply to Martin Koller from comment #1)
> > > - Option to easily change canvas dimensions by entering values
> > 
> > This is already possibly by using the "Image -> Resize/Scale" menu action
> > (CTRL-E), then select "Resize"
> 
> Yeah okay but this has the downside that it resizes content already drawn as
> well.

No, it doesn't. Just make sure you select "Resize" as said above, and NOT "Scale" or "Smooth Scale"
Comment 4 Martin Koller 2023-04-16 10:44:02 UTC
Git commit 9e734852841509c9a9c86b8b6480a0b517a09b47 by Martin Koller.
Committed on 16/04/2023 at 10:39.
Pushed by mkoller into branch 'master'.

Add commandline option to start with new image with given size

M  +23   -1    kolourpaint.cpp

https://invent.kde.org/graphics/kolourpaint/commit/9e734852841509c9a9c86b8b6480a0b517a09b47
Comment 5 schreibemirhalt 2023-04-16 14:35:56 UTC
Guess I was still tired...
Could that existing dialog then open as well when the dimension information from the lower info toolbar is (double?) clicked so that the shortcut doesn't need to be remembered ? Tho it might be more comfortable if that just switched to a text field input and the user could just type something like 100x100...

However, the command line option you just added servers me in most cases I use kolourpaint for so thanks for that!