Pasting into scripting console results in different text

Bug #1559103 reported by Adam Wolf
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
xzcvczx

Bug Description

On OS X KiCad 4.0.2, I pasted the following text into the scripting console of pcbnew:

import pcbnew

It pasted:

浩潰瑲瀠扣敮w

Tags: osx
Revision history for this message
xzcvczx (xzcvczx) wrote :

This seems to be due to how wxwidgets handles the clipboard and will probably require a wxwidgets patch to fix up. Including making the clipboard handling native

Revision history for this message
xzcvczx (xzcvczx) wrote :
xzcvczx (xzcvczx)
Changed in kicad:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
xzcvczx (xzcvczx) wrote :

Based on https://github.com/wxWidgets/wxWidgets/commit/73fca4c37d1ee2e9e495aaa68442cdfcb4243b52 i tested it and it no longer pastes as utf-16 into the scripting console.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 6117713f33d227174d64b4c3b8691b88867683ab
https://git.launchpad.net/kicad/patch/?id=6117713f33d227174d64b4c3b8691b88867683ab

Changed in kicad:
status: Confirmed → Fix Committed
assignee: nobody → Simon Wells (xzcvczx)
Revision history for this message
xzcvczx (xzcvczx) wrote :

there is a patch for this, but it requires patching wxwidgets, This patch is currently included in the kicad distribution but is/was not part of the nightlies that are released by the project. This should be resolved for the 8-8-2017 nightly (thanks Chris)

Revision history for this message
xzcvczx (xzcvczx) wrote :

this is in nightlies from kicad-20170812-040158.84f1c8e-c4osx.dmg

Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.