Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Copy/Past KeePass and Firefox 94.0 (Linux Mint)

  • 13 отговора
  • 1 има този проблем
  • 2 изгледи
  • Последен отговор от 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

Всички отговори (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.

Променено на от 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>');

Променено на от 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

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