-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Gamescope arguments get overwritten #440
Comments
Hi, thanks for the report! No offense, yad is nice (imho), but not built for huge complex guis: I already had multiple other issues with yad before: I would love to rewrite pretty much every gui element to look better and make it better usable, but yad is really the handicap here. If I knew earlier how big steamtinkerlaunch will become, I would not even have started it with bash, but with cpp using a qt gui, but that train left long ago. Also, not sure if you have seen in the code how the flexible menus are created in steamtinkerlaunch (so, f.e. the favorites menu or all category menus), but it is extremely complicated and an absolutely crazy implementation, which nobody should have to write to workaround missing gui features. I'm afraid solving this via gui is nearly impossible (yeah, advanced settings would have been a dream for steamtinkerlaunch, I doubt this is possible, but I don't say that I know it is impossible, because many yad features are kind of easter eggs and you do not find that many different examples on the web what yad can do) Thank you very much for writing a new gamescope wiki! Like many other wiki entries the current one is terrible :) |
Yeah, I've seen a similar sentiment, that yad is not really great for more complex UIs. I can see now why it might be pretty tricky to stop the arguments being overwritten, it may be difficult to know what the existing Gamescope arguments actually are without some hacky implementation. The overwriting shouldn't be too much of an issue overall for most users, once the Gamescope issue is fixed.
Much appreciated for looking out for those of us on Wayland! 😄
Sounds good to me as well 🙂 I actually did end up finding the comment that said the
Oh wow I just tried it and that is cool! Thanks for the tip! From the overarching issues with yad here, I'm definitely inclined to agree that fixing this is likely at least unreasonably challenging and unnecessary given the development costs. I'm not sure if I should close this issue or not, so I'll leave that up to you :) |
After you have already fixed it anyway, I think this can be closed here :) On the other hand, I think this issue explains for the first time, why the steamtinkerlaunch gui is structured and "complicated" as it currently is. |
Problem
If you pass a custom argument to Gamescope from the Game Menu and then edit some options in the Gamescope menu, the custom Gamescope arguments get overwritten by only the flags selected in the Gamescope UI. Normally, this wouldn't really be a problem, as those that edit Gamescope options probably aren't going to use the Gamescope menu anyway, so it would be a relatively minor issue.
Real world use-case
What makes this slightly less of a minor issue is a bug with Gamescope and Proton 7.0 (ValveSoftware/gamescope#438, ValveSoftware/gamescope#420) that can be resolved by passing the
-e
flag. This flag is for "Steam integration," though there is not meant to be a reason for a user to use this flag as far as I know (I saw it from someone on the Gamescope project, but I can't find the comment now). The bug also affects GE releases of Proton.The official description of the flag in
gamescope --help
is as follows:It is probably not really the responsibility of a project like SteamTinkerLaunch to manage working around bugs in upstream like this. Trying to solve this specific issue has a few challenges too:
-e
breaks non-Steam games-e
silently may work fine for Steam games for now, but its behaviour may change in the future, so passing it even silently may be a problem-e
in the Gamescope menu may be confusing, because the behaviour may change in the future while for now it is used to workaround a bugPotential Solutions
With this use-case out of the way, my main reason for creating this issue is to at least document that SteamTinkerLaunch currently overwrites any custom Gamescope arguments once the Gamescope UI is used and "Done" is clicked (triggering an update of the Gamescope arguments).
Fixing this may be challenging, but I see a few possibilities:
-e
argument could also be mentioned. I could update the wiki to include this information as I'm already working on updating the Gamescope wiki 🙂I'm no expert with the technologies used here, Gamescope or STL, so there could be a much simpler solution to this. I'm just outlining the problem and potential fixes I could come up with hopefully to help development 😄
The text was updated successfully, but these errors were encountered: