Closed tsujan closed 3 weeks ago
The goal isn't setting the size but circumventing the Qt bug. A "good" size is different for different users and depends on locale, font, style,...
I bet 99% of the users have to increase the size and it will not be remembered (at least on kwin).
it will not be remembered
That's a totally separate topic. I prefer to make a separate PR for it after this is merged.
Ok. I think we should also change the message at login, will look into it. It's way too talkative IMO.
It's way too talkative IMO.
This short message is verbose?
LXQt monitor settings are currently unsupported under this wayland compositor.
You can configure your monitor(s) with kanshi.
No, this one: Default monitor settings have been applied. Use lxqt-config-monitor for adjusting your monitor settings. And you see it at every login with kwin and it makes saved notifications talking more then half the screen too.
It's even wrong as it applies saved settings not default ones.
And you see it at every login
It's shown only when saved configs can't be applied, and that's a sign of problem. The message clearly tells that the user needs to change his saved settings or remove them to get rid of it.
If it's shown in another case, the code should be corrected.
I found no problem in the main code. However, it's better to change the notification to
mNotification->setSummary(tr("Default monitor settings applied."));
mNotification->setBody(tr("Use lxqt-config-monitor for adjusting your monitor settings."));
This is rather a simple workaround for undersized dialogs on Wayland (a new Qt bug), but it's good on X11 too.