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 300429 - Copy paste Issue, in Compose Dialog
Copy paste Issue, in Compose Dialog
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: API
3.7.x
Other All
: Normal major
: 2.5
Assigned To: evolution-mail-maintainers
Evolution QA team
: 303300 313430 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-13 05:29 UTC by nagashree
Modified: 2006-02-07 11:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description nagashree 2005-04-13 05:29:55 UTC
Please describe the problem:
The copy paste push buttons that are available in ToolBar of Compose dialog has
effecf only with the Text area, where that actual body of the mail is typed. You
can not copy and paste to Subject or To or CC or BCC fields.

And even when the control is in either of these fields To, CC, BCC or Subject
and when you click on Paste button (assuming you have something copied to
clipboard), it pastes on to the Mail text area. (Body region)

Steps to reproduce:
1. Copy some text, from any application.
2. Launch Compose Dialog
3. Take the control on to To filed (You can see the cursor blinking in To field)
4. Clcik on the paste button in the tool bar.




Actual results:
Notice that, what ever you had copied has been pasted on to the Mail Text Area
(Body region) and still the control blinks in To field.

Expected results:
It should paste the clipboard contents on to To field and not in the Mail Text area.

Does this happen every time?
Yes

Other information:
Has same issue with copy too, the redo and undo buttons also has same effect. 
Say for instance edit some text in Mail Text Area, and then add the subject
line, click on Undo, assuming the subject that you added should be erased, will
erase the text that you added in Mail Text Area.
Comment 1 Lionel Dricot 2005-05-06 20:39:31 UTC
#303300 seems to be related
Comment 2 parthasarathi susarla 2005-08-17 11:19:57 UTC
Cannot replicate this bug. Closing. Re-open if necessary. 
Comment 3 Sushma Rai 2005-08-22 06:49:32 UTC
*** Bug 303300 has been marked as a duplicate of this bug. ***
Comment 4 Sushma Rai 2005-08-22 06:52:44 UTC
For all the header fields (subject, To, Cc, BCc) Ctrl + C and Ctrl + V
works. If u try copy and paste from Edit->Copy and Edit->paste it also
works. When Ctrl + C and Edit -> Copy are used menu_edit_cp_cb is called
and it works fine. 
 
When copy and paste form toolbar are used gtk_html_copy and
gtk_html_paste are used and while pasting it gives the error 

---> gtkhtml-WARNING **: Selection retrieval failed 
Same is the case with redo and undo they also don't work with header
fields. 
 
If u try to paste using middle click then also gtk functions are called
and same error is thrown. 
 
The gtk functions work perfectly in the mail text area but they give
error when used for header field.
Comment 5 Sushma Rai 2005-08-22 06:54:19 UTC
*** Bug 308840 has been marked as a duplicate of this bug. ***
Comment 6 Sushma Rai 2005-08-27 11:08:07 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=313430 is another similar bug.
Comment 7 Dave Hall 2005-10-10 10:28:02 UTC
My experience is similar to this.

Cut/Copy don't work in to/cc/bcc fields when using the keyboard shortcuts. 
Context and window dialogs work as does subject.  Undo/Redo is broken for the
subject and other fields.

Running 2.4.1 on breezy all updates to 20051010 am AEST

Can't really offer much more to help track it down, sorry.
Comment 8 Sushma Rai 2005-10-10 10:32:27 UTC
*** Bug 313430 has been marked as a duplicate of this bug. ***
Comment 9 Dave Hall 2005-10-11 09:55:20 UTC
Forgot to mention I am using GNOME 2.12 with the following version info

$ dpkg -l | grep gtkhtml
ii  gtkhtml3.6                        3.6.2-1                              HTML
rendering/editing library - bonobo comp
ii  gtkhtml3.8                        3.8.1-0ubuntu1                       HTML
rendering/editing library - bonobo comp
ii  libgtkhtml1.1-3                   1.1.10-4ubuntu1                      HTML
rendering/editing library - runtime fil
ii  libgtkhtml2-0                     2.6.3-1                              HTML
rendering/editing library - runtime fil
ii  libgtkhtml20                      1.0.4-6.2                            HTML
rendering/editing library - runtime fil
ii  libgtkhtml3.6-18                  3.6.2-1                              HTML
rendering/editing library - runtime fil
ii  libgtkhtml3.8-15                  3.8.1-0ubuntu1                       HTML
rendering/editing library - runtime fil


again sorry about the wrapping.
Comment 10 Rohini 2006-02-07 10:19:07 UTC
Doesn't occur anymore. Closing bug
Comment 11 Dave Hall 2006-02-07 10:39:44 UTC
Hi Rohini,

This bug is still present in my install.  I am using gtkhtml 3.9.90 + evolution 2.5.90 on ubuntu dapper updated this morning (about 18hrs ago).

This is a frustrating bug, so it would be nice if it was really fixed *hint* *hint* :)

Keep up the good work.

Dave
Comment 12 Dave Hall 2006-02-07 11:11:24 UTC
Here is some more information on this bug.  Hope it helps resolve it.

<srag> skwashd, I have 2.5.90 and the toolbar buttons work for me.
<skwashd> srag: toolbar buttons work ... ketboard shortcuts and context menu don't
<skwashd> srag: sorry if that isn't clear in the post
<skwashd>  /report
<srag> skwashd, the bug was about toolbar iirc
<skwashd> srag: http://bugzilla.gnome.org/show_bug.cgi?id=300429#c7
<skwashd> srag: i am happy to open a new bug report for the keyboard shortcuts / context menu bug/s
<srag> skwashd, for me ever keyb shortcuts work
<srag> but undo/redo is only for the descripion and not for sub
<rohini> even context menu works
<srag> skwashd, keyb and context menu works from beginning iirc

<snip reason="ot" />

<skwashd> should i run with -d or something ?
<srag> i dont think any such thing is there
<skwashd> srag: log a feature request for it ? 
<srag> for.. undo/redo ?
<skwashd> srag: no ... -d
<skwashd> ok ... now this is weird
<skwashd> context menu doesn't work
<srag> interesting stuff
<skwashd> but ...
<srag> context menu is GNOME GTK impl
<srag> and not evo's iirc
<srag> that context menu is same and shared across all GtkEntry iirc
<skwashd> if you do into gnome prefs -> mouse -> pointer -> hightlight when press ctrl ... keyboard shortcuts stop working
<skwashd> disable it and they work again
<skwashd> i work outside a bit ... so the ctrl thing is handy ... so i keep it on until it sh!ts me
<skwashd> srag: the context menu and keyboard shortcuts work fine for me everywhere else