Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Copy/Past KeePass and Firefox 94.0 (Linux Mint)

  • 13 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 1 view
  • Last reply by Linuxforme

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

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

All Replies (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.

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.
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>');

https://sourceforge.net/p/keepass/discussion/329221/thread/6935b089dc/ - the solution to the problem is here! Ths to everybody for your answers