[GH-ISSUE #2086] [Feature Request]: Minor interface improvements for Steam Deck users. #720

Closed
opened 2026-02-27 21:07:46 +03:00 by kerem · 6 comments
Owner

Originally created by @GHU7924 on GitHub (Jan 7, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2086

Checklist

  • I have searched for a similar issue in this repository and did not find one.

Description

Resizing the window and improving the functions of the "Save" button in the "Patches" window for ease of use by Steam Deck users.

Reason

For more convenient use of the emulator in game mode on Steam Deck.

Examples

At the moment, hovering over different interface elements causes the window to change its size depending on the description. It might be worth adding 5 lines to the default description (I don't think I've seen more). In game mode, the windows look like this.

sdi

As for the "Patches" window, it looks like this.

20250107153739_1

As you may have noticed, the window frame is cut off in game mode. I can close this window through the Steam menu, but it would be more convenient if the "Close" button was added or the "Save" button was changed to "Save & Exit" (that is, the window was closed after saving).

P.S. If anyone else wants to comment on improving the emulator interface in Steam Deck game mode, then please add this information, perhaps I don't know something or haven't come across it.

Originally created by @GHU7924 on GitHub (Jan 7, 2025). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2086 ### Checklist - [X] I have searched for a similar issue in this repository and did not find one. ### Description Resizing the window and improving the functions of the "Save" button in the "Patches" window for ease of use by Steam Deck users. ### Reason For more convenient use of the emulator in game mode on Steam Deck. ### Examples At the moment, hovering over different interface elements causes the window to change its size depending on the description. It might be worth adding 5 lines to the default description (I don't think I've seen more). In game mode, the windows look like this. ![sdi](https://github.com/user-attachments/assets/22b1db4a-6e79-45d9-977b-d41f798840c3) As for the "Patches" window, it looks like this. ![20250107153739_1](https://github.com/user-attachments/assets/97b51011-47dd-4ea3-b7d6-cae32c1b1cf5) As you may have noticed, the window frame is cut off in game mode. I can close this window through the Steam menu, but it would be more convenient if the "Close" button was added or the "Save" button was changed to "Save & Exit" (that is, the window was closed after saving). P.S. If anyone else wants to comment on improving the emulator interface in Steam Deck game mode, then please add this information, perhaps I don't know something or haven't come across it.
kerem closed this issue 2026-02-27 21:07:46 +03:00
Author
Owner

@tomboylover93 commented on GitHub (Jan 8, 2025):

I use Bazzite on my main computer, which includes Steam Deck Gaming Mode, so I could test these issues for myself and fix them. That, and the Settings window needs some reorganizing.

<!-- gh-comment-id:2577575307 --> @tomboylover93 commented on GitHub (Jan 8, 2025): I use Bazzite on my main computer, which includes Steam Deck Gaming Mode, so I could test these issues for myself and fix them. That, and the Settings window needs some reorganizing.
Author
Owner

@GHU7924 commented on GitHub (Jan 8, 2025):

I also noticed that the AutoUpdater window also has a slight size change. It seems to happen after clicking the "Update" button.

<!-- gh-comment-id:2577604207 --> @GHU7924 commented on GitHub (Jan 8, 2025): I also noticed that the AutoUpdater window also has a slight size change. It seems to happen after clicking the "Update" button.
Author
Owner

@tomboylover93 commented on GitHub (Jan 8, 2025):

Can you send a screenshot for comparison?

<!-- gh-comment-id:2577712697 --> @tomboylover93 commented on GitHub (Jan 8, 2025): Can you send a screenshot for comparison?
Author
Owner

@GHU7924 commented on GitHub (Jan 8, 2025):

@tomboylover93 I'm apologize.
In fact, it's perfectly acceptable there, you can ignore it. I took screenshots of all the steps to make sure of this.
I remember that there were some changes, but they turned out to be completely insignificant.
20250108165304_1
20250108165316_1
20250108165442_1
20250108165755_1

<!-- gh-comment-id:2577785173 --> @GHU7924 commented on GitHub (Jan 8, 2025): @tomboylover93 I'm apologize. In fact, it's perfectly acceptable there, you can ignore it. I took screenshots of all the steps to make sure of this. I remember that there were some changes, but they turned out to be completely insignificant. ![20250108165304_1](https://github.com/user-attachments/assets/3015a0ba-19f1-41b5-8a63-5dd3e03c8d18) ![20250108165316_1](https://github.com/user-attachments/assets/d7caacde-8998-414d-ab1b-4d80cc2c0438) ![20250108165442_1](https://github.com/user-attachments/assets/82c3a4b0-e431-4c5b-a9f9-dcf238473c86) ![20250108165755_1](https://github.com/user-attachments/assets/8f739dab-fde5-473c-892d-4151ae7d3528)
Author
Owner

@tomboylover93 commented on GitHub (Jan 8, 2025):

I could not figure out how to add more lines to the Settings window's text box and stop it from resizing the whole window, but I do have this working:

https://github.com/user-attachments/assets/7dc18d5c-a0bf-4743-90b0-8040fbf5f785

I'll make a PR for it shortly. It'll be a draft while I figure out which option in Qt Creator is responsible for setting a fixed height for QTextEdit widgets, as merely setting the "Vertical Policy" to "Fixed" doesn't seem to do anything.

<!-- gh-comment-id:2578757269 --> @tomboylover93 commented on GitHub (Jan 8, 2025): I could not figure out how to add more lines to the Settings window's text box and stop it from resizing the whole window, but I do have this working: https://github.com/user-attachments/assets/7dc18d5c-a0bf-4743-90b0-8040fbf5f785 I'll make a PR for it shortly. It'll be a draft while I figure out which option in Qt Creator is responsible for setting a fixed height for QTextEdit widgets, as merely setting the "Vertical Policy" to "Fixed" doesn't seem to do anything.
Author
Owner

@tomboylover93 commented on GitHub (Jan 8, 2025):

I figured out what causes the window to change its size, and it was this section in settings_dialog.cpp:

Screenshot_20250108_200418

I removed it entirely, changed the Vertical Policy to Fixed, extended the text box's height to 110px and the whole window's height to 800px to accommodate for that, and now it looks like this:

https://github.com/user-attachments/assets/ce3229b2-2189-483b-9ad0-c4149841000f

You can see from the bottom that the text box no longer resizes back to the default of 70px when I hover over something with a smaller description text.

<!-- gh-comment-id:2578860368 --> @tomboylover93 commented on GitHub (Jan 8, 2025): I figured out what causes the window to change its size, and it was this section in settings_dialog.cpp: ![Screenshot_20250108_200418](https://github.com/user-attachments/assets/18e5629a-4e77-4ecb-a677-9f7b160b24d6) I removed it entirely, changed the Vertical Policy to Fixed, extended the text box's height to 110px and the whole window's height to 800px to accommodate for that, and now it looks like this: https://github.com/user-attachments/assets/ce3229b2-2189-483b-9ad0-c4149841000f You can see from the bottom that the text box no longer resizes back to the default of 70px when I hover over something with a smaller description text.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#720
No description provided.