ReVanced / revanced-patches

🧩 Patches for ReVanced
https://revanced.app
GNU General Public License v3.0
2.61k stars 300 forks source link

bug(YouTube): Shorts are always hidden / missing from the watch history #3958

Closed Figim closed 5 days ago

Figim commented 5 days ago

Bug description

A When watching shorts videos from any area, they are not in the watch history

  1. Play shorts video
  2. Go to watch history
  3. Shorts video is not visible

https://github.com/user-attachments/assets/9d5bd67d-825e-4cda-8888-d3253292615d

Applied patches: "alt_thumbnail_dearrow_connection_toast": false, "alt_thumbnail_library": "dearrow_still_images", "alt_thumbnail_stills_time": "beginning", "bypass_image_region_restrictions": true, "disable_precise_seeking_gesture": false, "disable_resuming_shorts_player": true, "external_downloader": true, "gradient_loading_screen": true, "hide_autoplay_button": false, "hide_cast_button": false, "hide_chapters_section": false, "hide_clip_button": false, "hide_comments_create_a_short_button": false, "hide_comments_thanks_button": false, "hide_comments_timestamp_and_emoji_buttons": false, "hide_create_button": false, "hide_expandable_chip": false, "hide_for_you_shelf": false, "hide_info_cards_section": false, "hide_mix_playlists": false, "hide_player_flyout_help": false, "hide_player_flyout_more_info": false, "hide_player_flyout_watch_in_vr": false, "hide_podcast_section": false, "hide_remix_button": false, "hide_shorts_button": false, "hide_shorts_home": true, "hide_shorts_search": true, "hide_shorts_subscribe_button": false, "hide_shorts_subscriptions": true, "hide_thanks_button": false, "hide_timed_reactions": false, "hide_transcript_section": false, "miniplayer_horizontal_drag": true, "playback_speed_dialog_button": true, "remove_viewer_discretion_dialog": true, "seekbar_custom_color": true, "seekbar_custom_color_value": "#FF0008", "seekbar_thumbnails_high_quality": true, "shorts_autoplay_background": false, "swipe_brightness_value": 0.1, "ryd_compact_layout": true, "ryd_dislike_percentage": true, "sb_compact_skip_button": true, "sb_create_new_segment": true, "sb_local_time_saved_milliseconds": 131412, "sb_local_time_saved_number_segments": 5, "sb_voting_button": true

Error logs

There is no error

Solution

I don't know

Additional context

ReVanced: 5.0.2 version YouTube: 19.43.41 version MicroG: Latest Manager Version: 1.23.2 Model: SM-A217F Android Version: 12 Supported Archs: arm64-v8a, armeabi-v7a, armeabi

Acknowledgements

oSumAtrIX commented 5 days ago

Follow this:

Image

Figim commented 5 days ago

The same YouTube version has no bug

Bug patch: Setting>Shorts The 3 options shown in the image must be enabled for the above patch to generate the bug Image 3 options must be active at the same time . Otherwise there will be no bug

LisoUseInAIKyrios commented 5 days ago

You have turned off all Shorts everywhere:

hide_shorts_home": true,
"hide_shorts_search": true,
"hide_shorts_subscriptions": true,

Because of issues with how the Shorts shelf is loaded, there exists use cases where the app thinks a specific tab is selected when in reality it is not.

To prevent showing Shorts in these situations, if Shorts are disabled in all places then Shorts are always hidden everywhere (and that includes the history tab).

if you want to see Shorts in your history, then turn off one or more of the 'hide Shorts' settings listed above.