搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Copy/Past KeePass and Firefox 94.0 (Linux Mint)

  • 13 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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