GNOME Bugzilla – Bug 311134
Menu Paste Option should be Disabled if no Contact in Clipboard
Last modified: 2009-11-12 18:46:06 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
added UI keyword and set priority to low
Apologies for any spam... cc'ing usability-maint on all Evolution usability bugs. Filter on EVO-USABILITY-SPAM to ignore.
removing old target milestone.
Created attachment 68902 [details] [review] disables the paste option if no contacts r selected
U may have to compare based on editable and selection available. This would fail on read only books.
hmm not just that, this has to enable only if clipboard has some.
Note: Paste should be enabled, if there is a Contact to paste in the clipboard. Not, if there is another Contact selected...
Created attachment 69962 [details] [review] enables the paste option only if contacts are selected
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..
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.
Created attachment 77268 [details] [review] Patch to disable paste option if no contact is selected.
I dont see this working well.
Bumping version to a stable release.
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".