Skip to content

Right-click context menu does not appear #775

Description

@iainelder

Summary

On my Ubuntu 24 desktop with the default window manager, right-clicking items in the folder list and the video list produces no context menu. Only the mouse-hover tooltip appears. Launching Tartube via XWayland (GDK_BACKEND=x11) works around the problem.

Environment

  • Tartube: v2.5.197
  • Installed via: python3-tartube_2.5.197-STRICT.deb from the GitHub release
  • OS: Ubuntu 24.04.4 LTS
  • Desktop: GNOME Shell 46.0 on Wayland
  • Python: 3.12.3
  • GTK: 3.24.41

Steps to reproduce

  1. Launch Tartube with the default window manager via the terminal (tartube, no env overrides)
  2. Click the toolbar Folder button, name the folder, OK.
  3. Left-click the new folder in the video index to select it.
  4. Right-click it.

Expected

Context menu appears with Check folder, Download folder, Delete folder, etc.

Actual

No context menu. After ~1s the row's normal hover tooltip appears, but no popup is shown. No visible error in the UI.

Console output on right-click:

Gdk-Message: Window 0x39e74eb0 is a temporary window without parent, application will not be able to position it on screen.
(tartube:10560): Gdk-CRITICAL **: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed

Shift+F10 and the keyboard Menu key also do not open the context menu.

Workaround

Launching via XWayland resolves it completely:

GDK_BACKEND=x11 tartube

All right-click menus then work as documented.

Scope

Confirmed on right-click of folder rows in the video index and of downloaded video rows in the right-hand pane. Channels/playlists not tested; none added yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions