16.04 Libertine opens EVERYTHING in a new window
I can confirm this, its not completely reproducable, as sometimes it doe snto open up new windows and kind of sometimes auto closes them after clicking on an entry.....
It is affecting all the apps I installed (firefox, thunderbird, gnome music player, vlc, ....)
@killerbee indeed, so it's not depending on a specific toolkit (XUL, GTK3, QT, whatever libreoffice uses), but has to do with window classes not being recognized or not properly dealt with. which is a window manager thing.
Rodney told me on telegram that the problem might go away when we move from xmir to xwayland, but no idea on ETA on that
probably 2050 after the climate change has swept away most parts of northern germany
Does anyone have this problem too
Jup have it too. My assumption was that this is an intended feature development of xmir. But, seemingly a somewhat halfbaked feature that breaks many libertine use cases.
Does xmir have an existence outside of libertine? Maybe it makes sense on some canonical iot snap mir setup?
and is there any way to fix it?
I haven't checked, but maybe xmir has some command line switches that could influence this behaviour?!
@doniks judging by how hot my FP2 can get, and FP2's are mostly found in northwestern Europe, do we have correlation?
it went from EVERYthing in the same xsession (and 1 xsession per window) to EVERYthing in a new window (don't know if it's multiple windows per xsession or worse, every gui item getting it's own xsession now)
i suspect xmir recently became aware of new windows, but either
- still lacks the abilty to classify, or
- has support for window classes but is not getting the proper instructions?
thinking about it, if every gui item gets it's own xsession, xmir is not wrong to give it a new window, so
3. xmir has support for window classes, probably gets the right instructions too, but only receives new xsessions == new window
how does Mir itself handle it? (don't have a mir session to play with on my pc)
Fun fact: i just tried with libreoffice on wayland and on Xorg: Wayland doesn't allow floating toolbars! i have to dock it somewhere, where on Xorg, i can have floating toolbars. the floating toolbar even shows on the panel as a separate window (tooltips and menus don't though)
dobey last edited by
@yougo They are definitely not new X sessions. That would imply starting another copy of Xmir on a new DISPLAY and having part of an app displayed there versus on the original DISPLAY, which is I am pretty sure, impossible.
It could be that the newer Xmir in 16.04 is now creating new Mir surfaces for each X11 window, where it was not doing so before (and really probably should not be doing so now).
Is it possible to revert to the old behaviour, where the unity window basically is one x11 screen, containing everything?
Is Xmir still being developed by the Canonical Mir team?
I found a work-around that reverts from the always-open-a-new-window behaviour to the old everything-in-one-single-windows. This way, menus in libertine kinda work again.
/usr/bin/libertine-xmirin an editor and change
exec Xmir -rootless $@
exec Xmir -rootless -flatten $@
This is the command with which libertine launches the Xmir instance. The
-flattenparameter "Flatten(s) rootless X windows into a single surface" (from the
Xmir --help). Note that the root partition must be writable, otherwise you can't edit the file.
The best option of course would be a more integrated handling of menus by mir itself. Maybe xwayland will resolve the issue, as @dobey mentioned.
tuxus last edited by
I tested this work-around on my M10FHD with xenial dev and in result LO crashes by start now.