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 cavab
  • 1 has this problem
  • 1 view
  • Last reply by Linuxforme

more options

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)

more options

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.

more options

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
more options

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.

Modified by Linuxforme

more options

Have you tried the same steps in Safe Mode?

more options

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

more options

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

more options

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

more options

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

more options

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

Modified by cor-el

more options

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"

more options

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>');
more options

KDE or Gnome?

more options

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