GNOME Bugzilla – Bug 524756
Can't paste text from jedit
Last modified: 2008-03-30 14:40:35 UTC
When trying to paste text from jedit into the cell grid, nothing happens. Pasting into the formula entry area works. The reason is that jedit is buggy. It exports a nonsense list of targets (=formats) supported. Less clever apps, and the gtk entry field, just ask for text, and don't care what format the exporting app claim to support. Attached: Patch to fall back to text if no suitable target is supported. There's some code duplication there with text_content_received. I wouldn't worry.
Created attachment 108161 [details] [review] Patch to fall back to text as a last resort
Wouldn't it make much more sense to fix jedit rather than trying to work around a jedit bug in gnumeric?
Certainly, but 1. We don't maintain jedit and 2. It may not be the only one
Can [do?] we detect the situation and only use the fallback if nothing sane is advertised? I am worried that this will cause an extra round-trip or more is in play.
We do. request_text is only called if the callback to request_targets receives no targets.
Please add a comment as to why this is done and them commit to both branches.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.