[GH-ISSUE #1922] Settings UI has scrollbars by default #665

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

Originally created by @f1amy on GitHub (Dec 27, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1922

General Settings UI as of this commit shows vertical and horizontal scrollbars on English language, and even more so on other, like Russian.
Could this be caused by #1920?

Steps to reproduce:

  1. Download build https://github.com/shadps4-emu/shadPS4/releases/tag/Pre-release-shadPS4-2024-12-27-9b8de8d
  2. Open emulator, select games folder
  3. Open settings

What happens:
General tab settings UI has scrollbars

What should happen:
No scrollbars, the window is large enough for scrollbars to not appear

image

Originally created by @f1amy on GitHub (Dec 27, 2024). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1922 General Settings UI as of [this commit](https://github.com/shadps4-emu/shadPS4/commit/9b8de8d32059d0c124be0b85e102994fc04fb1ef) shows vertical and horizontal scrollbars on English language, and even more so on other, like Russian. Could this be caused by #1920? Steps to reproduce: 1. Download build https://github.com/shadps4-emu/shadPS4/releases/tag/Pre-release-shadPS4-2024-12-27-9b8de8d 2. Open emulator, select games folder 3. Open settings What happens: General tab settings UI has scrollbars What should happen: No scrollbars, the window is large enough for scrollbars to not appear ![image](https://github.com/user-attachments/assets/d30eedae-33a1-4946-a95a-3a210e693472)
kerem 2026-02-27 21:07:30 +03:00
  • closed this issue
  • added the
    frontend
    label
Author
Owner

@f1amy commented on GitHub (Dec 27, 2024):

cc @f8ith

<!-- gh-comment-id:2563682446 --> @f1amy commented on GitHub (Dec 27, 2024): cc @f8ith
Author
Owner

@Hermiten commented on GitHub (Dec 27, 2024):

That true, same for me but I think was cause by something older because it was like this on the last 0.4.1

<!-- gh-comment-id:2563745039 --> @Hermiten commented on GitHub (Dec 27, 2024): That true, same for me but I think was cause by something older because it was like this on the last 0.4.1
Author
Owner

@Hermiten commented on GitHub (Dec 27, 2024):

Try with a fresh install, I cannot reproduce it with a fresh one

<!-- gh-comment-id:2563745765 --> @Hermiten commented on GitHub (Dec 27, 2024): Try with a fresh install, I cannot reproduce it with a fresh one
Author
Owner

@f1amy commented on GitHub (Dec 27, 2024):

Edited to add repro steps

<!-- gh-comment-id:2563751928 --> @f1amy commented on GitHub (Dec 27, 2024): Edited to add repro steps
Author
Owner

@GHU7924 commented on GitHub (Dec 27, 2024):

In general, something strange is happening with the interface.

Before
050

After
051

I've seen this moment before
000

Did I miss something, or are these really some problematic points?

<!-- gh-comment-id:2563807642 --> @GHU7924 commented on GitHub (Dec 27, 2024): In general, something strange is happening with the interface. Before ![050](https://github.com/user-attachments/assets/280c64d3-ba85-479a-a375-ed3b82cced81) After ![051](https://github.com/user-attachments/assets/0553f500-035f-40d4-9f7e-dcab8a89d431) I've seen this moment before ![000](https://github.com/user-attachments/assets/3aec9bca-4e5c-4d02-9493-639d487327d7) Did I miss something, or are these really some problematic points?
Author
Owner

@f8ith commented on GitHub (Dec 27, 2024):

Settings dialog was very borked originally, my PR fixed some parts but might've left others unfixed. There is a lot of hard-coded geometry for some reason, I'm working to resolve the issues.

<!-- gh-comment-id:2563809148 --> @f8ith commented on GitHub (Dec 27, 2024): Settings dialog was very borked originally, my PR fixed some parts but might've left others unfixed. There is a lot of hard-coded geometry for some reason, I'm working to resolve the issues.
Author
Owner

@DanielSvoboda commented on GitHub (Dec 27, 2024):

I'm putting together a PR to translate "MB, GB, h, m, s.", I can change the size of the settings screen, as it involves a gui...

<!-- gh-comment-id:2563877455 --> @DanielSvoboda commented on GitHub (Dec 27, 2024): I'm putting together a PR to translate "MB, GB, h, m, s.", I can change the size of the settings screen, as it involves a gui...
Author
Owner

@Hermiten commented on GitHub (Dec 27, 2024):

We need something responsive rather than a size, I think, because a size is hardcoded, no ?

<!-- gh-comment-id:2563888535 --> @Hermiten commented on GitHub (Dec 27, 2024): We need something responsive rather than a size, I think, because a size is hardcoded, no ?
Author
Owner

@DanielSvoboda commented on GitHub (Dec 27, 2024):

Here are some of my opinions about the interface.
The size fits without having to write numbers is the best thing to do.
On the 'Game Folder' screen I think there could be another 'Edit' button or in the list where the folder names are listed there could be a 'checkbox' to enable and disable them.
In 'General' I think 'Logger' could go from there and go to Debug.
Maybe redistribute the position in 'General' something similar to the print below, it was just a sketch, it can be improved more.

image

<!-- gh-comment-id:2564027384 --> @DanielSvoboda commented on GitHub (Dec 27, 2024): Here are some of my opinions about the interface. The size fits without having to write numbers is the best thing to do. On the 'Game Folder' screen I think there could be another 'Edit' button or in the list where the folder names are listed there could be a 'checkbox' to enable and disable them. In 'General' I think 'Logger' could go from there and go to Debug. Maybe redistribute the position in 'General' something similar to the print below, it was just a sketch, it can be improved more. ![image](https://github.com/user-attachments/assets/59ee19ba-91d6-4cde-9fbf-46be8073e3ab)
Author
Owner

@GHU7924 commented on GitHub (Dec 27, 2024):

@DanielSvoboda Wow, I like your version.

On the 'Game Folder' screen I think there could be another 'Edit' button or in the list where the folder names are listed there could be a 'checkbox' to enable and disable them.

Can you make a sketch?

"Logger" go to Debug - I agree.

<!-- gh-comment-id:2564035404 --> @GHU7924 commented on GitHub (Dec 27, 2024): @DanielSvoboda Wow, I like your version. >On the 'Game Folder' screen I think there could be another 'Edit' button or in the list where the folder names are listed there could be a 'checkbox' to enable and disable them. Can you make a sketch? "Logger" go to Debug - I agree.
Author
Owner

@DanielSvoboda commented on GitHub (Dec 27, 2024):

Today I will be busy, but from tomorrow I can open a PR with the new positions

<!-- gh-comment-id:2564039085 --> @DanielSvoboda commented on GitHub (Dec 27, 2024): Today I will be busy, but from tomorrow I can open a PR with the new positions
Author
Owner

@f8ith commented on GitHub (Dec 30, 2024):

Without geometry, I believe QScrollArea still needs to have a manually set minimum size, otherwise the dialog box will be tiny by default. We could get size hints on individual group boxes/layouts and then calculate the required minimum size that way.

<!-- gh-comment-id:2564991444 --> @f8ith commented on GitHub (Dec 30, 2024): Without geometry, I believe QScrollArea still needs to have a manually set minimum size, otherwise the dialog box will be tiny by default. We could get size hints on individual group boxes/layouts and then calculate the required minimum size that way.
Author
Owner

@f1amy commented on GitHub (Jan 4, 2025):

this seems to be fixed after #2013

<!-- gh-comment-id:2571357387 --> @f1amy commented on GitHub (Jan 4, 2025): this seems to be fixed after #2013
Author
Owner

@Hermiten commented on GitHub (Jan 4, 2025):

Try on a clean install and then you can close it if it's solved :) thanks

<!-- gh-comment-id:2571360607 --> @Hermiten commented on GitHub (Jan 4, 2025): Try on a clean install and then you can close it if it's solved :) thanks
Author
Owner

@f1amy commented on GitHub (Jan 4, 2025):

image
Fixed in main

<!-- gh-comment-id:2571376247 --> @f1amy commented on GitHub (Jan 4, 2025): ![image](https://github.com/user-attachments/assets/573421bb-9d8a-4c51-be6b-dde333056a01) Fixed in main
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#665
No description provided.