-
Notifications
You must be signed in to change notification settings - Fork 134
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
WIP: New clock plugin #408
Conversation
… mostly based off of
…e from worldclock
- Remove the "General" menu because there was only one checkmark, and it was applicable in the new location anyways. - Change the formatting so that the advanced format checkbox and the customize button are on the same line, and it looks better this way. - General grammar and punctuation fixes.
I was eager to try out the result so far, so I started up a fresh LXQt in a VM, cloned your repo, installed cmake, ran
What else do I need to get this to build? |
@pepa65: that message usually comes up if you don't install Qt5 dev libraries. https://github.com/lxde/lxqt/wiki/Building-from-source#qt should help |
That helped somewhat, now I get:
|
liblxqt and more packages are necessary. lxqt-panel requires almost all other components in lxqt to be installed first. See https://github.com/lxde/lxqt/wiki/Building-from-source#generalbuild-order for details. |
on debian/ubuntu systems |
OK, thanks, after installing liblxqt* and then libsysstat-qt5-0-dev cmake finishes and make seems to build and install! But after adding worldclock to the panel, and adding timezones, it doesn't display anything different. Left-click just shows the calendar, nothing on hover... |
two possible reasons - a) there are not so much changes yet b) one run the wrong binary |
@tsimonq2 - before i forget about - one should also take care of the translations - have a look at lxqt-l10n Edit: possible changes should be handled in a different PR |
How about existing user configurations?
Is this acceptable? |
@palinek Excellent points. Indeed, the worldclock plugin/package should keep its name because of config files. When all is done, the default setup would use the worldclock plugin. |
@agaida: ack, I'm thinking this is something we can address after this is merged. I agree with @palinek... the thought crossed my mind but I spaced it before I sent my PR. I think we could do one of two things:
I really disagree with @pepa65 irt just renaming to worldclock because the wording on "clock" is a bit better than "worldclock," unless everyone thinks it would be easier to either:
Thoughts? |
Keeping worldclock seems fine to me not just because I use it but also because it's very customizable. |
@tsujan: The base for this new clock plugin is literally just worldclock with a few improvements and the naming changed to "clock". Don't worry, I agree with you. :) |
Great! Personally, I don't care about losing worldclock after update, provided that the new clock has all the features of worldclock and can be added to the panel without problem. Some users might get unhappy seeing their clock is missing after update but that isn't a big deal. |
IMO doing the merge this way is not good, because it will cause confusion for users and for bug reporting (mixing new
@tsimonq2 what do you think? |
@palinek - this would work too. If we decide to go that way i would only add the deprecation message and thats all. The clock settings are three clicks - so it don't make sense to do more right now. |
Please just remove Date & Time completely! World Clock is good and enough. IMHO, this isn't worth a long discussion. |
Please, consider the #426 |
This solves issue 312 on the main tracker by merging the Clock and World Clock plugins.
I moved the World Clock plugin to the new location, worked on making sure everything says "Clock," and then I implemented the tooltip text. After that, I reworked the configuration UI a bit to make it look better.