maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak (https://talk.maemo.org/showthread.php?t=92935)

cvp 2015-02-19 14:55

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by nodevel (Post 1461293)
This looks great! Where can I get it from? I also tried to use it this way (attachedPage), but didn't get to finishing it.

Since it is now on a separate page, it should be possible to place the controls at the bottom of the screen (no lists to interfere with).

Source is from Saildev:
https://saildev.wordpress.com/2014/0...n-events-view/

what i change is only this part:
from
Code:

import "../../../../../usr/lib/qt5/qml/com/jolla/settings"
to
Code:

import "../../../../usr/lib/qt5/qml/com/jolla/settings"
also one less "../" .. but i dont know if its make sense ^^

and the EventsView.qml file is moved to
Code:

/usr/share/lipstick-jolla-home-qt5/eventsview/EventsView.qml
Cool will be if some one can help us to fix the volumeslider problem and the Mobile-Data-Icon-toggle

coderus 2015-02-19 15:14

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by cvp (Post 1461298)
Source is from Saildev:
https://saildev.wordpress.com/2014/0...n-events-view/

what i change is only this part:
from
Code:

import "../../../../../usr/lib/qt5/qml/com/jolla/settings"
to
Code:

import "../../../../usr/lib/qt5/qml/com/jolla/settings"
also one less "../" .. but i dont know if its make sense ^^

and the EventsView.qml file is moved to
Code:

/usr/share/lipstick-jolla-home-qt5/eventsview/EventsView.qml
Cool will be if some one can help us to fix the volumeslider problem and the Mobile-Data-Icon-toggle

lol, just "import com.jolla.settings 1.0" should work instead of this crap.

romu 2015-02-19 15:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Another issue with the Music Player on lockscreen patch: I've changed the music player and it still shows the previous artist/track played.

coderus 2015-02-19 15:19

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by romu (Post 1461302)
Another issue with the Music Player on lockscreen patch: I've changed the music player and it still shows the previous artist/track played.

explain details

cvp 2015-02-19 15:36

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461301)
lol, just "import com.jolla.settings 1.0" should work instead of this crap.

thanks for the info. I replace it with import com.jolla.settings 1.0, looks cleaner, but mobile data/ volume slider is not working... a tip maybe?

coderus 2015-02-19 15:43

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
Quote:

Originally Posted by nodevel (Post 1461293)
This looks great! Where can I get it from? I also tried to use it this way (attachedPage), but didn't get to finishing it.

Since it is now on a separate page, it should be possible to place the controls at the bottom of the screen (no lists to interfere with).

Just like this?

romu 2015-02-19 15:43

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461303)
explain details

My CD was terminated. I got back to the Media app, changed the artist and started to play this new CD from the media app.

After a while, I woke up the phone by double-taping and the artist/track displayed was still the one from the previous played CD.

I've the feeling that waking up the phone by double-tap or hardware button triggers a different action in your patch, but nothing certain.

coderus 2015-02-19 15:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by romu (Post 1461312)
My CD was terminated. I got back to the Media app, changed the artist and started to play this new CD from the media app.

After a while, I woke up the phone by double-taping and the artist/track displayed was still the one from the previous played CD.

I've the feeling that waking up the phone by double-tap or hardware button triggers a different action in your patch, but nothing certain.

yeah it need extra work, but i have no time for it right now.

madry72 2015-02-19 16:13

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461311)
Just like this?

Would be great to have an option in Eventsview controls menu to change position of the switch controls.

romu 2015-02-19 16:57

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461315)
yeah it need extra work, but i have no time for it right now.

No worry, update 11 should propose it by default...normally.

coderus 2015-02-19 17:05

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Test this patch: https://openrepos.net/content/coderu...-attached-page

Kabouik 2015-02-19 17:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I can't use the "Events view with attached page" nor the updated "Events view with settings blah blah", because the old version seems to be still installed (despite not working) and Patchmanager fails uninstalling it. The failure notification also appeared when trying to install "Events view with attached page" from Openrepos. What should I do to remove the outdated version?

coderus 2015-02-19 17:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
You need to remove old eventsview patch package patch

cvp 2015-02-19 17:28

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461328)

1) LOL, because this post
2) THANK YOU! Works verry good! I am happy with it

now the notification on Lockscreen by saildav and you made my day ^^


Is it possible for the lockscreen control, when I press the back or forward button and hold, so that you can cue the music forward or backward?

coderus 2015-02-19 17:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by cvp (Post 1461336)
1) LOL, because this post
2) THANK YOU! Works verry good! I am happy with it

now the notification on Lockscreen by saildav and you made my day ^^


Is it possible for the lockscreen control, when I press the back or forward button and hold, so that you can cue the music forward or backward?

no seeking is possible

Kabouik 2015-02-19 17:47

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461335)
You need to remove old eventsview patch package patch

But how? That is what I'd like to do, but I get a failure everytime.

coderus 2015-02-19 17:48

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Kabouik (Post 1461340)
But how? That is what I'd like to do, but I get a failure everytime.

in warehouse, then install new version and unapply old patch in patchmanager.

Kabouik 2015-02-19 17:57

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
In warehouse I only have three patches for Eventsview (not all are applied in Patchmanager, but still, I have the packages):
- Eventisview controls with settings applet (up to date)
- Return to eventsview after unlocking device (not working I think)
- Eventsview controls attached page

The first one has been updated, but it triggered a notification "Failure to remove patch" when I updated it in Warehouse, but it did update the package itself. Same when I tried to uninstall the package and reinstall it (still in Warehouse).

coderus 2015-02-19 18:00

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
you need to remove eventsview controls with settings patch if installing Eventsview controls attached page. Also updated Eventisview controls with settings applet to v0.0.17-2.

Kabouik 2015-02-19 18:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I have uninstalled Eventsview controls attached page after my previous message, so remains only Eventsview controls with settings applet and it is v0.0.17-2, but for some reason it still fails to remove the patch.

foufoutos 2015-02-19 18:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
i try update mazelock patch and give ne error nothing provides lipstick jolla home qt5 0.24.23.1 needed by sailfishos Mazelockpatch 00.12.1

coderus 2015-02-19 18:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
what patch you trying to unapply?

ssahla 2015-02-19 18:34

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
Quote:

Originally Posted by Kabouik (Post 1461347)
I have uninstalled Eventsview controls attached page after my previous message, so remains only Eventsview controls with settings applet and it is v0.0.17-2, but for some reason it still fails to remove the patch.

I'm having a similar problem: Can't unapply ”with settings applet” patch, and can't apply ”attached page”. It seems the first one was partly unapplied, because now I'm stuck with this:

coderus 2015-02-19 18:42

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by foufoutos (Post 1461350)
i try update mazelock patch and give ne error nothing provides lipstick jolla home qt5 0.24.23.1 needed by sailfishos Mazelockpatch 00.12.1

Patch working only on Yliaavanlampi (u11) release

coderus 2015-02-19 18:44

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by ssahla (Post 1461353)
I'm having a similar problem: Can't unapply ”with settings applet” patch, and can't apply ”attached page”. It seems the first one was partly unapplied, because now I'm stuck with this:

rm /usr/share/lipstick-jolla-home-qt5/eventsview/FavoritesZoneControls.qml

ssahla 2015-02-19 18:47

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461355)
rm /usr/share/lipstick-jolla-home-qt5/eventsview/FavoritesZoneControls.qml

rm: cannot remove `/usr/share/lipstick-jolla-home-qt5/eventsview/FavoritesZoneControls.qml': No such file or directory

There's only FavoritesZoneControls.qml.webosinternals.orig.

Edit: Ok, now I don't see the controls anymore (like in the image I posted), so I only have the default events screen. But Patchmanager still says I have "with settings applet" applied, and I can't unapply.

Edit again: Ok again, managed to unapply & uninstall "with settings applet", and install & apply "attached page". It works. Thanks for your advice. It's just too damn easy to mess your phone up with these things :) But one more question: Can I have both these versions installed (but only one applied), or do I have to uninstall the other one to use the other one?

coderus 2015-02-19 18:59

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
do the following:
Code:

touch /usr/share/lipstick-jolla-home-qt5/eventsview/FavoritesZoneControls.qml
patch -R -p 1 -d / -i /var/lib/patchmanager/ausmt/patches/sailfishos-eventsview-controls-remastered-patch/unified_diff.patch

andwer n when error about FavoritesZoneControls and answer y when asked to continue anyway.

szopin 2015-02-19 19:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
In case someone also forgets to disable patches before updating:
update from warehouse, then remove-restart lipstick-apply-restart lipstick
so far everything works fine (this is about controls in events view, but other patches seem to be fine)

R1v3r 2015-02-19 19:45

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@coderus

Is this normal? I just updated to u11.

I unapplied all the patches and now when I was going to start patches again after update, I got this screeen. Is this normal?

https://app.younited.com/?shareObjec...d-01c78276495a

or is it again in the description, that I don´t see? :D


Edit, if anyone else has problem with this, here is the post:

http://talk.maemo.org/showpost.php?p...&postcount=344

coderus 2015-02-19 20:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by R1v3r (Post 1461377)
@coderus

Is this normal? I just updated to u11.

I unapplied all the patches and now when I was going to start patches again after update, I got this screeen. Is this normal?

https://app.younited.com/?shareObjec...d-01c78276495a

or is it again in the description, that I don´t see? :D

it was answered in this thread over 9000 times

nodevel 2015-02-20 00:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461311)
Just like this?

Well, I did the exact same patch before you did yours :)

I forked your eventsview-controls and added such attachedPage with anchors.bottom: parent.bottom.

I was quite surprised when I came home and saw your screenshot that looks exactly same as my events view.

Thank you nevertheless.

Leinad 2015-02-20 01:22

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
would it be possible to make a patch to zoom in and out of pictures in gallery by double tap, like it was on N9?

coderus 2015-02-20 01:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Leinad (Post 1461407)
would it be possible to make a patch to zoom in and out of pictures in gallery by double tap, like it was on N9?

no, since sailfish gallery is using split view, tapping is always opening actions menu, and it's not possible to easily override it

malkavian 2015-02-20 01:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Leinad maybe you like this, I use it:

https://together.jolla.com/question/...#post-id-56483

Maybe a patch to apply these modifications could be done, so it would be easier for people to get it.

Leinad 2015-02-20 02:08

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461408)
no, since sailfish gallery is using split view, tapping is always opening actions menu, and it's not possible to easily override it

i guess, zooming in is impossible, but tapping has no effect, when you already are in a zoomed picture. maybe only zooming out by double tap could be possible? this would be a huge improvement imho.
it's annoying, that you always have to use both hands to get from a zoomed picture to the next one...

coderus 2015-02-20 02:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
you don't need to zoom out to get to the next one, just swipe it as usual and BOOM - it works!

Leinad 2015-02-20 02:21

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
hm, this works "sometimes" :) but for me it does not work in 90% of all cases... i didn't figure out, why it works one time and does not work the other 10 times.

coderus 2015-02-20 03:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Leinad (Post 1461412)
hm, this works "sometimes" :) but for me it does not work in 90% of all cases... i didn't figure out, why it works one time and does not work the other 10 times.

okay, doubletap for reset scale done: https://openrepos.net/content/coderu...ap-scale-reset

R1v3r 2015-02-20 05:47

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1461380)
it was answered in this thread over 9000 times

Hello Coderus,

Unfortunately I could not find any answer..?

Has this been asnewered after this u11 has been updated?

Or has it been answered earlier?

anyhow. I just accepted this, and applied patches and everything works :)

Edit, if anyone else has problem with this, here is the post:

http://talk.maemo.org/showpost.php?p...&postcount=344

olpe 2015-02-20 06:47

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hi.

Would it be possible to move the weather on top of the eventsview-controls?

I'd like to get those controls lower so they would be easier to reach to when using the phone with just one hand.

something like this:

https://www.dropbox.com/s/xnx3vl1i22...dotus.png?dl=0

Link if the image is not visible:
https://www.dropbox.com/s/xnx3vl1i22...dotus.png?dl=0


All times are GMT. The time now is 18:05.

vBulletin® Version 3.8.8