HushFeed icon indicating copy to clipboard operation
HushFeed copied to clipboard

A few features tested & implemented (4-quadrant double tap, search history, clear display toggle)

Open OmerKurdi79 opened this issue 1 month ago • 13 comments

Hey Matt,

Wanted to test out a few feature ideas and share working code instead of just dropping requests, hoping it gives you something to work with if you decide to look into them.

Here is what's implemented and tested:

  • 4-Quadrant Double Tap: Splits the screen into 4 corners (top-left, top-right, bottom-left, bottom-right) with independent action pickers for each corner.
  • Settings Search History: Adds recent searches directly under the search bar with timestamps and delete buttons.
  • Keep Clear Display Across Videos: An optional toggle under Interface. When turned on, clear display persists across video swipes; when turned off, it exits clear display on the next video.

One issue I ran into: with these patches, having "See-through bottom bar" turned on causes a video flicker on swipe. I couldn't figure out a clean way to fix that interaction myself, so that part will definitely need your fix.

Everything is pushed on my fork if you want to cherry-pick, adapt, or rewrite anything: https://github.com/SysAdminDoc/HushFeed/compare/main...OmerKurdi79:HushFeed:main

OmerKurdi79 avatar Oct 21 '26 22:10 OmerKurdi79

This was a really nice surprise, thanks for the working code. All three are in the next release: Double tap by corner, recent searches in settings search, and Keep Clear display across videos. I reworked them a little and you're in the changelog. The See-through flicker still shows a bit with Keep off, it's on my list.

SysAdminDoc avatar Oct 22 '26 15:10 SysAdminDoc

https://github.com/user-attachments/assets/5a3f1fa4-9eb5-44d5-8ae0-76936757babe

There is this blink if See-through bottom bar was on ! When i scroll , It might be my phone so I'm goona test with different phones to see if it's just me or not . I think i didn't got it on my tablet when i tried it . But with this phone tried everything didn't help .

OmerKurdi79 avatar Oct 25 '26 08:10 OmerKurdi79

Which phone is the one that blinks? I see a smaller flicker on mine with Keep Clear display across videos off, so I'd like to compare.

SysAdminDoc avatar Oct 30 '26 19:10 SysAdminDoc

It's an Honor X9c—the blink happens on it whenever See-through bottom bar is on, regardless of whether Keep Clear display across videos is toggled on or off. Didn't run into it on my tablet, and honestly got too lazy to dig up more phones, so I've just made my peace with keeping See-through disabled!

OmerKurdi79 avatar Oct 30 '26 21:10 OmerKurdi79

@OmerKurdi79 0.80.0 fixed the flicker I was seeing. The still frame TikTok shows between videos now grows with the picture, so its bands don't flash anymore. Could you try See-through bottom bar on the Honor again and see if it still blinks?

SysAdminDoc avatar Nov 05 '26 15:11 SysAdminDoc

Tested 0.80.0 on the Honor X9c and the swipe blink is still there with See-through bottom bar on!

I asked my AI assistant to check what my phone was doing during the swipe. It pulled the logs via Termux and Shizuku right after testing and caught two specific errors:

  • BufferQueueProducer: cancelBuffer drops a frame across the screen whenever video moves under the transparent bar.
  • SurfaceFlinger logs CompositionEngine: [applyDeviceCompositionTypeChange] layer [NavigationBar0] apply to client compose, meaning the OS actively switches drawing modes for the navigation bar mid-swipe.

With See-through turned off, neither of those errors appear and scrolling stays 100% smooth.

Sharing the exact log lines in case they help you pinpoint what's happening! For now, I'll just keep See-through disabled on my phone.

OmerKurdi79 avatar Nov 05 '26 20:11 OmerKurdi79

That log pinned it down, thanks. Your phone switches the navigation bar to a slower way of drawing whenever video moves under it, and See-through is what puts video there. Mine never does that, so I can't see the blink.

Are you on gestures or the 3 buttons? If it's gestures, does hiding the little bar at the bottom stop it?

SysAdminDoc avatar Nov 06 '26 01:11 SysAdminDoc

I normally use the 3 buttons!

To test your idea, I switched over to gestures and hid the bottom bar line, but the swipe blink remained.

My AI checked the logs across both: 3 buttons triggers CompositionEngine: [applyDeviceCompositionTypeChange] layer [NavigationBar0] apply to client compose, while gestures shifts that exact mode switch onto [TTPlayerVideoLayer]. In both setups, Honor's display controller drops the hardware overlay plane for a frame whenever video enters that bottom screen area.

OmerKurdi79 avatar Nov 06 '26 08:11 OmerKurdi79

Your logs nailed it. TikTok plays video on its own layer under the app, and that's the layer the Honor drops as it slides under the bar.

Next update adds Stop the blink under the bar under See-through bottom bar. It has TikTok draw the video inside the app, so there's no layer to drop. My phones never blinked, so I'd love to hear if it fixes yours.

SysAdminDoc avatar Nov 07 '26 14:11 SysAdminDoc

Tested the toggle across both 3-buttons and gestures!

The switch definitely killed the SurfaceView layer and drew video into SplashActivity, but the swipe blink remains on the Honor.

My AI dug deeper into the logs and caught Qualcomm’s hardware display driver (SDM) red-handed:

SDM : HWCDisplayBuiltIn::NeedsLargeCompPerfHint: Reached max GPU layers for 60fps. Set perf hint for large comp cycle
CompositionEngine: [applyDeviceCompositionTypeChange] layer [com.zhiliaoapp.musically/...SplashActivity] apply to client compose

Having the transparent bar over the video pushes the layer stack past Qualcomm’s hardware layer limit on the Honor X9c. Swiping back and forth between cached videos doesn't blink once the buffer is warm in VRAM, but as soon as the view recycles, Qualcomm drops that frame to rebuild the GPU composition cycle.

Looks like it's just an Honor quirk on this chipset when drawing under bars, but wanted to share the logs in case it's helpful context!

OmerKurdi79 avatar Nov 07 '26 19:11 OmerKurdi79

Also forgot to mention: See-through bottom bar doesn't seem to apply on the Following tab at all (only shows on the main FYP feed). Since I normally keep See-through turned off, I didn't notice it before until now—no idea if that's new or was always like that, and could easily just be another quirk on my phone like the blink!

OmerKurdi79 avatar Nov 07 '26 19:11 OmerKurdi79

Good catch on Following, that tab had its own solid band under the bar. Next update clears it.

And yeah, that SDM line pretty much settles the blink. The X9c runs out of hardware layers once the bar's over the video.

SysAdminDoc avatar Nov 08 '26 01:11 SysAdminDoc

Fair enough on the hardware limit! Since all three main features are merged and working great, closing this out.

OmerKurdi79 avatar Nov 08 '26 05:11 OmerKurdi79