flathub / io.mrarm.mcpelauncher

https://flathub.org/apps/details/io.mrarm.mcpelauncher
28 stars 5 forks source link

Blackscreen with qtwebengine (Google and Microsoft login page) #3

Open ChristopherHX opened 4 years ago

ChristopherHX commented 4 years ago

Current workaround for raspbian. The mesa drivers for the Raspberry Pi VC4 GPU seems to cause trouble. This also happen with qtwebengine from offical debian 10 repos, raspbian has no qtwebengine

sudo flatpak override --env=QT_QUICK_BACKEND=software io.mrarm.mcpelauncher

Defining it within the finish-args would disable gpu acceleration even for x86, x86_64 or arm pc with better drivers which has no such errors.

RokeJulianLockhart commented 2 years ago

Why does it not merely invoke the default browser, as most software does?

ChristopherHX commented 2 years ago

How would you do that? It would obviously shrink the binary size of the whole app.

By most software you probably mean other sign in pages, which don't aim to prevent logins from webbrowsers for third party apps.

Yes it is possible if you open the F12 Console and do some hacks, but thats not feasible for the average user.

Websecurity make it almost impossible to automate a normal browser session with injected js code https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Browser extensions have the problem, that every Browser have a different addon system and you need to install it.

RokeJulianLockhart commented 2 years ago

@ChristopherHX, https://auth0.com/docs/authenticate/login/universal-vs-embedded-login#:~:text=With%20Universal%20Login,the%20calling%20app.

What I have described is not unusual, yet you appear to believe that it is not solely that, but infeasible. That is usually untrue, especially because services similar to facebook.com have disabled authentication via embedded browsers.