Skip to content
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

Chosen App gets FULLSCREENed on first launch in window mode #1

Open
N-U-ser opened this issue Oct 3, 2024 · 7 comments
Open

Chosen App gets FULLSCREENed on first launch in window mode #1

N-U-ser opened this issue Oct 3, 2024 · 7 comments

Comments

@N-U-ser
Copy link

N-U-ser commented Oct 3, 2024

When opening app for first time (Not in recents),This happens---

Screenshot_2024-10-03-11-03-17-193_dev legendsayantan extendroid
2)
Screenshot_2024-10-03-11-03-18-875_com rs explorer filemanager
3)
Screenshot_2024-10-03-11-03-24-747_com rs explorer filemanager
4) Then the appears as an endless abyss and can be moved
Screenshot_2024-10-03-11-03-33-231_com rs explorer filemanager

But after first try, meaning when above process is done it and the window is closed using cross ui button and app remains in recents ,then On Subsequent launches of the App in window mode work successfully

Screenshot_2024-10-03-11-03-42-163_com miui home
6)
Screenshot_2024-10-03-11-03-50-901_dev legendsayantan extendroid
7)
Screenshot_2024-10-03-11-03-57-847_com rs explorer filemanager
8)
Screenshot_2024-10-03-11-04-05-174_com rs explorer filemanager

The app should launch on first try. The Mi-freeform app (https://github.com/sunshine0523/Mi-Freeform/releases/download/v2.5.18/app-release.apk) has a toggle to fix this issue in settings , you could look into that app ,don't know if it might help.

@N-U-ser
Copy link
Author

N-U-ser commented Oct 3, 2024

By the way, Love your ShizuTools (Tasker intent shell) , also i was just thinking about shizuku could be used to make non-root sound-assistant similarly the way RootlessJamesdsp works and then i found out you made SoundMaster.But Only SoundMaster is not loading app list in my phone.I will raise the issue in ShizuTools thread, i would appreciate it if you check that out.

@N-U-ser
Copy link
Author

N-U-ser commented Oct 3, 2024

Further details about device:-

Android 13
Miui 14

@legendsayantan
Copy link
Owner

Does the "Attempt Forced start" toggle improve your situation?

As for shizutools, I did check the issue and made some little tweaks in the code which might be helpful. you can try the dev build to confirm.

@N-U-ser
Copy link
Author

N-U-ser commented Oct 4, 2024

In all, when "Attempt Forced start" option is turned on, chosen app never opens successfully.Even on second attempt and the "Retry launch" doesn't make any change.

Here is how it happens :-

Screenshot_2024-10-04-09-48-27-897_dev legendsayantan extendroid
2)
Screenshot_2024-10-04-09-48-40-021_dev legendsayantan extendroid

And sometimes on first try and always on second try it launches in Splitscreen mode:-

Screenshot_2024-10-04-09-49-10-342_com rs explorer filemanager
2)
Screenshot_2024-10-04-09-49-13-635_com rs explorer filemanager

And in this situation, on the next attempt, app chooser window can open in the floating window overlay

Screenshot_2024-10-04-09-51-42-038_dev legendsayantan extendroid

@N-U-ser
Copy link
Author

N-U-ser commented Oct 4, 2024

Just looked at how Mi-Freeform acts with/without the stabilizer option enabled.And it is acting the same way Extendroid is behaving (While "Attempt Forced start" is disabled).

You should look into Mi-Freeform code (Method) , if its available (Open source/Public?).

This is its Stabilizer option i am talking about. The one at the top.
Screenshot_2024-10-04-11-11-59-936_com sunshine freeform

When i turned off the option and attempted to launch app the first time, it poped out of floating window and became Fullscreened.
1)
Screenshot_2024-10-04-11-12-46-427_com rs explorer filemanager
2)
Screenshot_2024-10-04-11-12-48-094_com rs explorer filemanager
3)
Screenshot_2024-10-04-11-13-07-486_com rs explorer filemanager

And when i tried to launch it in floating window second time, while not removing it from recents, it launched successfully.
1)
Screenshot_2024-10-04-11-13-19-114_com rs explorer filemanager

This is the behavior when the Stabilizer option is off.
But when it is on, Apps always launch successfully and on the first attempt.

@N-U-ser
Copy link
Author

N-U-ser commented Oct 4, 2024

Relevant Links

Link for Mi-Freeform github page
https://github.com/sunshine0523/Mi-Freeform

Version 2.5.18
https://github.com/sunshine0523/Mi-Freeform/releases/download/v2.5.18/app-release.apk

This was the last Non-Root/Shizuku App Version and the version that i have on my device.

@legendsayantan
Copy link
Owner

Will check those out once I have the opportunity, Thanks for doing all those research!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants