cdfa / AutoSetupLongTapFreeze

Script for Lightning Launcher that automatically sets up app freezing on any app in a container. See http://www.lightninglauncher.com/wiki/doku.php?id=script_autosetupappfreeze for more info
4 stars 0 forks source link

Change behaviour of long tap on folders #16

Open JardaG opened 6 years ago

JardaG commented 6 years ago

Current behavior:

  1. Long tap will cause freeze/unfreeze of all applications in the folder.
  2. Freeze/unfreeze is also happening with app "!" at the beginning of the label.
  3. The folder icon change to gray when freeze.
  4. Tap to frozen folder show "Unfreeze and run?" dialog.

New Behavior for folder with "!" at the beginning of the label:

  1. Long hold will bring up the context menu with items "Sync folder frozen-state", "Freeze all folder items", "Unfreeze all folder items", "Install script to folder", "Uninstall script from folder".
  2. Freeze/unfreeze respects app with "!" at the beginning of the label.
  3. The folder icon always remains colored and will never be gray.
  4. Tap will always open the folder and the "Unfreeze and run?" dialog will never displayed.

I think that both workflow variants with the folder have their meaning and therefore I want to keep them both, so I tend to use the "!" at the beginning of the folder name. We can discuss another distinction, but I haven't better idea now.

Motivation: On my desktop I have 100 % of all apps, 97 % in the folders (about 360 apps in 20 folders in total), and 92 % of apps are frozen because they are unfreezed only when used. When I want to update all apps from Google Play, I can not afford to unfreeze all 100 % of my apps because my phone no longer able to have all background apps due to lack of CPU performance and unavailable RAM. So I have to open every folder, make long tap on free space, choose "Unfreeze all items", make "UPDATE ALL" in Google Play, have to wait for the update, then open the folder again and because I need to respect "!" in the app's label, I have to freeze all apps gradually by long tap manually, which is really very long process... This improvement would make it much easier. :)

cdfa commented 6 years ago

Hmm, I understand. I can't really think of an improvement to what you proposed either. I think most of the pieces are already in place, so it shouldn't be that hard to implement.