Highlighting source code does not allow text to be pasted using Middle Click on Linux versions of Firefox

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

Normally, highlighting text within an X11 environment places that text in a copy buffer, which can be extracted by using middle click on the mouse.

In Bitbucket Server, under certain conditions, highlighting source code does not automatically place the text within the middle mouse copy buffer, but highlighting other elements does work properly.

診断

環境

  • Linux and Firefox 

原因

Bitbucket Server uses a Javascript library called Codemirror to handle the display of source.  This issue is tracked here, but the underlying issue is that Firefox does not fire a copy event when the DOM element is not being focused (which is incorrect according to spec).  This is being tracked in this bug for Mozilla Firefox.

ソリューションまたは回避策

There is no workaround at this time, other to use a different browser that handles this properly, such as Chrome.

最終更新日: 2016 年 2 月 19 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.