[Discussion] How to warn the users about deprecated options? #527
Replies: 5 comments
-
Maybe render a plain X window with text in it? No need to introduce new dependencies as picom already uses xcb. 100% user coverage and not that complicated. A bit intrusive, but one can make it look like a notification |
Beta Was this translation helpful? Give feedback.
-
@andrhua Yeah, that is the "X core font" option in the list. The disadvantage is that won't look very nice. |
Beta Was this translation helpful? Give feedback.
-
I think it is the only viable option though. One should figure out timings for fading raw on-screen text or make it showing permanently which is no less intrusive than a window, and nice looks can surely wait |
Beta Was this translation helpful? Give feedback.
-
stdout/stderr logging and a notification if you must, but it's possibly overkill. Decent in-depth release notes with breaking changes go a long way and are more than sufficient |
Beta Was this translation helpful? Give feedback.
-
This gave me a great chuckle :) |
Beta Was this translation helpful? Give feedback.
-
picom
does print warning on terminal when there is deprecated options in the user's config file. But from what we saw in issue reports, this might not be enough. Which is understandable, as most user probably just auto-start picom, and picom's terminal output never sees the light of the day.So I think we should at least explore what other options we have.
org.freedesktop.Notifications
dbus interface to pop a notificationFor option 2, we also have a couple of choices of text rendering libraries:
Beta Was this translation helpful? Give feedback.
All reactions