Zren / plasma-applet-eventcalendar

https://store.kde.org/p/998901/
465 stars 92 forks source link

Port to Plasma 6 #355

Open kaymmm opened 10 months ago

kaymmm commented 10 months ago

Would be great to see this excellent widget ported to Plasma 6!

Melechtna commented 8 months ago

We're in RC2, and thankfully, it is already shows up in the widget list, so likely it'd just need its methods updated for qt6. It may honestly be just as simple as updating the deps, but it doesn't give too much info beyond "this widget is out of date and needs to be updated to Plasma 6"

TiZ-HugLife commented 7 months ago

Plasma 6 is out, and this widget jumps out in my setup as the only one without an updated version for Plasma 6.

Salvaju29ro commented 7 months ago

Personally I am not able to develop anything, but for those who are capable, this is the KDE guide for widget porting

https://develop.kde.org/docs/plasma/widget/porting_kf6/

kanocz commented 7 months ago

@Zren do you have any plans to port to plasma6? or has anybody just started porting? P.S.: I'm thinking about this, but looks like I'll need to read many documentation and don't want to waste time if it's just on the way

xkain commented 7 months ago

Really sad not to see this amazing widget ported to Plasma 6, the author has not responded since December 2023, it's a bad sign for us.

TiZ-HugLife commented 7 months ago

December 2023 is really not that long ago in the scope of people doing volunteer work and having to juggle that among other life responsibilities we don't know anything about. Gratis volunteer work like this is likely not a priority for them, and that's okay.

If you are thinking about porting and are hesitating in case the original author is also working on a port behind the scenes, don't think about it as wasted time. Because the original author might not have time to work on it. Or if they are working on it, and they see you make a pull request with your own attempt, they can compare what they did with what you did, and pick the best approaches for each component. It may seem like duplicated work, but it will result in better code at the end of the day.

xkain commented 7 months ago

Hi,

For December 2023 I was just referring to the question that brought us here and which has not been answered by the author since.

If one of your friends hasn't answered their phone for months, you're worried about what's going on, that's normal I think.

TiZ-HugLife commented 7 months ago

I don't think it's a good idea to compare communications on github--especially regarding unpaid volunteer work--to texts and phone calls. We are not friends with the maintainer, we're strangers using his software. We are not entitled to his time or energy. Let's try to keep our perspectives grounded and reasonable.

Godly-Avenger commented 7 months ago

The author seems to recently be making commits on other repos, so they are still active and I'm hopeful they can take the time to update this widget because it's probably the most feature rich calendar plugin for Plasma. I tried to get Google calendars working with some combination of KDE PIM, KOrganizer, and Digital Clock, but no dice. I'm hopeful it'll be updated sometime soon or someone will submit a PR. In the meantime I recommend just using digital clock for date/time and Evolution for an event manager.

xkain commented 7 months ago

“Port to Plasma 6” is just a question HugLifeTiZ no one here is imposing it, we are just asking the question. That's all.

crazyraven commented 6 months ago

I think Abhyudaya who fixed google calendar sync is working to enable this on plasma 6. His plasma 6 branch: https://github.com/ALikesToCode/plasma-applet-eventcalendar/tree/plasma-6

gardotd426 commented 6 months ago

I think Abhyudaya who fixed google calendar sync is working to enable this on plasma 6. His plasma 6 branch: https://github.com/ALikesToCode/plasma-applet-eventcalendar/tree/plasma-6

Still doesn't work on Plasma 6

Salvaju29ro commented 6 months ago

I think Abhyudaya who fixed google calendar sync is working to enable this on plasma 6. His plasma 6 branch: https://github.com/ALikesToCode/plasma-applet-eventcalendar/tree/plasma-6

Still doesn't work on Plasma 6

I think it's a working progress, I don't think it's already compatible

kanocz commented 6 months ago

What about using something like https://gitpay.me/ (or maybe you know better system) to motivate somebody with enough of time to do port to plasma 6?

boraerciyas commented 6 months ago

I personally started to work on it and had a really good progress so far. At least there is a working widget without some of the capabilities. It takes time to port because it is one of the richest widgets in the Plasma environment and the porting documentation is very weak and incomplete.

Storm-Engineer commented 5 months ago

I personally started to work on it and had a really good progress so far. At least there is a working widget without some of the capabilities.

I'm glad to hear that! :) Where/when can we find your version?

boraerciyas commented 5 months ago

I personally started to work on it and had a really good progress so far. At least there is a working widget without some of the capabilities.

I'm glad to hear that! :) Where/when can we find your version?

It's not yet published, still in progress. Whenever the basic functionalities and the most importantly Google Calendar integration is working, I will inform you here.

Termuellinator commented 5 months ago

Personally, i couldn't care less about Google Calendar - but i appreciate your efforts on the KF6 Port :D

boraerciyas commented 5 months ago

,,,,,,,,,,,

Personally, i couldn't care less about Google Calendar - but i appreciate your efforts on the KF6 Port :D

Hi there,

I am planning to deploy a release with current progress. It still contains lots of bugs and missing features but for the ones who expect to see the basics of Event Calendar on Plasma 6 environment. For sure It will be updated in time maybe with some help of others.

I wonder if you don't care about Google Calendar, what do you want to see in the first place?

Best

phoropter commented 5 months ago

I personally use nextcloud for my calendar, and did so with Event Calendar on plasma 5.

Termuellinator commented 5 months ago

I wonder if you don't care about Google Calendar, what do you want to see in the first place?

The main feature why i preferred event calendar over the vanilla calendar (digital clock) was the long, vertical overview combined with the weather. It's just a way better overview of the current and the coming days without having to open korganizer :) For the Backend i just use calDAV over KDE PIM.

Melechtna commented 5 months ago

I wonder if you don't care about Google Calendar, what do you want to see in the first place?

The main feature why i preferred event calendar over the vanilla calendar (digital clock) was the long, vertical overview combined with the weather. It's just a way better overview of the current and the coming days without having to open korganizer :) For the Backend i just use calDAV over KDE PIM.

In that case, can I suggest using korganizer for the calendar stuff, and the new(ish) wunderground for the weather. This actually also works as a reasonable substitute for Event Calendar and is what I'm doing right now myself.

kanocz commented 5 months ago

I'm using event calendar only because I don't need to install all the korganizer/kalendar/akonadi stuff and see google calendar events...

Termuellinator commented 5 months ago

This actually also works as a reasonable substitute for Event Calendar

Of course it works, i'm using Korganizer for the "real" work anyway. But Event Calender always was a very nice overview in one glance without having to start any application.

TiZ-HugLife commented 5 months ago

The main thing I use Event Calendar for? My main usecase is a vertical clock on a vertical panel. HH MM with a line break between it. The built-in clock applet can't do that.

guiodic commented 5 months ago

@boraerciyas my main use is (was) with Google Calendar

Storm-Engineer commented 5 months ago

I wonder if you don't care about Google Calendar, what do you want to see in the first place?

Personally, Google Calendar is what I care about.

I use the Samsung Calendar on my Note to organize which syncs with Google Calendar; thus, what I've done on my phone shows up in Event Calendar.

Sadi58 commented 5 months ago

I think the Event Calendar consists of the following two main components in order of priority: 1) Enhanced/customizable display of time and date 2) Enhanced display of calendar such as integration with Google calendar etc. I don't think the weather component offers as much on top of the default Weather Report widget to warrant prioritization. Therefore, perhaps Plasma6 version can be released initially with the feature no. 1 above, and then no.2, which can even be split into two phases; the first being without integration.

Termuellinator commented 5 months ago

While i really like the integration, i agree that the weather part is easiest to replace with other widgets and should be left out if that turns out to be a blocker.

And another important thing i forgot to mention earlier, but that i really sorely missed yesterday: the quick timer/alarm! Curiously there doesn't seem to be any other widget that offers a quite as convenient way to set a quick reminder for a few minutes.

fel1scatus commented 5 months ago

I'd like to add that to me both the calendar and the weather aspect are important but most of all the weather functionality since it is the only one that uses a source that works well with my location, (no plasma weather widget works for me other than this one, so I'm "widgetless" at the moment) and that by using that source it leverages the graph and precipitation aspects which are in my opinion extremely useful.

Sadi58 commented 5 months ago

@fel1scatus KDE Store has about 5 weather widgets for Plasma 6 at the moment, and a couple of them are by Zren. Have you tried them? @Termuellinator Have you tried this widget? BTW, I think it's actually better to use one widget for one task as much as possible for a number of reasons, e.g. easier maintenance, less burden on system resources etc. PS: I still use Plasma 5 because of a few problems like missing widgets etc. in addition to the bigger problem of migrating from Debian Trixie to OpenSUSE or Fedora maybe (but not Arch or any other, I think) 😉

fel1scatus commented 5 months ago

@fel1scatus KDE Store has about 5 weather widgets for Plasma 6 at the moment, and a couple of them are by Zren. Have you tried them?

Yes I have tried all of them both by Zren and otherwise, but I think that unfortunately this is the only one that implements openweathermap, which is not a standard provider from the whole Plasma.... suite.

Thanks though

Termuellinator commented 5 months ago

@Termuellinator Have you tried this widget?

Of course - completely different usecase though. ;)

BTW, I think it's actually better to use one widget for one task as much as possible for a number of reasons, e.g. easier maintenance, less burden on system resources etc.

From a technical perspective, i tend to agree - but from a UX perspective, i can´t second that generalization. Perfect example is event calendar for a one-click overview over the day(s) ahead and the expected weather.

Sadi58 commented 5 months ago

@fel1scatus I've just had a closer look, and this widget might be good for you. Plasma6 version is also available here: https://github.com/blackadderkate/weather-widget-2/releases @Termuellinator I see your point; looking at the events on the calendar side by side with the weather forecasts. In that case, it would be perfect perhaps if we could see today's weather on the panel beside the time and date as well so that we don't need a weather widget for that.

fel1scatus commented 5 months ago

@fel1scatus I've just had a closer look, and this widget might be good for you. Plasma6 version is also available here: https://github.com/blackadderkate/weather-widget-2/releases

Thank you for that, I had checked this one some time back but was not there yet. It works now, kudos to blackadderkate.

I'd still like to see this one ported of course, but at least now I can check the temperature at a glance again!

Zren commented 4 months ago

Hmmm, my kpac plasma6 script worked pretty well. Just have to manually deal with a few things afterwards.

See the https://github.com/Zren/plasma-applet-eventcalendar/tree/plasma6 branch for a widget that loads (!), but doesn't yet function or have a functional config.

2024-05-07___17-40-35

DMessham commented 4 months ago

Hmmm, my kpac plasma6 script worked pretty well. Just have to manually deal with a few things afterwards.

* Comment out the Google/Plasma CalendarManagers in `EventModel` along with their `bindSignals()` calls.

* Manually change `PlasmaComponents.__` => `PlasmaComponents2.__` so kpac detects the namespace to replace.

* `import org.kde.plasma.calendar as PlasmaCalendar` changed to `import org.kde.plasma.workspace.calendar as PlasmaCalendar`.

* Clicking the compact view to open the popup is broken, so gotta fix that.

See the https://github.com/Zren/plasma-applet-eventcalendar/tree/plasma6 branch for a widget that loads (!), but doesn't yet function or have a functional config.

2024-05-07___17-40-35

For it to load consistantly on my system i had to comment out line 186 of ui/lib/MessageWidget.qml, took a bit of trial and error to figure that out, also it seems that the second line of text in the clock view still works, and parts of my old config still applied properly, like the layout and size settings for 1 column mode.

mbbs1024 commented 4 months ago

Thanks for putting in the effort of porting it to Plasma 6. My Manjaro system just updated to plasma 6, and the first thing I missed was the event calendar. It is such a usefull widget, I like the way it gives me a quick all in one overview of time-date-calendar-weather and also the countdown timer.

cgarz commented 4 months ago

See the https://github.com/Zren/plasma-applet-eventcalendar/tree/plasma6 branch for a widget that loads (!), but doesn't yet function or have a functional config. @Zren

When you say loads does that mean just the view in the picture and not the clock? Just checking since I installed the plasma6 branch and I'm not getting the clock. When I switch from KDE digital clock it just changes to the static event calendar icon.

kanocz commented 1 month ago

so looks like port to plasma6 is stopped and project is dead?.. @ALikesToCode are you also gived up?

ALikesToCode commented 1 month ago

so looks like port to plasma6 is stopped and project is dead?.. @ALikesToCode are you also gived up?

I'm not giving up, but my personal life has gotten quite busy, so I can't commit to the project at the moment. I'm hoping to revisit it in September, but I can't make any promises. I encourage others to step in and volunteer; without more contributions, the project may struggle to move forward. Will try to get back when I am a little more free.