After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 749002 - "Edit->Paste" is active while it shouldn't
"Edit->Paste" is active while it shouldn't
Status: RESOLVED NOTABUG
Product: GIMP
Classification: Other
Component: General
2.8.14
Other All
: Low minor
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2015-05-06 09:53 UTC by sworddragon2
Modified: 2015-05-07 22:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sworddragon2 2015-05-06 09:53:26 UTC
I'm noticing that the action Paste is always active even if the clipboard is empty. Also after cutting a complete image the action "Copy Visible" is active while Cut and Copy aren't.
Comment 1 Joao S. O. Bueno 2015-05-06 12:32:10 UTC
Why do you think "copy visible" should be rendered inactive?  
"Copy" needs a selection with pixels to be copyied over. "copy visible" should create new pixels from what is seen on the screen on the selected area: an image with no layers should produce an equivalent area of 100% transparent pixels on the clipboard.

I am validating bug on the "paste" matter, though.
Comment 2 sworddragon2 2015-05-06 14:15:06 UTC
Maybe "Copy Image" would be then a better name instead of "Copy Visible" which does also copy invisible (transparent) pixels :)
Comment 3 Michael Natterer 2015-05-06 17:29:16 UTC
Maybe it should be "copy merged", like "sample merged".

"Paste" is always sensitive because it is too expensive to ask for
the clipboard content just for setting the item's sensitivity. This
is on purpose and cannot be worked around. It has also been discussed
several times in the past.
Comment 4 sworddragon2 2015-05-06 17:59:32 UTC
Shouldn't it only be required to check for the first byte of the clipboard?
Comment 5 Michael Natterer 2015-05-06 20:09:42 UTC
It works completely different and is *really* expensive, many people have
looked into this :)
Comment 6 sworddragon2 2015-05-07 08:40:22 UTC
Too bad, but I can live with this if it would otherwise cause more troubles :)

But I have found something similar: Every input field shows on the context menu (opened with a right mouse click) the entry "Select All" even if the field is empty.
Comment 7 Michael Natterer 2015-05-07 22:53:47 UTC
That's a different issue and should have a different bug. If you choose
to open one, please file it against GTK+, this menu is not implemented in
GIMP.