You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The drawn notification is wider than the geometry size specified by width, but only if the frame_width > 0 (this is without incorporating the frame thickness into the total width).
The notification content (i.e. everything within the frame) is expanded by the width of the frame.
So if e.g. 'width' is set to 360 and 'frame_width' to 1, the effective width will be 361 pixels (unexpected), with an additional 2 pixels of width added by the border (1 on each side) around it (expected). So rather than being 362 pixels in width in total, it's 363 wide.
This seems to scale along with the frame_thickness, i.e. with 'width' set to 360 and 'frame_width' to 4 the effective notification content becomes 364 pixels in width (unexpected), with an additional 8 pixels of width added by the border (4 on each side) around it (expected). This makes the notification 372 pixels wide, rather than 360.
If I set the 'frame_width' to 0, the notification displays at its actual width (i.e. 360 pixels wide).
Installation info
Version: Dunst - A customizable and lightweight notification-daemon 1.9.2 (2023-04-20)
This was taken using the default dunstrc. Its width therein is set to 300 pixels, with a frame_width of 3 pixels. The area contained within the frame has a width of 303, rather than 300 pixels.
The text was updated successfully, but these errors were encountered:
Issue description
The drawn notification is wider than the geometry size specified by width, but only if the frame_width > 0 (this is without incorporating the frame thickness into the total width).
The notification content (i.e. everything within the frame) is expanded by the width of the frame.
So if e.g. 'width' is set to 360 and 'frame_width' to 1, the effective width will be 361 pixels (unexpected), with an additional 2 pixels of width added by the border (1 on each side) around it (expected). So rather than being 362 pixels in width in total, it's 363 wide.
This seems to scale along with the frame_thickness, i.e. with 'width' set to 360 and 'frame_width' to 4 the effective notification content becomes 364 pixels in width (unexpected), with an additional 8 pixels of width added by the border (4 on each side) around it (expected). This makes the notification 372 pixels wide, rather than 360.
If I set the 'frame_width' to 0, the notification displays at its actual width (i.e. 360 pixels wide).
Installation info
Dunst - A customizable and lightweight notification-daemon 1.9.2 (2023-04-20)
package
openbox
Arch Linux
Minimal dunstrc (default one suffices)
Screenshot
This was taken using the default dunstrc. Its width therein is set to 300 pixels, with a frame_width of 3 pixels. The area contained within the frame has a width of 303, rather than 300 pixels.
The text was updated successfully, but these errors were encountered: