You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
32.0.2
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 Pro 23H2
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
When using the touch screen, if you do a long press to bring up the context menu, the context menu should appear right where you were touching the screen.
Actual Behavior
When using the touch screen, if you do a long press to bring up the context menu, it seem that the context menu appears in a different place each time the window is resized.
The context menu appears in the appropriate spot when you use a mouse and right-click. The context menu when doing a long press on a touch screen device is what is not in the correct place. It is in the same random place every time until the window is resized, and then it is in a new random place until the window is resized.
The text was updated successfully, but these errors were encountered:
Hello @griffinhardy. Thanks for reporting this and helping to make Electron better!
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
Now adding the
blocked/need-reproNeeds a test case to reproduce the bug
label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
@griffinhardy Did you mean to include an menu implementation in your gist? https://www.electronjs.org/docs/latest/api/menu#class-menu
I am unable to reproduce this issue on Windows 11 using my touch screen. Long pressing in the body of the window has nothing appear and long pressing the title bar results in a context menu appear where I press. This does not change whether I move or resize the window.
I’m setting the blocked/need-info label for the above reasons. This issue will be closed 10 days from now if there is no response.
Preflight Checklist
Electron Version
32.0.2
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 Pro 23H2
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
When using the touch screen, if you do a long press to bring up the context menu, the context menu should appear right where you were touching the screen.
Actual Behavior
When using the touch screen, if you do a long press to bring up the context menu, it seem that the context menu appears in a different place each time the window is resized.
Testcase Gist URL
https://gist.github.com/griffinhardy/2f23ff4487e59538ce33953ce65daf8a
Additional Information
The context menu appears in the appropriate spot when you use a mouse and right-click. The context menu when doing a long press on a touch screen device is what is not in the correct place. It is in the same random place every time until the window is resized, and then it is in a new random place until the window is resized.
The text was updated successfully, but these errors were encountered: