Copy/Past KeePass and Firefox 94.0 (Linux Mint)
After upgrading firefox to the latest version 94.0, it became impossible to copy entrys directly from keepass to firefox. Now to copy entrys, you first need to copy it from keepass to notepad, and then from notepad to firefox. What is the reason for this?
My system is mint 19 and keepass version 2.45
تمام جوابات (13)
Sometimes, when using the copy/paste; If what you are trying to copy is formatted, the information can't be properly copied to elsewhere. What one needs to do is to copy whatever and paste it to a 'word' type program. Then copy from word to where you want.
What formats (flavors) places Keypass on the clipboard ?
Note that Linux comes with two clipboards, so it is possible that the wrong clipboard is used.
Does pasting with a middle-click work?
- about:config => middlemouse.paste = true
FredMcD said
Sometimes, when using the copy/paste; If what you are trying to copy is formatted, the information can't be properly copied to elsewhere. What one needs to do is to copy whatever and paste it to a 'word' type program. Then copy from word to where you want.
Are you sure you have read my problem carefully? I wrote that yes, when copying first to notepad, and then from notepad to the browser, there aren't any problems. But previously there was no need to use these crutches.
Linuxforme کی جانب سے
Have you tried the same steps in Safe Mode?
cor-el said
What formats (flavors) places Keypass on the clipboard ? Note that Linux comes with two clipboards, so it is possible that the wrong clipboard is used. Does pasting with a middle-click work?
- about:config => middlemouse.paste = true
cntr+c or just right click on the text and from the context menu the copy command
middle-click work with text not from keepass
jonzn4SUSE said
Have you tried the same steps in Safe Mode?
Safe Mode for Linux Mint? No, I haven't. But I tried with the previous version and everything works fine
The browser in Safe Mode.
Try downloading another copy of Firefox and run it from the folder. Do not sign into your Firefox account and see if you have the same issue.
https://www.mozilla.org/en-US/firefox/all/#product-desktop-release
jonzn4SUSE said
The browser in Safe Mode. Try downloading another copy of Firefox and run it from the folder. Do not sign into your Firefox account and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release
I've tried this in clean virtual machine and nothing has changed unfortunately - the same issue
See this file to see how the clipboards works in Firefox on Linux.
You can run this code in the Browser Console to check what flavors are present on the global clipboard.
- https://developer.mozilla.org/en-US/docs/Tools/Browser_Console
- https://searchfox.org/mozilla-release/source/widget/nsITransferable.idl
var flavors = ["text/plain","text/unicode","text/html","text/rtf"]; var images = ["image/png","image/jpeg","image/jpg","image/gif"]; var places = ["text/x-moz-place","text/x-moz-place-container","text/x-moz-place-separator","text/x-moz-place-action"]; var xmoz = ["text/x-moz-text-internal","text/x-moz-url","text/x-moz-url-data","text/x-moz-url-desc","text/x-moz-url-priv","application/x-moz-nativeimage","application/x-moz-nativehtml","application/x-moz-file"]; flavors = [flavors,images,places,xmoz]; var found = []; var cb=Services.clipboard; for(i in flavors){ for(j in flavors[i]){ var k = flavors[i][j]; var x = [k]; if(cb.hasDataMatchingFlavors(x,1,cb.kGlobalClipboard)){found.push(k)} }} console.log('Global clipboard: ',found.length>0?found:'<nothing>');
cor-el کی جانب سے
cor-el said
See this file to see how the clipboards works in Firefox on Linux. You can run this code in the Browser Console to check what flavors are present on the global clipboard.
- https://developer.mozilla.org/en-US/docs/Tools/Browser_Console
- https://searchfox.org/mozilla-release/source/widget/nsITransferable.idl
var flavors = ["text/plain","text/unicode","text/html","text/rtf"]; var images = ["image/png","image/jpeg","image/jpg","image/gif"]; var places = ["text/x-moz-place","text/x-moz-place-container","text/x-moz-place-separator","text/x-moz-place-action"]; var xmoz = ["text/x-moz-text-internal","text/x-moz-url","text/x-moz-url-data","text/x-moz-url-desc","text/x-moz-url-priv","application/x-moz-nativeimage","application/x-moz-nativehtml","application/x-moz-file"]; flavors = [flavors,images,places,xmoz]; var found = []; var cb=Services.clipboard; for(i in flavors){ for(j in flavors[i]){ var k = flavors[i][j]; var x = [k]; if(cb.hasDataMatchingFlavors(x,1,cb.kGlobalClipboard)){found.push(k)} }} console.log('Global',found);
I tried it but in the end I got "undefined"
Seeing 'undefined' as the last message is normal because the code doesn't return a result. What matters is the content of the 'found' array that holds the flavors found on the clipboard tested against the flavors defined at the start of the code. So make sure you let KeyPass place something on the clipboard before running the JavaScript code. You can modify the last line of the code to give some more info.
- console.log('Global clipboard: ',found.length>0?found:'<nothing>');
KDE or Gnome?
https://sourceforge.net/p/keepass/discussion/329221/thread/6935b089dc/ - the solution to the problem is here! Ths to everybody for your answers