Dialog way off screen
CatoLynx opened this issue · comments
Cato commented
I was delighted to see the plugin available for KiCad 7, so I installed it via PCM and tried it out, but all it does is make the source footprints get highlighted on the board and then nothing. Checking the log seems to indicate that the dialog is being shown, but completely off screen at negative coordinates (great idea to include that position in the log!):
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 359:Plugin executed on: 'win32'
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 360:Plugin executed with python version: '3.9.14 (main, Feb 13 2023, 04:48:26) [MSC v.1934 64 bit (AMD64)]'
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 361:KiCad build version: 7.0.1
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 362:Plugin version: 2.0.9
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 363:Frame repr: <wx._core.Frame object at 0x0000015E64489F70>
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 387:Preparing replicator with D1 as a reference
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.replicate_layout 113:getting a list of all footprints on board
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 435:source anchor footprint is 'D1'
Located on: ['LED Block A1']
With filenames: ['led_6x11_is31fl3743b.kicad_sch']
With sheet_id:['LED Block A1']
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 442:Corresponding footprints are
[('D331', ['LED Block B1']), ('D265', ['LED Block B2']), ('D199', ['LED Block B3']), ('D133', ['LED Block A3']), ('D67', ['LED Block A2']), ('D1', ['LED Block A1'])]
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 454:Showing dialog
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.replicate_layout 384:constructing a list of sheets suitable for replication on level:'LED Block A1', file:'led_6x11_is31fl3743b.kicad_sch'
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.replicate_layout 421:suitable sheets are:[['LED Block A2'], ['LED Block A3'], ['LED Block B1'], ['LED Block B2'], ['LED Block B3']]
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.replicate_layout 1341:Level selected: ['LED Block A1']
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.replicate_layout 1176:Filtering list of tracks
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 460:Toolbar position: wx.Point(-29482, -31958)
04-06 09:25:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 465:Dialog position: wx.Point(-29846, -31958)
For what it's worth, this setup has three 2560x1440 screens horizontally next to each other, with the middle one being the main screen. I'm running Windows 10.
Cato commented
Welp, I restarted KiCad and it magically fixed itself. Weird... but now it shows at the right location!