New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Placeholder prompt sometimes fails to paste clipping #233
Comments
I've discovered that this isn't anything to do with the placeholder prompt closing before it has a chance to send a response to the browser window. Looking at the debugging log, the cause appears to be that the content script is not responding to the
I'm able to reproduce this a few times. Strangely enough, it doesn't occur when pasting a clipping without any placeholders in its content. |
The active tab ID (i.e. the tab where the This would explain why this issue isn't occurring when pasting a clipping without placeholders. The only proper solution around this problem is to avoid opening a window when pasting a clipping with placeholders. One possibility is to inject a script into the current web page to display an inline HTML modal dialog on the page, prompting for the placeholder for the clipping to be pasted. |
Deferring this issue. |
(issue #233) - Fix also applied to keyboard paste prompt
Fixed in 6.1b2. This bug fix is planned to be backported to 6.0.7. |
(issue #233) - Fix also applied to keyboard paste prompt
Hi there, odd thing happens with Linux kernel 3.10.0-957.1.3.el7.x86_64: kernel-3.10.0-327.28.3.el7.x86_64 <--------- Clippings work like a charm similar behaviour described in this very BUG... Please let me know how I could help with logs or stuff... Cheers! |
What version of Clippings and Firefox are you using? When this issue occurs, copy any errors that appear in the Browser Console and paste them here. Also, I would like information on the clipping containing the placeholders when this issue occurs. How many placeholders? Is the first placeholder normal text or has multiple values, the second placeholder, etc.? |
Sorry for the delay... so here it is.. I hope it helps: Q: What version of Clippings and Firefox are you using?
Q: When this issue occurs, copy any errors that appear in the Browser Console and paste them here.
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIInterfaceRequestor.getInterface] network-monitor.js:308
LoginRecipes:getRecipes: falling back to a synchronous message for: "https://www.google.com" LoginRecipes.jsm:243
Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode” browser.xul
[Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMessageSender.sendAsyncMessage]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 533" data: no] (unknown) NOTE: When using a clipping without any placeholder, no events are registered by the Browser console, and the clipping is pasted in to the textbox. Q: Also, I would like information on the clipping containing the placeholders when this issue occurs. How many placeholders? Q: Is the first placeholder normal text or has multiple values, the second placeholder, etc.? Thanks!! |
Clippings 6.0.6 and 6.1b1+
Steps to repro:
Result:
Clipping does not get pasted into the textbox. This happens sporadically. Possible explanation: the placeholder prompt window is closed before it has a chance to send a message back to the browser window to perform the placeholder substitution and paste the clipping.
Also, when the placeholder prompt window appears, the following error is displayed in the browser console:
However, this error may not be related to the clipping paste failure.
The text was updated successfully, but these errors were encountered: