Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v3 linux] custom context menu closing immediately #3329

Closed
abichinger opened this issue Mar 20, 2024 · 1 comment
Closed

[v3 linux] custom context menu closing immediately #3329

abichinger opened this issue Mar 20, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@abichinger
Copy link

abichinger commented Mar 20, 2024

Description

The context menu opens as soon as the mouse button is pressed and is closed when the mouse button is released.

To Reproduce

Run examples/contextmenus and right click in area 1 or 2

Expected behaviour

The context menu should stay open

Screenshots

Screencast.2024-03-20.16.25.45.mp4

Attempted Fixes

No response

System Details

# Build Environment
Wails CLI    | v3.0.0-alpha.3                          
Go Version   | go1.22.0                                
Revision     | 33946a7aace91ffb1a3992dcf3af7a2071ac70d2
Modified     | true                                    
-buildmode   | exe                                     
-compiler    | gc                                      
CGO_CFLAGS   |                                         
CGO_CPPFLAGS |                                         
CGO_CXXFLAGS |                                         
CGO_ENABLED  | 1                                       
CGO_LDFLAGS  |                                         
GOAMD64      | v1                                      
GOARCH       | amd64                                   
GOOS         | linux                                   
vcs          | git                                     
vcs.modified | true                                    
vcs.revision | 33946a7aace91ffb1a3992dcf3af7a2071ac70d2
vcs.time     | 2024-03-19T10:56:54Z                    

# System
Name         | Manjaro Linux                                                                                                 
Version      | Unknown                                                                                                       
ID           | manjaro                                                                                                       
Branding     |                                                                                                               
Platform     | linux                                                                                                         
Architecture | amd64                                                                                                         
gcc          | 13.2.1-5                                                                                                      
libgtk-3     | 1:3.24.41-1                                                                                                   
libwebkit    | 2.42.5-2                                                                                                      
npm          | 10.5.0-1                                                                                                      
pkg-config   | 2.1.0-2                                                                                                       
CPU          | AMD Ryzen 5 3600 6-Core Processor                                                                             
GPU 1        | Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (Advanced Micro Devices, Inc. [AMD/ATI]) - Driver: amdgpu 
Memory       | 32GB

Additional context

No response

@abichinger abichinger added the Bug Something isn't working label Mar 20, 2024
leaanthony added a commit that referenced this issue Mar 24, 2024
* [linux] fix closing of custom context menu

* Update changelog

---------

Co-authored-by: Lea Anthony <[email protected]>
@leaanthony
Copy link
Member

PR Merged 👍

atterpac pushed a commit to atterpac/wails that referenced this issue Apr 7, 2024
* [linux] fix closing of custom context menu

* Update changelog

---------

Co-authored-by: Lea Anthony <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants