Skip to content
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

Ellipsis (...) in notification #114

Open
1999lucnguyen opened this issue Sep 7, 2020 · 2 comments
Open

Ellipsis (...) in notification #114

1999lucnguyen opened this issue Sep 7, 2020 · 2 comments

Comments

@1999lucnguyen
Copy link

Hello,

At times, when a notification pops up, the message will be truncated and an ellipsis will be added to the message even if the message should be able to fit in the notification box:

2020 09 07-00 17 19 screenshot

I've tried setting ellipsize to none for the message widget but this is what happens:

2020 09 07-00 23 22 screenshot

I've also tried changing the theme's notification_max_height, but it doesn't seem to be helping (probably because the widget thinks it has the correct size when it does not).

Is there a fix for this or is the problem from awesomewm?

Thank you so much!
Luc

(I am using the "amarena" notification theme.)

@elenapan
Copy link
Owner

elenapan commented Sep 7, 2020

Hi there,

I also have the same issue. Not sure if it is an AwesomeWM bug. It could be that I need to write the template differently.

My workaround is to set the wrap property for the notification message like so:

  {
      align = "center",
+     wrap = "char",
      widget = naughty.widget.message,
  },

But please keep this issue open until I investigate or re-write the notification template so it works properly with or without word wrapping.

@1999lucnguyen
Copy link
Author

Thanks! I'll let you know if I figure something out as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants