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 311134 - Menu Paste Option should be Disabled if no Contact in Clipboard
Menu Paste Option should be Disabled if no Contact in Clipboard
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.4.x (obsolete)
Other Linux
: Low minor
: Future
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks: 327508 327510
 
 
Reported: 2005-07-21 11:45 UTC by Nagappan Alagappan
Modified: 2009-11-12 18:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
disables the paste option if no contacts r selected (1.25 KB, patch)
2006-07-14 06:03 UTC, arvind
rejected Details | Review
enables the paste option only if contacts are selected (1.25 KB, patch)
2006-07-31 12:12 UTC, arvind
needs-work Details | Review
Patch to disable paste option if no contact is selected. (1.32 KB, patch)
2006-11-28 03:46 UTC, Raghavendran
needs-work Details | Review

Description Nagappan Alagappan 2005-07-21 11:45:29 UTC
Distribution/Version: SuSE 9.3

1. Copy some text content to clipboard
2. Goto contacts
3. Select a folder
4. In menu select edit->paste

Actual result:
Nothing happens

Expected result:
Since contacts is not selected paste menu item should be disabled
Comment 1 Sushma Rai 2005-07-25 06:14:19 UTC
added UI keyword and set priority to low
Comment 2 Calum Benson 2005-07-28 10:36:20 UTC
Apologies for any spam... cc'ing usability-maint on all Evolution usability
bugs. Filter on EVO-USABILITY-SPAM to ignore.
Comment 3 André Klapper 2006-06-14 14:13:21 UTC
removing old target milestone.
Comment 4 arvind 2006-07-14 06:03:57 UTC
Created attachment 68902 [details] [review]
disables the paste option if no contacts r selected
Comment 5 Srinivasa Ragavan 2006-07-14 06:59:35 UTC
U may have to compare based on editable and selection available. This would fail on read only books.
Comment 6 Srinivasa Ragavan 2006-07-14 07:02:29 UTC
hmm not just that, this has to enable only if clipboard has some.
Comment 7 Karsten Bräckelmann 2006-07-24 17:04:25 UTC
Note:  Paste should be enabled, if there is a Contact to paste in the clipboard. Not, if there is another Contact selected...
Comment 8 arvind 2006-07-31 12:12:27 UTC
Created attachment 69962 [details] [review]
enables the paste option only if contacts are selected
Comment 9 arvind 2006-07-31 12:15:36 UTC
my patch id=69962 enables the paste option only if there is some content in the clipboard ... 

this patch shd work...

many apologies for the comment "enables the paste option only if contacts are selected ", am too tired already.. long evening ahead and a night as well.. sigh..
Comment 10 Srinivasa Ragavan 2006-08-22 05:51:20 UTC
arvind: Cool to see this bug fixed. But a minor issue again :)

Im seeing the Paste enabled, only when i click on a different contact or so. Ideallt on Edit->copy and click Edit-> you see the paste disabled. Click another contact and Click Edit-> paste is enabled. May be u have to call the sensitise some where down there.

Also the context menu isnt sync with the global menu. It has Paste enabled always.

It is a much better patch, some more work required. Thanks.
Comment 11 Raghavendran 2006-11-28 03:46:11 UTC
Created attachment 77268 [details] [review]
Patch to disable paste option if no contact is selected.
Comment 12 Srinivasa Ragavan 2007-05-12 09:51:27 UTC
I dont see this working well.
Comment 13 Matthew Barnes 2008-03-11 00:25:28 UTC
Bumping version to a stable release.
Comment 14 Matthew Barnes 2009-11-12 18:46:06 UTC
Fixed in:
http://git.gnome.org/cgit/evolution/commit/?id=c12e485e47f5ac99f0ddd7f7e90b9ab28b077c3d

Paste is only enabled if the clipboard's target type is "text/x-vcard" or "text/directory".