-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification area in the Center is too small, when one of the messages is too long #40
Comments
yeah, have that, too |
it is a little annoying to deal with because it is a fight against gtk but it is an annoying bug, too. |
See #78 (comment):
The linux_notification_center/src/NotificationCenter/Notifications/NotificationPopup.hs Lines 83 to 86 in 499c75b
linux_notification_center/src/NotificationCenter/Notifications/NotificationPopup.hs Lines 157 to 158 in 499c75b
Here is the definition for linux_notification_center/src/NotificationCenter/Notifications/NotificationPopup.hs Lines 173 to 176 in 499c75b
|
This bug appears quite frequently for me in the master branch of my fork. Not rly sure when I'll have any time to implement a fix, but I'd love any insight on how to fix this. Do we even need to be setting the height directly? Shouldn't GTK just scale the window as needed when elements need more space? Maybe we set the width with |
Looking into things more, it seems like this dLabelBG thing is a dummy label that's only used to size itself up so the size can propogate to the parent. I'm almost certain there's a better way to do this. Why can't we directly manipulate the size of the widget container itself? |
Afaik you can only set the height, but not the width with GTK. Why I used the label, I don't know anymore, but surely there was a reason |
I don't doubt that you had your reasons, it just feels like Even so, this code shouldn't rly be running for the notification center, right? Like the code in I'm sure this was the source of the button bug (which would ideally be fixed in #77), but maybe the source of this bug is something else? |
Yeah, that particular label should not play any role in this. The notifications in center don't even have that lable iirc... |
There is a problem: The area in which notifications are displayed is arbitrarily clipped, if there at least one of the notifications is too long. Using deadd-notification-center-bin from AUR. Same with deadd-notification-center
The text was updated successfully, but these errors were encountered: