Patch: Quick settings on power menu

Rating: 
4.69231
Your rating: None Average: 4.7 (13 votes)

It's recommended to uninstall pre-1.3 versions before installing the newer ones.

Adds Quick Settings to power menu without removing ambience switcher.

2.0.0+

This patch features:

  • All your shortcuts, quick actions, and ambiences just a swipe away, everywhere from top edge
  • Settings for shortcuts and quick actions under "Power menu" settings
  • Options for additional buttons on power key menu and top menu separatedly: close, silent, device lock, reboot, home restart
  • Option for number of columns of shortcuts (3~8) – will affect both powermenu and events pulley
  • Events pulley the same as power menu in width
  • Option to remove quick settings from events pulley
  • Remove obsolete button for shortcut settings
  • A minor bug fix in wallpaper positioning (correcting horizontal offset and making it static)
  • Translation support: Czech, Dutch, English, Finnish, Frensh, German, Italian, Polish, Spanish, Swedish.

Help translate into your language!
Huge thanks to the translation team!

Be careful! Will conflict with other power menu and events patches, but not with Tablet UI (Quick Settings Sidebar).
Want to use other events patches? Install the version 0.3.
Requires patchmanager

Known issues:

  • Device Lock button won't work on 2.0.4
  • Close button has problems with Browser and potentially some other apps
  • Changing order of favorite settings in Power menu won't affect Events pulley and vice versa; unless you disable and re-enable the main settings.
  • With no favorite ambiences and a scrollable power menu, it will be opened from its last position.

0.7+ the only versions compatible with patch Voice call quick action 0.2+

Great thanks to @equiem for the super idea in this patch.
Thanks Coderus for Close button and BillyHalley for Profile and Restart home buttons! I used their source codes.

Source on GitHub. Donations are welcome ;)

PayPal - The safer, easier way to pay online!

Screenshots: 
Changelog: 

1.6 - Quick update for SFOS 2.1.1:

  • temporarily disabled device lock and close buttons
  • removed the option "wider on landscape"

1.5 - Quick update for SFOS 2.0.4 - device lock button won't work

1.4

  • Update for SailfishOS 2.0.2
  • Updated translations: French, Polish

1.3

  • Update for SailfishOS 2.0.1
  • Added remorse popup for home restart from top menu
  • Removed that obsolete wheel button completely
  • Minor bug fixes

1.0

  • Added home restart and profile buttons
  • Close button only on top menu
  • Edit buttons separately for power-key and top menus
  • Security bug fix: edit mode disabled when device is locked
  • Security bug fix: edit mode canceled on closing menu or display blanking
  • Bug fix: successfully switch to Settings window when selecting favorite Settings pages or Quick actions, even from lock screen or device lock
  • Bug fix: now displayed correctly with no favorite ambiences
  • Updated translations: Finnish, Swedish, Spanish, Dutch, French, German, Italian, Czech

0.9

  • Bug fix: The wallpaper is static now and won't move with the content
  • Power menu settings won't be displayed before applying the patch
  • Added Dutch translation
  • Fixed Finnish translation

0.8

  • Added close button
  • Now Events pulley will have the same width as Power menu (even on landscape) – option for "wider" view is still available
  • Updated translations

0.7

  • Fix compatibility issue with patch "Voice call quick action"
  • Add translations: Spanish, Swedish, French, Finnish

0.6 - Add option to have a wider menu on landscape
0.5

  • Add option to edit number of columns for Settings Shortcuts. This will affect both powermenu and events (if enabled)
  • The option for columns will get hidden when Shortcuts are disabled

0.4

  • Move settings for shortcuts and quick actions to Power menu
  • Add option to remove quick settings from events
  • A minor bug in 0.4-3 fixed

0.3 - Add options to add reboot and device lock buttons
0.2 - dropped because of unresolved bugs

Comments

silta's picture

Hi alina,

running your patch on Xperia X with SFOS 2.1.3.5. Kymijoki I have an issue.

I`ve set the number of shortcut columns to 5, but after every reboot the 5th shortcut disappears.

Could you fix it please? Thanks in advance.

alina's picture

I don't have an Xperia X to recreate it. :/

silta's picture

Okay, I've got it.

At first I unapplied patch and rebooted. Then gone to settings, events view and added the fifth shortcut. After that applied patch again and rebooted.

From now shortcut doesn't disappear after reboot.

Ingvix's picture

I tested this on my Xperia and my 5th shortcut stays in place after reboot.

Also, do you have a specific reason not to implement the close button hiding on lockscreen which I provided? I haven't seen any issues while using it.

olf's picture

Oh, the option "Wider on landscape" is gone in v0.1.6-1_2.1.1 (was in v0.1.5-1_2.1.0 and earlier versions), as denoted in the changelog above.

Any chance to bring it back?

Well, all functionality is there without it, but it just looks so ugly in landscape orientation.

alina's picture

Since the patch is usable on different devices with different display sizes, it's obsolete. Especially that portrait view is used rather on large screens, and it won't fit the whole width of those screens, it's meaningless to have a wider menu with more space between the buttons.

naytsyrhc's picture

Many thanks for the update. Works well with 2.1.1 now.

Just486's picture

What a relief to see you post here. So should we expect compatibility updates on this patch? Out of many alternatives your app suites me the best

naytsyrhc's picture

Patch can't be applied on 2.1.1.23/24 worked before like a charm. Any chance to get a fix?

alina's picture

Thank you for your kindness, but this has had some fatal bugs in recent releases and I haven't solved them yet. Plus that my Jolla bricked in the update process, and however I fixed it soon, it still needs more time to get back to the normal state again.

Ingvix's picture

The close button on lockscreen would be solved with what I commented earlier.

Just486's picture

Is this one still maintained? One of my favorites, but needs at least compatibility updates

hardy_magnus's picture

this patch is one of my favorites, but it is not compatible with newer releases. please make it work with newer versions.

matemana1991's picture

latest version works well on my Nexus 5 SFOS 2.0.4.13 but cases eventsview to no longer be on the whole width of my Nexus 4 SFOS 2.0.5.6. I fixed it

changed this line:
        width: (isLandscape && powermenuSettings.wide) ?
               Math.min(7.2*Theme.itemSizeExtraLarge, eventFeedWindow.width) : 4 * Theme.itemSizeExtraLarge

with this:

width: eventFeedWindow.width

alina's picture

Of course you can change anything as you wish, but I did that on purpose: both to make it look as a real pulley menu and to avoid excessive spacing between items.

By the way, there's an option in Settings for "wider on landscape". It would do the same for you.

gowtham's picture

when i tried to uninstall quicksettings on powermenu and it says failed to uninstall patche  ,,and doesn't work anymore , how to re install frsh one

olf's picture

Just curious: What does "A minor bug fix in wallpaper positioning (correcting horizontal offset and making it static)" in above section "This patch features:" exactly mean?
I am unable to see any difference with or without this patch under SFOS 2.0.4.14, although I tried hard, but maybe I did not look for the right things.

Thank you for this really good patch. :)

alina's picture

You will see the difference in landscape if you have the patch for home rotation. Without my patch the background of power menu (lock button) will be misplaced in comparison to home.

olf's picture

Thank you.

Ingvix's picture

I noticed that when app is open the close button is visible even in lock screen and if you press it there, the app is removed from switcher but is not actually closed. You can't open the app again from launcher because there's still an intance alive. Got to kill it from terminal to open it again.

EDIT: Fixed a typo.

Also the close button does not work on sailfish browser.

alina's picture

Oh, it's getting worse with each update. I'm sorry. I should add a condition to hide close button from the lock screen, but the problem with the browser needs more struggles.

Thank you for reporting by the way!

Ingvix's picture

I added !lipstickSettings.lockscreenVisible to conditions on closeButton visibility and it shows on lockscreen no more.

AA1AA's picture

Hello,

Is there a way to avoid the conflict with Powermenu ?

alina's picture

Hi,

No way, but I think if you use Powermenu, no need to use this patch.

Ingvix's picture

Device lock button doesn't work on 2.0.4. I hope you update your patch.

alina's picture

Device lock module has changed and I can't figure out how it can be used for manual locking. I'm still trying to find a solution.

fravaccaro's picture

Hi! Could you offer the option to remove even the lock screen button (and put the toggles right on top of the ambience menu)?

Furthermore, it'd be cool to have an half-swipe (like in other patches) to lock the screen or, alternatively, close the current app.

Jordi's picture

I forgot to uninstall the previous version of this patch (plus other patches) when updating to the new Sailfish OS version and now I cannot install it anymore. I tried what Coderus sais about removing the patches to install them again :

devel-su
pkcon remove ausmt
rm -rf /var/lib/patchmanager
pkcon install lipstick-jolla-home-qt5
pkcon install jolla-settings-system
pkcon install jolla-settings-networking
pkcon install jolla-settings-bluetooth

But there were some errors during the process and after installing Patchmanager again, your patch fail to install.

Any idea?

naytsyrhc's picture

I also have problems applying this patch. How to get more information on it? Are there any logs? Currently I just get the message, that the patch failed to install.

Thx.

AnttiT's picture

Did you get through this somehow? I may have the same issue, as my Patchmanager fails to unapply the patch.

How can I get rid of this patch? Although I've removed the package of this patch and done the steps above, I still have Power menu under my settings. Somehow it's got partially removed, as the menu item doesn't have an icon in settings. Also the items in Power menu settings have weird names like sailfish-patch-quicksettings-powermenu-la-profile_button instead of Profile button like in the screenshots of the patch.

Pages