Open Bug 1932481 Opened 1 year ago Updated 8 months ago

[Waypipe] Unable to install addon when running over waypipe + weston

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

People

(Reporter: gerard-majax, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I'm building on a desktop and working on a laptop, using waypipe. Sometimes I run waypipe from within a shell started from Weston.
Earlier I was trying to install the remote settings devtools addon https://github.com/mozilla-extensions/remote-settings-devtools/releases/tag/1.10.0-build2 and it could never install

STR:

  • waypipe ssh ...
  • WAYLAND_DISPLAY=xxx mach run
  • click the link of XPI, wait for the popup asking to add the addon and click "Add"

Expected:

  • addon is added

Actual:

  • nothing

Debug build shows [Parent 519477, Main Thread] WARNING: '!promise', file /home/alexandre/Documents/codaz/Mozilla/MiscWork/mozilla-source/mozilla-unified/widget/gtk/nsWindow.cpp:3012 on each click of Add: https://searchfox.org/mozilla-central/rev/2deb9bcf801f9de83d4f30c890d442072b9b6595/widget/gtk/nsWindow.cpp#3008-3011,3013-3026

Weston is messing up with the focus?

Running via waypipe without weston I dont reproduce.

Please run on terminal with MOZ_LOG="Widget:4" env variable to get correct error and attach the log here.
It fails here:
https://searchfox.org/mozilla-central/rev/ef34dd879ef8d4a0f3d68d371d23caebcd8fef65/widget/gtk/WidgetUtilsGtk.cpp#312

Thanks.

Flags: needinfo?(lissyx+mozillians)
Blocks: wayland
Priority: -- → P3

Looks like any interaction with the menu items are also broken (e.g. click the hamburger menu, "history" nothing happens)

Flags: needinfo?(lissyx+mozillians)

Yes, xdg_activation protocol doesn't look supported/proxied by waypipe. Please file a bug there.

Summary: Unable to install addon when running over waypipe + weston → [Waypipe] Unable to install addon when running over waypipe + weston

(In reply to Martin Stránský [:stransky] (ni? me) from comment #5)

Yes, xdg_activation protocol doesn't look supported/proxied by waypipe. Please file a bug there.

Well, except it works when running outside of weston

So check WAYLAND_DEBUG=1 output if xdg_activation is provided by weston.

Flags: needinfo?(lissyx+mozillians)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: