Bug 134588 - make the "paste into new image" available at the start
Summary: make the "paste into new image" available at the start
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 14:08 UTC by Maciej Pilichowski
Modified: 2007-12-06 20:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2006-09-24 14:08:11 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    SuSE RPMs

Now I am forced to make 2 steps (and get 2 windows) instead of 1 step and 1 window.

Now:
1) run Krita
2) start new image
3) paste into new image
4) close the previous window
5) start working

wished for:
1) run Krita
2) paste as new image
3) start working
Comment 1 Cyrille Berger 2006-09-24 15:43:59 UTC
Hi,

Is it possible to have more than one custom widget (or at least one other 
entry). I doubt I make myself understandable :)
I am trying to solve http://bugs.kde.org/show_bug.cgi?id=134588. It seems to 
me that the correct solution would be to have at startup below "Custom 
document" an option called "image from pasteboard" (only available if the 
pastboard contains an image) but from I understand of the current API of the 
startup dialog, it's not possible. But maybe I am wrong ?
Comment 2 Maciej Pilichowski 2006-09-24 16:28:36 UTC
Cyrille, I think it should go in private mail to somebody.

Btw. since I've read it it would be much better just to add "edit" menu with all items disabled except one, or with just one item -- "paste...". Reason: keep the functions in a consistent way, don't put function in dialog A here, and in B there. The principle of the least surprise.
Comment 3 Thomas Zander 2006-09-24 17:06:13 UTC
Its not possible to add another widget in the startup dialog, and I don't think this feature request is a good reason to add one.
Comment 4 Cyrille Berger 2006-09-24 17:35:30 UTC
Maciej: I don't understand your solution, you want krita to start with everything disable except "paste..." when there is an image in the pasteboard ? (btw, if there is image data in the pasteboard, the "custom document" is automatically adjust to the image size and you just have to paste your image into the current image, still some extra steps)

Thomas: I know you have spend quiet sometime and did an usuability survey about it. But the way I see it, it wasn't design with krita in mind but rather kword and kpresenter, templates are more or less useless (at least in my limited experience) in krita. Here is a list of what you might want to do when starting krita : open a picture, create a new one, editing the content of the pasteboard, take a screenshot, create a panorama. The first two are easily possible with the current start-up dialog, the last three (note that the panorama code only exists as an unfinished things on my hard drive) need allways extra steps, including removing a layer that was created at start-up by krita.
Comment 5 Maciej Pilichowski 2006-09-24 18:03:45 UTC
Cyrille, no ;-))

Run Krita. Take a look at the startup window. There are many widgets but there is also menu with 
File
Settings
Help

I would like to see
File
Edit
Settings
Help

Always! I described the two possible contents of the edit menu at the startup. If the image to paste is available this item (in menu) should be enabled, if not -- disabled.
So, in general, the startup dialog would always look the same -- the only difference would be state of edit->paste item.
Comment 6 Cyrille Berger 2006-09-24 20:15:31 UTC
ah that menu :) I allways forget about that menu (I use menu bar ala mac os X ;) ), I am not sure how much of krita is in that dialog, which means it would have to be modification in koffice/libs, and that "dialog" is kind of untouchable :'( I am affraid the only solution is : create a new image with the custom widget (size is setup to the size of the image in the paste buffer), then "paste", then remove the unused layer.

I keep the bug open, even if it's probably unsolvable right now, it might be in the future.
Comment 7 Lars DIECKOW 2007-03-13 12:49:05 UTC
comment #3

Why should it not be possible to add another button? There's room enough on the startup screen!

Add a button labeled [Paste from clipboard] below the button [Open document...]. Disable the button if there's no image data on the clipboard.

This is so simple, I propose to make this a Junior Job.
Comment 8 Maciej Pilichowski 2007-03-13 13:45:16 UTC
Lars, AFAIK Koffice developers tries to keep the startup dialog uniform (I don't think it is good idea, but I am just a user), and since such feature does not make much sense for KWord for example it is "removed" from Krita as well.
Comment 9 Halla Rempt 2007-12-06 19:59:23 UTC
SVN commit 745654 by rempt:

Implement 134588 (not as nice as it would have been had we been able to
add an extra item in the left-hand column, but useful enough).
CCBUG:134588


 M  +18 -1     kis_custom_image_widget.cc  
 M  +1 -1      kis_custom_image_widget.h  
 M  +4 -2      kis_doc2.cc  
 M  +114 -17   wdgnewimage.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=745654
Comment 10 Halla Rempt 2007-12-06 20:00:44 UTC
If there's a clip on the clipboard, starting Krita, selecting custom image and pressing the create button will create a new Krita image with the clip as first layer.