markor icon indicating copy to clipboard operation
markor copied to clipboard

Briefly highlight a note when clicking 'back' button

Open elyahw opened this issue 1 year ago • 3 comments

⚠️ This issue respects the following points: ⚠️

  • [X] This is a enhancement/feature request. Not a bug or question.
  • [X] The topic is not already reported at Issues. (I've searched it).
  • [X] Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • [X] The wanted feature/enhancement is not present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor's settings are not touched. If your desired feature is present, you don't need to open this issue. The change will be part of the next Markor update.)

Description

  1. Say you have many notes. A note of them is opened (not necessarily the first one). The user edits it and goes back.
  2. There is nothing that tells the user which note was just opened.
  3. It would be nice if this note was briefly highlighted, this would give the user a good sense of location.

Information

Android version: 13 Device: Pixel 5a App Version: 2.11.1

Source

GitHub Releases

Format / File type

Not specific

Additional info / Log

-

elyahw avatar Feb 01 '24 23:02 elyahw

Hi, @elyahw , this feature you expected has been implemented in PR #2211.

guanglinn avatar Feb 05 '24 17:02 guanglinn

@guanglinn Thank you. It's very good. The one I had in mind is to be highlighted briefly then the highlighting would disappear. Unfortunately I have no experience in Android so I can't comment on the implementation.. Thanks!

elyahw avatar Feb 06 '24 18:02 elyahw

Thanks for your suggestions, I made some improvements again.

guanglinn avatar Feb 07 '24 08:02 guanglinn

Is this feature broken now? It does not seem to be working at all.. @guanglinn @gsantner

elyahw avatar Jun 03 '24 11:06 elyahw

Hi, @elyahw , the feature I improved is here, but it was not merged. This feature has been modified by @harshad1 , it now cannot automatically highlight the file item when you click 'back' button.

guanglinn avatar Jun 03 '24 12:06 guanglinn

@guanglinn / @harshad1 Humbly said: We rewrote that blinking many times now and it somewhat never worked THAT really well or was that good recognizable. Instead of reworking it for the Nth time, might be better to take a different approach. I.e. existing scroll + constant highlighting of that last item. So no animation/blinking/transparency.

Blinking is just one way to give the needed information. But just because we had it in the past, doesn't mean we can't replace it with something else, or need to keep beating it till it finally works good enough 😄

gsantner avatar Jun 03 '24 17:06 gsantner

Thanks @guanglinn. I agree with @gsantner. Perhaps I said otherwise before, but "existing scroll + constant highlighting" is better. I recently saw it implemented in a File Explorer app called Mixplorer, and it works very well (the highlight colour is very light).

elyahw avatar Jun 03 '24 20:06 elyahw

Right now we blink when we

  1. navigate back in the file explorer
  2. show file location with the 'file browser' button

Blinking the file when one navigates back from the file should be doable.

Or we could use / simulate the android ripple effect if blinking is considered ugly

harshad1 avatar Jun 04 '24 23:06 harshad1

Unfortunatley neither works fine atm, either barely noticable or when coming back from editor not triggering at all

gsantner avatar Jun 05 '24 00:06 gsantner

Perhaps another advantage of constant highlighting is that even you scroll through the notes, you can have a better sense of location (where you were). I would vote for this rather than blinking.

elyahw avatar Jun 05 '24 09:06 elyahw

Windows File Explorer is well in the sense of location. It doesn't have complex animations.

Better sense of location involves highlighting the file/directory location and accurately restoring the scrolling position.

guanglinn avatar Jun 06 '24 04:06 guanglinn

What I am getting is that consistent scroll positions as one navigates would be a good first step

harshad1 avatar Jun 06 '24 06:06 harshad1

@guanglinn @elyahw In #2307 I have added saving and remembering scroll positions. Please review and test.

harshad1 avatar Jun 07 '24 16:06 harshad1