Page 1 of 2

Copy issue with code boxes.

Posted: 05 Sep 2017, 16:21
by Helgef
Hello.
I cannot copy the contents of a Codebox by pressing ^c, not physically pressing, and not sending via send command. Right-click and select copy from menu works. I can copy text from the post.
Try it,

Code: Select all

msgbox text
My error. or forum error?

Cheers.

Re: Copy issue with code boxes.

Posted: 05 Sep 2017, 16:33
by wolf_II
I had that problem a few weeks ago too. Right now, Ctrl+C does not work with Opera on Win10. But it works with FireFox. IMHO, it's caused by browser type and version.
I did nothing in the matter, and the problem disappeared one day. At least for me using FireFox.

My past problem may have had different causes than yours, but for Right now: Ctrl+C works in FireFox, but not in Opera.

Re: Copy issue with code boxes.

Posted: 06 Sep 2017, 01:29
by Helgef
Thanks for replying wolf_II :wave:
I'm using Opera too. :think:

Cheers.

Re: Copy issue with code boxes.

Posted: 06 Sep 2017, 09:55
by derz00
Hi,

I downloaded Opera to test. On Windows 10.

Clicking [Select All] then ^c does not copy. But manually dragging over the text with the mouse to select, then ^c does copy it.

Hope you all can find a solution. :D

Re: Copy issue with code boxes.

Posted: 06 Sep 2017, 10:34
by tank
does the text highlight?

Re: Copy issue with code boxes.

Posted: 06 Sep 2017, 12:09
by Helgef
Thank you derz00, indeed, with manual selection ^c works.
@ tank, yes, [Select all] highlights the text.

Re: Copy issue with code boxes.

Posted: 07 Sep 2017, 02:18
by Helgef
Additional info. It seems that although the text is highlighted, by [Select all], it is not focused (!?). If I click [Select all] and then make a small click-drag and release the selection in the code-box, then ^c works.

Re: Copy issue with code boxes.

Posted: 07 Sep 2017, 07:19
by tank
@Helgef particularly helpful. I can try and implement an opera patch based on that

Re: Copy issue with code boxes.

Posted: 08 Sep 2017, 11:42
by tank
I spent a couple hours on thistoday. I am not finding an Opera solution. I find a few similar complaints but the answers come in the form of only w3c supported features. I dont want to install Opera(HATE IT) do any of you hardcore Opera users know of any patches for similar problems of selected text not being copyable?

Re: Copy issue with code boxes.

Posted: 10 Sep 2017, 19:00
by tank
I have applied a potential fix please let me know

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 00:30
by jeeswg
I'm using Internet Explorer 11 on Windows 7, and it seems that if I click 'Select all' or 'Expand', it does nothing, and navigates to the top of the page, this may have only happened in the last one or two days.

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 02:50
by wolf_II
@tank: Your latest change did break the selection in FF for me, means: using Win10 and FF 55.0.3 when I click on "Select all" -> I no longer get any highlighted text.

P.S. on Win 10 plus Opera: no highlighted text either (as reported by jeeswg, now confirmed on Win 10).

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 05:08
by gregster
Selecting seems to work again in FF. But unfortunately, the color scheme of the code box/syntax highlighting changed... with the dark forum skin, some of the contents of the codebox are now hard to read (too dark).i didnt edit styles only the JS around selecting

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 06:48
by tank
wolf_II wrote: FF 55.0.3 when I click on "Select all" -> I no longer get any highlighted text.
bummer i guess i better roll back the change
gregster wrote:Selecting seems to work again in FF
conflicting reports can we get more feedback from other users?
Firefox and Opera do indeed use the same JS block
jeeswg wrote:I'm using Internet Explorer 11 on Windows 7, and it seems that if I click 'Select all' or 'Expand',
I cannot duplicate this problem using the same. further more my change would not have affected IE
gregster wrote:. with the dark forum skin
no style edited it had always been that way and you didnt notice.

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 06:52
by wolf_II
no style edited it had always been that way and you didnt notice.
I can confirm: the most recent version changes the highlight color in both the codebox and the editors (quick reply and full editor) for as well with FF.

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 07:02
by jeeswg
'Select all' and 'Expand' are working normally for me again (Internet Explorer 11 on Windows 7).

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 07:17
by wolf_II
@tank: re. conflicting feedback from myself and gregster: At the time of my post, I did not get highlights in FF. About 2.5 hours later (at the time of gregster's post) I also no longer had that problem.

re. style changes: I can no longer see the color of comments in code boxes, it used to be a shade of green, now it shows plain black.

Code: Select all

; comment
I have no problem with the color changes, highlighted text is just a different shade of blue for me (FF), but I can still easily read it.
Also, color of comments is just an unexpected change, having it back to "greenish" would be nice.

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 07:37
by gregster
no style edited it had always been that way and you didnt notice.
No, sorry, that is simply not true. Everything except commands (which are in light blue) is now in black. And black text on dark blue background is a bit hard to read (it is not totally unreadable, but much worse than before). Before it was lighter colors. I am 200 % sure.

p.s.: I can confirm waht wolf_II describes. At the time of his post, 'select all' was broken... not anymore.

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 07:41
by gregster
wolf_II wrote:I can confirm: the most recent version changes the highlight color in both the codebox and the editors (quick reply and full editor) for as well with FF.
Editors are still ok for me: Unchanged. Whitish/light grey color on dark background is what I am looking for; and that is still working

Re: Copy issue with code boxes.

Posted: 11 Sep 2017, 07:46
by tank