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

Second screen not hidden when an app is open on dual screen phone #2115

Open
terminal-cs opened this issue Nov 11, 2022 · 5 comments
Open

Second screen not hidden when an app is open on dual screen phone #2115

terminal-cs opened this issue Nov 11, 2022 · 5 comments
Assignees
Labels
blocked We're waiting for an external party to fix/support this bug Something isn't working low priority Unlikely to be implemented in the near future

Comments

@terminal-cs
Copy link

Describe the bug

When hiding one panel, the two sides are merged correctly, but if an app is opened on one panel, the two sides aren't merged and the launcher thinks both sides should still be displayed.

Steps to reproduce

Open an app on a dual screen device

Does the issue also occur with other 3rd-party launchers?

Problem doesn't occur with other launchers

Other 3rd-party launcher(s) tested

No response

Device name

Microsoft surface duo

Android version

Android 11

Screenshots / Screen recordings

Couldn't add

@terminal-cs terminal-cs added the bug Something isn't working label Nov 11, 2022
@8bitPit 8bitPit assigned Amorphous404 and unassigned Oddward Dec 13, 2022
@ArcticZeroo
Copy link

ArcticZeroo commented Jun 29, 2023

+1 to this issue, I have to switch back to the Microsoft launcher on my Duo 2, Niagra is unfortunately unusable on it.

The issue does occur on other 3rd-party launchers though, because none of them support the Duo properly.

@Amorphous404
Copy link

Hello,

We regret to inform you that we cannot solve this issue, as it primarily depends on Microsoft to provide enhanced support. Our development team has already made a request to Microsoft for an API that would enable third-party launchers to utilize the Duo screens effectively. Unfortunately, it is disheartening to report that Microsoft has shown no significant interest in addressing this concern. As a result, we don't expect we'll be able to address this issue anytime soon.

See: Add callback to check what part of home screen is occluded #36

@Amorphous404 Amorphous404 added the blocked We're waiting for an external party to fix/support this label Jun 29, 2023
@terminal-cs
Copy link
Author

lol company moment

Hello,

We regret to inform you that we cannot solve this issue, as it primarily depends on Microsoft to provide enhanced support. Our development team has already made a request to Microsoft for an API that would enable third-party launchers to utilize the Duo screens effectively. Unfortunately, it is disheartening to report that Microsoft has shown no significant interest in addressing this concern. As a result, we don't expect we'll be able to address this issue anytime soon.

See: Add callback to check what part of home screen is occluded #36

@ArcticZeroo
Copy link

ArcticZeroo commented Jun 29, 2023

@Amorphous404 thanks for the info. Based on that issue, priorities just shifted, it wasn't deemed infeasible.

It's probably not worth it to pull in an entire device-specific SDK just for duo devices (although I can assure you that a lot of Duo owners would switch to a 3P launcher if they could), but just curious if the Surface Duo SDK provides this type of functionality: https://learn.microsoft.com/en-us/dual-screen/android/api-reference/display-mask?tabs=kotlin (I'm not sure if DisplayMask's bounding rect changes when the home screen is only on one screen since it is technically still rendering both sides in the background).

If that's not feasible, and the team is interested in supporting this device, I can try to reach out internally (disclaimer: I work on outlook, not anything near surface/duo) to see if there's any API that 3P launchers should be using. Please let me know if that would be desired.

@terminal-cs
Copy link
Author

I don't work with android, but I wonder if it would be possible to check the home screen "window size", if that even exists on Android for activities. I don't own a working surface anymore, so I wouldn't be able to test unfortunately.

@8bitPit 8bitPit added the low priority Unlikely to be implemented in the near future label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked We're waiting for an external party to fix/support this bug Something isn't working low priority Unlikely to be implemented in the near future
Projects
None yet
Development

No branches or pull requests

6 participants