Bug 468560

Summary: Specification of canvas dimensions
Product: [Applications] kolourpaint Reporter: schreibemirhalt
Component: generalAssignee: kolourpaint-support
Status: RESOLVED FIXED    
Severity: wishlist CC: martin
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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!