Skip to content

Scrolling Text for Song & Artist Name (ref #576)#674

Open
galagyy wants to merge 21 commits intounchihugo:masterfrom
galagyy:feature/scrolling-text
Open

Scrolling Text for Song & Artist Name (ref #576)#674
galagyy wants to merge 21 commits intounchihugo:masterfrom
galagyy:feature/scrolling-text

Conversation

@galagyy
Copy link
Copy Markdown

@galagyy galagyy commented Apr 9, 2026

Summary

Adds a feature where the song's name or artist's name may scroll if they do not fit the taskbar widget.

This only applies to the widget, and no implementation has been made for the media flyout.

Motivation

Aims to resolve #576

Type of Change

  • Feature
  • Bug fix
  • Refactor (no functional changes)
  • Style (formatting, naming)
  • Other

What Changed

  • Added settings to enable title and artist scrolling
  • Added setting to control scroll speed
  • Added ability to infinitely scroll in one direction

Additional Information

NOTE: This PR is built upon the branch in pull request no. 652

Scroll settings:
image

Example with settings above:
https://github.com/user-attachments/assets/1e367948-e442-4bad-890c-fe60af9b2d54

Note that this is with infinite scrolling on; if infinite scrolling is disabled, the text will just go back and forth like on Spotify.

Checklist

  • Code changes are manually tested and working.
  • Formatting and naming are consistent with the project.
  • Self-review of changes is done.
  • AI tools were used (Used to verify changes are accurate).

galagyy and others added 19 commits April 3, 2026 17:33
- Add dedicated "App Filter" page
- Add "App Filtering" menu card and navigation item
- Add app filtering properties to settings storage
- Add app filtering keys to en-US dictionary
- Update main menu to use `GetActiveMediaSession()` over `GetFocusedSession()`
- Update control click handlers to use `GetActiveMediaSession()`
- Update formatting from K&R to BSD (C# standard)
- Add taskbar & flyout refresh once a filter has been updated
- Update `PlayPause_Click()` in both `MainWindow.xaml.cs` and `TaskbarWidgetControl.xaml.cs` to use `TryTogglePlayPauseAsync()` over the previous keyboard approach to respect app filtering
- Update UI logic to check `PlaybackStatus` over `Controls.IsPauseEnabled` to prevent desync from filters

NOTE: ControlPlayPause opacity has been moved outside of the conditional due to making more sense there.
- Removed the `ExtractAppName()` function in favor of using the already-existing `getMediaPlayerData()` function
- Reintroduced early return statement
- Renamed `taskbarSession` back to `focusedSession`
- Removed unneeded else indentation
- Replaced malformed unicode with proper copyright unicode
- Move the app filtering feature to the system menu
- Fix `.exe` parsing when adding custom application
- Inverted if statements for easier readability
- Changed type casting to use the `as` keyword for readability
- Update app comparison to compare manual additions against dropdown selections
- Move `.exe` comparison within new comparison method
- Added documentation to all methods for future maintenance
- Change page wording to be more intuitive
- Reformat UI to be more friendly
- Add disk caching for app icons as apps may not always be open
- Add `AppNameIconConverter` to convert an apps name to an icon matching the app using memory cache or disk
- Add dedicated whitelist/blacklist mode
- Add app icon for apps in either entry
- Add padding to dropdown entries
- Update dictionary entries to match new scheme
- Revert `MediaPlayerData` to use previous implementation
- Remove `AppNameIconConverter` as it's no longer needed
- Remove app icons from the whitelist/blacklist UI
- Add scrolling text option to the taskbar widget
- Add option to enable or disable scrolling on the artist's name
- Fix scroll to only occur when the song length is past the max length
@github-actions github-actions bot added MainWindow / Media Flyout Changes to MainWindow including the Media Flyout SettingsWindow Changes to SettingsWindow or settings pages not related to flyouts/widgets Taskbar Widget Changes to the Taskbar Media Widget labels Apr 9, 2026
@galagyy
Copy link
Copy Markdown
Author

galagyy commented Apr 9, 2026

As noted above, this is built with commits from another open PR; I am unsure of what the behavior would be for merging.

@galagyy galagyy changed the title Scrolling Text for Song & Artist Name Scrolling Text for Song & Artist Name (ref #576) Apr 9, 2026
galagyy added 2 commits April 8, 2026 22:33
- Add two words for infinite scrolling (no more empty text space)
- Add small gradient to left and right ends
- Fix logic for scrolling whilst paused
@unchihugo
Copy link
Copy Markdown
Owner

Hi @galagyy, looks like you've included the changes made in your other branch here as well. Are you able to separate the changes so it's easier for me to review the code? Thank you!

@galagyy
Copy link
Copy Markdown
Author

galagyy commented Apr 11, 2026

Hello, thanks for the response! I'll wait for the other one to merge cleanly and then try recreating a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MainWindow / Media Flyout Changes to MainWindow including the Media Flyout SettingsWindow Changes to SettingsWindow or settings pages not related to flyouts/widgets Taskbar Widget Changes to the Taskbar Media Widget

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Scrolling text on taskbar widget

2 participants