Comments (13)
I've been able to reproduce.
The notifications must be WLR_XDG_SURFACE_TOP_LEVEL (https://github.com/johanmalm/labwc/blob/a67e74670b581a8abbd7542a3c41f97a721e89f1/src/xdg.c#L387)
And we center WLR_XDG_SURFACE_TOP_LEVEL surfaces which are not topmost (i.e. have a parent)
https://github.com/johanmalm/labwc/blob/a67e74670b581a8abbd7542a3c41f97a721e89f1/src/xdg.c#L285
Something obviously isn't quite right. Need to investigate.
I've not used Thunderbird for a long time, but it looks very GTK3ish, so am pretty sure it's Wayland. Also, the alt-tab dialog shows it's xdg-shell. Or did I misunderstand your xeyes note.
from labwc.
Yeah, I was not aware of it showing in alt-tab. Typically on other compositors, a good way of testing if Wayland vs XWayland is to use Xeyes. If the eyes move, the window is XWayland, if they stop, it's Wayland.
from labwc.
The thunderbird notification is a WLR_XDG_SURFACE_TOP_LEVEL and doesn't seem to have a parent. Not sure how to deal with this one. Help needed.
from labwc.
It could possibly be because we aren't handling the toplevel's set_parent event. However, if this problem doesn't occur in Sway, then that isn't likely to be the case. Sway doesn't handle set_parent events either.
Not sure how useful this may be, but this makes me think of sevz17/dwl@57f4d64. In that case, a client's parent was found using their process ids.
from labwc.
The notifications should appear without ssd and in the bottom right corner of the screen. They shouldnt be parented I think. This works in plasma and gnome wayland
from labwc.
Typically notifications on GNOME/KDE go through the org.freedesktop.Notifications
D-Bus API. There exists layer-shell clients that implement this API, e.g. mako.
from labwc.
Tested it, and it does use a native notifications thing on KDE, yeah. Thanks for the tip! :)
from labwc.
Installing mako fixed the problem.
from labwc.
I've just installed mako + rebooted, but still get the notification with SSD in the middle of the screen.
I tried with sway yesterday without mako, and interestingly it knows not to draw the blue titlebar and positions it in the bottom right (although on a different output).
from labwc.
Maybe you could check out emersion/mako#126?
from labwc.
Maybe you could check out emersion/mako#126?
Thanks @ARDiDo . I've got libnotify installed. Have tried disabling/enabling alerts in Thunderbird. Will have to carry out trying tomorrow.
from labwc.
I had to start mako in my autostart script fwiw
from labwc.
Thanks @Joshua-Ashton
Yes, starting mako helps 😄
I thought I had sorted it with systemctl enable mako
, but obviously not.
from labwc.
Related Issues (20)
- Supporting keyboard layout indicators via keyboard-layout protocol HOT 2
- Chromium always briefly opens unmaximized first even with `<windowRule identifier="*"><action name="Maximize"/></windowRule>` HOT 5
- When connecting a wireless mouse to a wire, natural scrolling stops working HOT 2
- Adaptive Sync ON only for fullscreen apps HOT 3
- Odd multi display behavior with a nonstandard configuration. HOT 9
- Feature request: <resize><drawContents>no</drawContents> ... </resize> HOT 1
- Hovering over svg themed icons revert to default HOT 6
- Running bemenu-run while an application is in full screen makes the keyboard unusable for applications HOT 2
- Regression: Panel with keyboard interactivity getting focus and thus breaking click-on-active-window-to-minimize HOT 4
- My (multi layer) xkb layout broken on current master
- No windows inside margin HOT 2
- Regression: Xwayland application not showing up on task switcher HOT 10
- Turning the monitor off and on resets the refresh rate HOT 3
- Add optimized release build to CI
- Segmentation fault when opening CLions settings window in certain situations HOT 7
- Dependency issues when building 0.7.0 on Debian Stable HOT 16
- SSD breaks tab functionalilty in LibreWolf HOT 6
- 0.7.0 and wlroots-0.17 produce crashes when resizing rows and columns in libreoffice HOT 6
- labwc 0.7.0 fails to run wezterm, gitk on a vmware vm HOT 3
- Add a short description / more details for the "Obligatory screenshot" in README.md (on the "GitHub front page")? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from labwc.