Qt: Add Custom background support#12722
Conversation
|
In future we could add a customisable dark filter on top for easier reading gamelist itself in as a sort of pseudo dropshadow that movie subtitles would do. The current form limits the usecase to less viable screenshots. But it's good for now to add some more personality (or make people crazy with meme images) |
|
Yeah i do hope to add some kind of brightness/opacity option (or drop shadow for texts if viable) and cropping mode in the future. |
|
I remember I previously said this could be implemented by subclassing QStackedWidget and overriding the paint event. I think I may have been overthinking that, A few things I noticed:
|
Whoops you were right, that check was too aggressive. I'll fix it later.
I'm not sure how to reach the |
I've done some testing and I can't seem to get it to work with the palette method either, I'm not sure why. I think subclassing QStackedWidget and drawing the pixmap in the paintEvent function should still work though. Just make sure to use drawTiledPixmap and pass in the invalidated region. You'll need to disable autoFillBackground on the viewports (e.g. |
4827654 to
ae136d7
Compare
|
I wonder if it could be possible to add support for animated webps (in a future PR). It would be quiet nice to have! Gif works too but gif is yucky |
I don't think Qt can do that. |
|
What if you decode the frames manually then update the background every few ms from a worker thread? 🤔 |
169b712 to
dd3311a
Compare
|
Animated WEBP and GIF now works! 2025-06-08.14-51-36.mp4 |
NO WAY :0, I will test that later this day! |
a6b0a8c to
9307c0b
Compare
77d3499 to
cf39fc9
Compare
12573e0 to
c3712d3
Compare
c3712d3 to
6977d8b
Compare
chaoticgd
left a comment
There was a problem hiding this comment.
All good now. I've reviewed everything except the dependencies.
589e646 to
8018fc4
Compare
|
Latest update, the entire custom background settings have been moved to 2025-09-11.17-33-20.mp4 |
8018fc4 to
ef0d2e9
Compare
Qt: Make sure custom background aren't active when game list isn't shown To save on CPU Power and be more efficient Co-Authored-By: TheLastRar <TheLastRar@users.noreply.github.com>
Needed for animated WEBPs to work on Windows. Co-Authored-By: TheLastRar <TheLastRar@users.noreply.github.com>
Co-Authored-By: TheLastRar <TheLastRar@users.noreply.github.com>
ef0d2e9 to
b3f4719
Compare
|
With these new changes, can I have testers retest? |
b3f4719 to
8a8568d
Compare
SternXD
left a comment
There was a problem hiding this comment.
pcsx2qtbackground.mp4
Works on my machine does what it's supposed to do.
|
Supported Image Types (*.bmp *.gif *.jpg *.jpeg *.png *.webp) is untranslatable |









Description of Changes
This PR adds the ability to set custom background on the game list.
Preview:





Setting Preview:

Rationale behind Changes
Nice eye-candy and more customizations
Suggested Testing Steps
To set a custom image:
See theView -> Set Custom BackgroundSettings -> Interfacesection.Things to test:
Known issues so far:
The background doesn't get cleared automatically when clearing the custom backgroundUnreadable text when using bright backgroundsDid you use AI to help find, test, or implement this issue or feature?
Nuh-uh