You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mp.weixin.qq.com - Unable to copy/paste Chinese text #68871
@karlcow Although I'm investigating that I cannot debug the web site on Android (not connectable to my device...) Did you mean that the images around the text is SVG on Android? I don't see SVG images around "病例详情" on desktop.
Activity
[-]In the moderation queue.[/-][+]mp.weixin.qq.com - see bug description[/+]softvision-oana-arbuzov commentedon Mar 29, 2021
Thanks for the report, I was to reproduce the issue. Context menu is shown I can use "Copy" but pasting the text is not performed.
Copied "病例详情"

Paste (it pasted a previous copied text from a different page)

Note: The issue is not reproducible on Chrome.

Copied "据济南市卫健委消息"
Tested with:
Browser / Version: Firefox Nightly 210329 (🦎 89.0a1-20210328095625)
Operating System: Google Pixel 5 (Android 11) - 1080 x 2340 pixels, 19.5:9 ratio (~432 ppi density)
Moving to Needsdiagnosis for further investigation.
[-]mp.weixin.qq.com - see bug description[/-][+]mp.weixin.qq.com - Unable to copy/paste Chinese text[/+]karlcow commentedon Feb 14, 2022
it goes to:
https://appwritefunc.yet-another-testing-domain.com/api/grab/res.wx.qq.com/mmbizwap/en_US/htmledition/js/biz_wap/ui/weui_css5acc2d.js,/mmbizwap/en_US/htmledition/js/sougou/index4fe01d.js,/mmbizwap/en_US/htmledition/js/biz_wap/safe/mutation_observer_report47cb35.js,/mmbizwap/en_US/htmledition/js/appmsg/fereport4c4c9a.js,/mmbizwap/en_US/htmledition/js/appmsg/fereport_without_localstorage4c4c9a.js,/mmbizwap/en_US/htmledition/js/appmsg/report4c4c9a.js,/mmbizwap/en_US/htmledition/js/appmsg/report_and_source5b0987.js,/mmbizwap/en_US/htmledition/js/appmsg/appmsg_copy_report54f00e.js,/mmbizwap/en_US/htmledition/js/appmsg/cdn_speed_report47cb35.js,/mmbizwap/en_US/htmledition/js/appmsg/wxtopic47cb35.js,/mmbizwap/en_US/htmledition/js/appmsg/minishop/minishop57f5bb.js,/mmbizwap/en_US/htmledition/js/appmsg/live507426.js,/mmbizwap/en_US/htmledition/js/appmsg/profile/mp_insert_profile59da4e.js,/mmbizwap/en_US/htmledition/js/appmsg/channel/channels5b4296.js,/mmbizwap/en_US/htmledition/js/question_answer/appmsg5b36fc.js?v=1003
which has a
getContentDatafunctionwhich ever part of the text I'm selecting I always end up with
document.getSelection()seems to return the right thing.and
t.getRangeAt(0)which has
collapsed: trueso it never executes the rest of the code.document.getSelection().anchorNodein my case returns:The behavior looks a bit like https://bugzilla.mozilla.org/show_bug.cgi?id=1569211
but I don't see any unselectable text in there.
@masayuki-nakano do you think it's the same issue than https://bugzilla.mozilla.org/show_bug.cgi?id=1569211 or should I open another issue?
masayuki-nakano commentedon Feb 15, 2022
@karlcow Although I'm investigating that I cannot debug the web site on Android (not connectable to my device...) Did you mean that the images around the text is SVG on Android? I don't see SVG images around "病例详情" on desktop.
karlcow commentedon Feb 16, 2022
@masayuki-nakano nope I don't see SVG images too. I wonder if invisible characters could do that too, but I do not see any either. :/
masayuki-nakano commentedon Feb 17, 2022
@karlcow If there are some
::beforeor::afterpseudo elements, they may split selection ranges IIRC.karlcow commentedon Feb 21, 2022
Oh! Thanks. @masayuki-nakano
Probably we should create a test case to see if there's a diff behavior in between blink and gecko.
softvision-raul-bucata commentedon Nov 15, 2022
The issue is still reproducible.
Tested with:
Browser / Version: Firefox Nightly 109.0a1 (2015915883-🦎109.0a1-20221114151331🦎)
Operating System: Samsung A51 (Android 11) -1080 × 2400 pixels 20:9 aspect ratio (~405 ppi density)
Operating System: Google Pixel 3 (Android 12) -1080 x 2160 pixels, 18:9 ratio (~443 ppi density)
[inv_46/2022]