amake / orgro

An Org Mode file viewer for iOS and Android
https://orgro.org
GNU General Public License v3.0
452 stars 21 forks source link

2-state local cycling on subtrees #83

Open jebyore opened 9 months ago

jebyore commented 9 months ago

Could you please add an option of switching from the default 3-state local cycling (FOLDED, CHILDREN, SUBTREE) when short pressing on subtree headings to 2-state local cycling without "SUBTREE"? As the latter won't sometimes cause severe performance issues in large org files with deep nested subtrees on my low-end phone and is more convenient to use in my opinion.

Thanks.

amake commented 9 months ago

I'm not dead-set against making an option, but in general I feel like "doing the right thing" is better than adding options.

Things I would rather do (but are probably much more difficult):

Can you share

jebyore commented 9 months ago
  1. example file (containing one specific subtree): https://github.com/jebyore/example/blob/main/example.org

It takes 5-6 seconds to finish the last step of the local cycling on the top level subtree in this example.org on my phone.

  1. Phone model: Moto G5S OS: LineageOS (18.1-20230801-NIGHTLY-montana)