GNOME Bugzilla – Bug 749002
"Edit->Paste" is active while it shouldn't
Last modified: 2015-05-07 22:53:47 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.
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.
Maybe "Copy Image" would be then a better name instead of "Copy Visible" which does also copy invisible (transparent) pixels :)
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.
Shouldn't it only be required to check for the first byte of the clipboard?
It works completely different and is *really* expensive, many people have looked into this :)
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.
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.