lxqt-notificationd icon indicating copy to clipboard operation
lxqt-notificationd copied to clipboard

Notification list has title and border on wayland with some compositors

Open stefonarch opened this issue 1 year ago • 4 comments

On labwc the window can even be dragged around:

screen_area_dom_10:17:50_

Usually it opens also half out of screen if notification window rule is set to right side. It shouldn't follow window rules at all. On kwin_wayland title and border are present too. Wayfire handles it correctly, hyprland ommits titles by default, ~couldn't test on sway~ on sway it has no border and title but can be dragged around.

Possible Solution

Probably some window flags or attributes can be set.

Context

It's one of the 2 issues left with top lxqt-panel on labwc.

System Information
  • Distribution & Version: latest git, arch

stefonarch avatar Jun 11 '23 08:06 stefonarch

Such problems should be fixed in Wayland compositors. Qt can't tell them what to do.

tsujan avatar Jun 11 '23 11:06 tsujan

Just realized that in wayfire the role is set by the lxqt-desktop-shell plugin, that's probably why it's working only there:

Client PID: 238675
Workspace: 1,0
App ID: lxqt-notificationd
Title: lxqt-notificationd
Role: DESKTOP_ENVIRONMENT
Geometry: 1140,48 770x640
Xwayland: false

stefonarch avatar Jun 11 '23 12:06 stefonarch

Until a usable and stable layer-shell-qtcomes out (which I think they've promised for Qt ≥ 6.5), we can do nothing about these things — and it's definitely not possible with Qt5. But Wayland compositors should be able to do virtually anything by adding rules.

tsujan avatar Jun 11 '23 12:06 tsujan

Fixed in https://github.com/lxqt/lxqt-notificationd/pull/345

stefonarch avatar Jun 21 '23 21:06 stefonarch