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 356106 - Paste option in context menu is always disabled
Paste option in context menu is always disabled
Status: RESOLVED NOTABUG
Product: gnome-calculator
Classification: Core
Component: general
5.8.x
Other Linux
: Normal minor
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2006-09-15 10:16 UTC by Dean Sas
Modified: 2006-09-16 14:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dean Sas 2006-09-15 10:16:44 UTC
Hi, this bug was reported in launchpad here: https://launchpad.net/distros/ubuntu/+source/gcalctool/+bug/60105
"
If I copy a number in another program and try to paste it on the calculator (right click -> paste), the menu is mostly disabled. But if I go to "edit" -> "paste", all works ok. I think that it should work from the contextual menu too.. ctrl-C ctrl-V work, but not shift-canc shift-ins.
"

bug 317786 is somewhat similar.
Comment 1 Rich Burridge 2006-09-15 22:48:37 UTC
The text area context menu is mostly inactive because that text
area is set to be not editable (i.e. read-only). This is because
as the user types things into the calculator, we append them to the 
end of the display (except for Backspace and Delete which are special 
cases) or expand them into specific commands (e.g 'K' turns into "Sin("). 
We don't want the user just randomly editing the display.

Now once you select something in the display (either via "Select All" or
by highlighting something my dragging the mouse), then the Copy menu item 
is activated. You can also paste something into the display area using 
the middle mouse button. The Copy/Paste menu items in the Edit menu also 
work as you mention (plus Control-C and Control-V).

There are no plans to change any of this. 

Bug 317786 is different (I believe). It refers to the menu items in the 
Edit menu.

I'm closing this one as NOTABUG.
Comment 2 Dean Sas 2006-09-16 06:39:38 UTC
Just to clarify: is the paste context menu item ever usable?
Comment 3 Rich Burridge 2006-09-16 14:39:14 UTC
No it's not. This is code in Gtk+ that always makes the Paste
menu item insensitive if the text area is read-only.