right click cancels itself on GTK

Bug #1799602 reported by Frank Severinsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Triaged
Medium
Unassigned

Bug Description

Not sure if this is considered a bug, but the behavior is different in PCBnew

if you right click, hold, move the cursor and let go, the right click menu will disappear.
I had a lot of troubles figuring out if it's a bug or a feature, since I didn't notice I was moving when I clicked.

in case it's a feature, is there a reason PCBnew doesnt do the same?

Application: kicad
Version: 6.0.0-rc1-unknown-ce496ff~84~ubuntu18.10.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.32.1 librtmp/2.3
Platform: Linux 4.18.0-10-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.0
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    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
Frank Severinsen (shack) wrote :

Now I finally found the annoying part in a reproducible way:

If a tool is selected, and you right click over a Hierarchial sheet. The right click cancels itself immediately. no matter if the cursor is moved or not

Jeff Young (jeyjey)
summary: - right click cancels itself if the cursor is moved
+ right click cancels itself on GTK
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I see this with gtk3 as well. AFACT, moving the cursor isn't necessary even when the select tool is active. If I hold the right mouse button down, then the context menu will stay open so I can select a menu entry.

Changed in kicad:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 5.1.0
Revision history for this message
Seth Hillbrand (sethh) wrote :

I've been noticing that the GTK3 screen seems to refresh much faster and without user input. This makes it hard to use over remote connections as the screen refresh uses too much bandwidth

I'm thinking that this is related here. If the extra refresh happens after the first right-click, the gtk popup menu will close.

I haven't tracked down where the extra refreshes are coming from but maybe some else has seen this

Revision history for this message
Fabián Inostroza (fabianinostroza) wrote :

I think this problem is the same I reported here: https://bugs.launchpad.net/kicad/+bug/1798453

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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