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
Linux is not implemented in a native way at the moment
Since we are not using GTK, we'll need to draw the menu by openGL or any GUI library, then send the gl_surface to X11 or wl_surface in Wayland popup API. This will be complicated.
We have successfully made a popup on winit window, but it'll require some modification to the winit crate pewsheen/winit@73fad21
Winit plans to add popup support in the future, maybe 0.31?
Servo does not emit ShowContextMenu for the moment. Let's see what we can help.
Will use a fixed context menu options until servo emits the ShowContextMenu event
The interface of Servo ShowContextMenuEvent may need some refactoring, like bringing the webview ID and what the user has selected (link? plain-text? or nothing) and letting the embedder decide what options to show.
The text was updated successfully, but these errors were encountered:
Since wayland doesn't have any menu support and winit hasn't provide trait to create popup surface for wayland yet.
We decided to go with webview implementation on wayland first. Here's how it looks on my device:
Let's use this issue to update everything related to the context menu;
Current Status:
muda
for native context menu supportMuda
0.16, trying to let selection be synchronousShowContextMenu
for the moment. Let's see what we can help.ShowContextMenu
eventShowContextMenuEvent
may need some refactoring, like bringing the webview ID and what the user has selected (link? plain-text? or nothing) and letting the embedder decide what options to show.The text was updated successfully, but these errors were encountered: