Patch: Event screen date & text (for Weather users)

Rating: 
5
Your rating: None Average: 5 (2 votes)

Enlarge City, Temperature, Date and Calendar event size, add custom text or auto-custom text and show uptime on event screen. It also can show emoji from your custom text (at least emoji's from Dolphin keyboard) ;)
Restart lipstick (homescreen) once after applying/removing patch.

Translation you can do here: https://www.transifex.com/patch_localization/date_text_size_translation/...

How to use:
Apply patch->restart lipstick-> Go to Settings -> Time and Date -> Configure it as you want -> See result on Event screen.

NOTES:
The uptimer implemented in a little bit ugly way.
It use systemd timer that every one min start service and service start simple script that read uptime and insert result to qml...
If someone know better way to show uptime in qml and can explain/help me to implement it, will be nice.

v0.3-0
- Changed icon for .txt files inside FilePicker.

v0.2-9
- Added option to choose from which dir start to search.
- Added option to show hidden files.
- Added files filter to see only *.txt in the FilePicker.
- Removed bottom basel in the FilePicker.

v0.2-8
- Added Portuguese translation.

v0.2-7
- gcc removed from Requires.
- regular build for tablet and phone.

v0.2-5
- Added auto-changing space between City name and description.
- Changed Shuffle behavior.
- noarch build.

v0.2-4
- Added option to show weather description under city.
- Updated Russian translation.

v0.2-3
- Added option to change quantity of shown All day and Timed events.
- Added Russian translation.

v0.2-2
- Added Auto Custom text, see how to use in description of patch.

Beware, use it on your own risk !!!

Donation are welcome :)

Screenshots: 
Changelog: 

- Changed icon for .txt files inside FilePicker.

Comments

objectifnul's picture

Currently, after browser froze yesterday (and some patches suddenly stopped working) this patch is no longer working and couldn't be enabled neither disabled (even after uninstall, reboot, removed all patches, pkcon refresh, version --dup etc)

I'm afraid I'll have to reset my phone to factory status again :-(

Using patchmanager 2.0 in SFOS 2.1.0.11, Jolla 1 phone.

Schturman's picture

I don't know what the problem with your device, but on my Jolla1 and patchmanger2 all work like before... No problem with apply or unapply...
Before full factory restore, you can try to unapply all patches and reinstall this packages:
sailfish-components-weather-qt5
jolla-settings-system
jolla-calendar
jolla-calendar
lipstick-jolla-home-qt5

After this try lipstick restart...

P.S. you shure you not updated your jolla without unapplying all patches ?

Schturman's picture

Added Portuguese(Brazil) language to Transifex. Don't know who requested it, but now you can translate it.

Rafaelvlmendes's picture

Hi Schturman. Im form Brazilian. Here now have many peoples buy Aqua Fish. Sailfish OS 4ever :)

PS: I cant transtaler. I search the option but no show me to start translater

Schturman's picture

Hi. You sent request for translation ? You can now translate it on transifex, I added Portuguese(Brazil) language.

Rafaelvlmendes's picture

When click in enter for equip says an option language and nothing start

Schturman's picture

Ok, finally I added you :)

Schturman's picture

I don't know how it really should work, but from what Ancelad said me, I need add you as Translator. Send me your email (pm), or try to find option about request to be translator on transifex and I will add you.

gedeon's picture

Sorry, how can I uninstall the old (first) version manually, without warehouse? because it is not showing uninstall option anymore after you separated the 2 new version. I just would like to try the meecast ver without any ver. conflict :) . Thanks.

Schturman's picture

Just install new version, the old one will uninstall itself automatically ;)

gedeon's picture

Perfect, thanks! ;)

Schturman's picture

No problem :) It work for you like expected ?

gedeon's picture

Of course, it is working well, nice job ;) .

gedeon's picture

It is not woking on Intex Aqua Fish, S ver 2.0.2.51 . I tried to disable other patches but still failed to intall the patch. It would be a nice patch anyway!

Schturman's picture

What you mean ? You can't apply it from patchmanager setting or after applying you can't see changes ?

P.S. Do you have weather app installed from Jolla store ?

P.S. I reuploaded version 0.1-2 try again. For me it work on all my 3 devices (Jolla1/C and Tablet)

gedeon's picture

Failed to install the patch, I mean I can not activate in patchmanager. Now I tried again uninstall/install but the same. I have weather app and meecast as well, I use meecast on eventsview.

olf's picture

Exactly the same here on two Jolla 1 phones under SFOS 2.0.2.51, with "Event screen date & text" version 0.1-2, Meecast and meecast-eventview installed, but no Foreca weather app (from the Jolla Store rsp. SFOS's first run wizard).

So I reverted from version 0.1-2 to 0.1-1 and everything is working fine, as it did before the update to 0.1-2.

Schturman's picture

First version should work with meecast if meecast not touch the date.

Schturman's picture

Ahhh meecast... I didn't used it and didn't test it with meecast, only with official weather app...
I can try to update patch if you will provide content of this file: /usr/lib/qt5/qml/Sailfish/Weather/WeatherBanner.qml. Copy It and paste on pastebin.com -> post link here...

gedeon's picture
Schturman's picture

Thanks, I checked your file... Sorry but it completely different and for now I can't do it. Maybe it better to ask the Meecast creator to add option for enlarging city name and temperature.

olf's picture

From a Jolla 1: http://pastebin.com/akjtnWW9 (on first sight, the same as gedeon's upload)

Suggestion:
You may change "Event screen date & text" to not altering /usr/lib/qt5/qml/Sailfish/Weather/WeatherBanner.qml with its default settings.
Then it would be the user's choice to activate those settings, which conflict with meecast-eventview.

Schturman's picture

I don't know how to do it inside qml (if it passible at all), because files patched on apply patch inside patchmanager setting. But I can create package that through installation will check if WeatherBanner.qml changed by meecast and will change pacth file that compatible with this (without city enlarge like in first version). But in this case if you will decide to swap to Weather app and use it on event screen and want City enlarge you should reinstall package...

P.S. Nooo, I thinking about this and decided not to do this...
Situation:
1. You have weather app
2. Applied latest patch with City enlarge
3. You decided install and use Meecast
4. Meecast will override patched WeatherBanner.qml
5. Now you have problem to unapply previously applied patch.

It better if will just use the v0.1-1.

olf's picture

Oh, I see.  Well, then I cannot think of any possible technical solution.
But this implies that it would make sense to address this issue organizationally.
The most simple and best solution is IMO to upload v0.1-1 to Warehouse again as a new Patch e.g. called "Event screen date & text - feature reduced version compatible with meecast-eventview", to re-enable SailfishOS users with meecast-eventview installed to install "Event screen date & text" from Warehouse.  Furthermore, this would allow you to properly distribute updates to both versions via Warehouse, in case a SailfishOS update makes an update of "Event screen date & text" necessary.  Please, please. ;)
P.S.: I think (/ hope) that quite some SailfishOS users exchanged Foreca weather for MeeCast, meecast-deamon and meecast-eventview.
P.P.S.: Note, that it is only the component "Meecast Event View" populating WeatherBanner.qml AFAICS, not the l"MeeCast for SailfishOS" proper.  You may want to correct that in the changelog above.

olf's picture

Thank you so much for Patch: Event screen date & text (for Meecast-event users)!
Working nicely, looking really good, and perfectly built: Throwing out the other version while installing.

Schturman's picture

Yes, also thinking about this as a last solution. It's possible, wait for new version with new features ;)

gedeon's picture

I just wanted only larger date size :)

olf's picture

Me, too.  The look of SFOS's Eventsview with MeeCast, meecast-eventview and "Event screen date & text" v0.1-1 installed is absolutely O.K..  IMO, there is nothing wrong with the default text sizes of MeeCast and meecast-eventview, and gedeon seems to feel the same.

We both would just like to have the recent "Event screen date & text" working well with meecast-eventview installed, again (as v0.1-1 did and still does).

Schturman's picture

for this try to install first version.

Pages