GUI issues moving values and references

Bug #1798329 reported by Sebastian Kulik
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Jeff Young

Bug Description

Hi Guys!

I have a huge issues on nightly: try to move something in schematic (just say reference or value) - values dissapiers at all, references seems not moved till I save, close schematic and open it again- afert that I see changes. Moving parts(symbols) stoll ok- no issues here.
In PCB is different:
try to move a track it is possible some seconds I marked them.

Tried to swith/shange GFX acceleration dont fix this issue.

Any Ideas?
P.S. my GFX: GTX1070, no issued at all with......

Revision history for this message
Nick Østergaard (nickoe) wrote :

Please provide exact version informstion, containg the short commit hash at least.

Please add a couple of screenshots or a video/gif if possible.

What canvas are you using?

Changed in kicad:
status: New → Incomplete
Revision history for this message
Jeff Young (jeyjey) wrote :

Hi Sebastian,

I can't reproduce those issues on my build. However, I did beef up Hard Redraw (the circular arrow button to the left of the zoom controls) to rebuild the view completely. This should allow you to get on with your work when it does happen.

In the meantime, we'll see if anyone else can reproduce them....

Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

Hi Jeff,

nope, redraw do nochtin in my system at all, its default shortcutted to F3.
I can send you some pictures if you wish, have no idea how I can record my screen on Windows to show you ecactly whats happend here....

Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

Application: kicad
Version: (6.0.0-rc1-dev-924-g61f2dd21b), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Jeff Young (jeyjey) wrote :

Hi Sebastian, I just added the new code (commit 254e9f4a7). It won't be in the nightly till tomorrow.

Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

Well, I tried to capture my screen, take a look whats going on in schematic.....

Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

And you can see here whats going on in PCB.....

Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

I forgot to write: V5-0-1 have none of this issues.
My Workstation still Win10x64, Threadripper TR1920X, 32G RAM,ASUS X399 ROG, MSI GTX1070

I hope my creen capture will help...

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I'm seeing this as well on windows. When I move a field, it doesn't show up until I do something that causes a redraw.

Changed in kicad:
status: Incomplete → Triaged
importance: Undecided → Medium
Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

Yes! But manual redraw do nothing, only if I do something else.
Same here if some ports will renamed: it will keep "olf" name till save/close schematic or do something else that force redraw, "redraw" button itself do nochting....

Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

Take a look here: only "zoom+" really redraw , even not "zoom-"......

Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

@Jeff, this looks like a problem with the caching that you enabled some time ago. I left it off because an uncached view doesn't require update notifications of the items that have been changed by a tool (in Sebastian's case, a property window). We can fix it in two ways:
- add view->Update(item) wherever an item is changed,
- disable caching.

Tom

Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

Guys, let me know if you need more informations from my side, please

Revision history for this message
Jeff Young (jeyjey) wrote : Re: [Bug 1798329] Re: V6 r11539 GUI issues

Hi Tom,

Scrolling gets quite slow with big schematics with caching off. I’m hoping to be able to add a couple of strategic view->Update() calls, but it may come down to adding a bunch of them.

Cheers,
Jeff.

> On 17 Oct 2018, at 16:33, Tomasz Wlostowski <email address hidden> wrote:
>
> @Jeff, this looks like a problem with the caching that you enabled some time ago. I left it off because an uncached view doesn't require update notifications of the items that have been changed by a tool (in Sebastian's case, a property window). We can fix it in two ways:
> - add view->Update(item) wherever an item is changed,
> - disable caching.
>
> Tom
>
> --
> You received this bug notification because you are a member of KiCad Bug
> Squad, which is subscribed to KiCad.
> https://bugs.launchpad.net/bugs/1798329
>
> Title:
> V6 r11539 GUI issues
>
> Status in KiCad:
> Triaged
>
> Bug description:
> Hi Guys!
>
> I have a huge issues on nightly: try to move something in schematic (just say reference or value) - values dissapiers at all, references seems not moved till I save, close schematic and open it again- afert that I see changes. Moving parts(symbols) stoll ok- no issues here.
> In PCB is different:
> try to move a track it is possible some seconds I marked them.
>
> Tried to swith/shange GFX acceleration dont fix this issue.
>
> Any Ideas?
> P.S. my GFX: GTX1070, no issued at all with......
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1798329/+subscriptions

Revision history for this message
Jeff Young (jeyjey) wrote : Re: V6 r11539 GUI issues

Ahh..., Tom's comment perhaps suggests why I couldn't reproduce this: Sebastian, when you say "move" do you mean by editing the X & Y position values in the property dialog? (I was dragging with the mouse, which goes through different code.)

Revision history for this message
Jeff Young (jeyjey) wrote :

I take that back. Using the dialog also works fine for me.

Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

@JEff: change coordinates for values or references makes no sense for me, no, its over right-click, "move", same here over "m" on keyboard. Changing the name of ports is strange as well (see my videos).....

Revision history for this message
Jeff Young (jeyjey) wrote :

@Tom, I had no luck finding a suitable choke-point for the Update() calls (we don't have the equivalent of a BOARD_COMMIT on the Eeschema side).

Anyway, I examined all the instances of OnModify() and implemented suitable Update() calls where needed.

I'm not sure if this will fix @Sebastian's problem, though. I don't get items disappearing, but I do get unpredictable ghost items left behind for a short time while dragging.

Jeff Young (jeyjey)
summary: - V6 r11539 GUI issues
+ GUI issues moving values and references
Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

Hi guys,

nightly from today (r11565) seems to work great!
Schematic issues gone so far I tested, in PCB trying to move reference whole board was compleelty white, bur only one time and I cannot reproduce it, so, I guess it can be ignored as well.
More over: Jeff knows, I had a huge PCU usage issues loading footprint libraries one time each KiCAD start- that artifact ist compleetly gone, just away. Library loads quick as hell, even I have a lot of libraries loading- THANKS A LOT!!!!!!!!

Jeff Young (jeyjey)
Changed in kicad:
status: Triaged → Fix Committed
milestone: none → 5.1.0
assignee: nobody → Jeff Young (jeyjey)
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.