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

Context Menus dont show on Gentoo/Wayland/Ardour system #7663

Open
squeaktoy opened this issue Jun 5, 2024 · 10 comments
Open

Context Menus dont show on Gentoo/Wayland/Ardour system #7663

squeaktoy opened this issue Jun 5, 2024 · 10 comments
Labels
Bug Report Item submitted using the Bug Report template Linux Issues which only occur on Linux Won't Be Done Issues we decided not to fix/implement, with good reasons behind. We'd welcome pull requests though!

Comments

@squeaktoy
Copy link

squeaktoy commented Jun 5, 2024

Bug Description:
Any context menu doesn't show up / is invisible.

Surge XT Version
1.3.2

  • Version: Surge XT 1.3.2
  • Plugin Type: VST3 & LV2
  • Bitness: 64-bit

Reproduction Steps:
Steps to reproduce the behavior:

  1. Use Wayland (Hyprland in my case)
  2. Open Ardour
  3. Insert a track with Surge XT LV2 or VST3
  4. Open Surge XT
  5. Click on anything that would open a context menu.

Expected Behavior:
A context menu should appear.

Computer Information (please complete the following!):

  • OS: Gentoo Linux
  • Host: Ardour
  • Version: Ardour 8.6, Linux 6.6.30, GCC 13.2.1
  • Graphics system: Wayland
  • Compositor: Hyprland git 098ac916a6314a2b731532e0c85f357e3cf90d2f
@squeaktoy squeaktoy added the Bug Report Item submitted using the Bug Report template label Jun 5, 2024
@mkruselj
Copy link
Collaborator

mkruselj commented Jun 5, 2024

Most likely a Wayland+Ardour issue, I bet the context menu opens behind the main window, or something like that.

@mkruselj mkruselj added the Linux Issues which only occur on Linux label Jun 28, 2024
@baconpaul baconpaul added this to the Currently Unscheduled milestone Aug 9, 2024
@baconpaul baconpaul changed the title Context menus don't show up Context Menus dont show on Gentoo/Wayland/Ardour system Aug 9, 2024
@tkna91
Copy link

tkna91 commented Aug 18, 2024

The same is true in my Arch Linux/sway/Renoise/REAPER environment.
If it doesn't occur in GNOME wayland, etc., it may have something to do with wlroots.

20240819-081342_screencast.mp4
$ pacman -Q surge-xt-vst3 renoise reaper sway-git wlroots-git linux mesa
surge-xt-vst3 1.3.4-1
renoise 3.4.4-1
reaper 7.20-1
sway-git 1.10.r7394.c30c451-1
wlroots-git 0.19.0.r7199.e88988e3-1
linux 6.10.5.arch1-1
mesa 1:24.1.6-1
$

@baconpaul
Copy link
Collaborator

what is wlroots?

anyway i just tested on ubuntu 24 stock install and menus showed up no problem in the standalone.

@tkna91
Copy link

tkna91 commented Aug 19, 2024

wlroots is the backend system for the Wayland compositor used by sway and past hyprland (before this merge).
hyprwm/Hyprland#6608

https://gitlab.freedesktop.org/wlroots/wlroots

I could be totally wrong, but I was guessing that if this event does not occur in GNOME Wayland, then the common denominator might be the wlroots based Wayland compositor.

@tkna91
Copy link

tkna91 commented Aug 19, 2024

This does not seem to occur in my environment Ardour above.

$ pacman -Q ardour
ardour 8.6-1
$
20240819-162323_screencast.mp4

@mkruselj
Copy link
Collaborator

I am not sure if there is anything that can be done on our side to fix this. Seems like it's down to the compositor?

@baconpaul
Copy link
Collaborator

yeah i don't know what if anything we would do here.

wonder if juce 8 fixes it? We did just move.

@squeaktoy
Copy link
Author

It's not always reproducible. Sometimes the context menus show, other times they do not. Since Hyprland switched to their own backend and dropped wlroots, I've had a bit more luck with getting context menus to show. However, it still often happens that context menus prematurely close on themselves when the cursor exits them, or even while trying to left click on a context menu item, not registering the click so I need to use enter instead.

@mkruselj
Copy link
Collaborator

mkruselj commented Sep 29, 2024

Hmmm. I still think there is nothing we can do regarding this. Can you confirm this happening on the same system with other JUCE based plugins? If so this issue should be opened with JUCE, not us.

If you could also try the very latest nightly of Surge XT, we have moved to JUCE 8.0.2.

@baconpaul
Copy link
Collaborator

I'm fine to leave the issue open and tagged as "not being worked on" though so if other people experience it they can find this

@mkruselj mkruselj added the Won't Be Done Issues we decided not to fix/implement, with good reasons behind. We'd welcome pull requests though! label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Item submitted using the Bug Report template Linux Issues which only occur on Linux Won't Be Done Issues we decided not to fix/implement, with good reasons behind. We'd welcome pull requests though!
Projects
None yet
Development

No branches or pull requests

4 participants