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

Can’t view messages on unfolded OnePlus Open #3593

Open
link2xt opened this issue Feb 11, 2025 · 8 comments
Open

Can’t view messages on unfolded OnePlus Open #3593

link2xt opened this issue Feb 11, 2025 · 8 comments
Labels

Comments

@link2xt
Copy link
Contributor

link2xt commented Feb 11, 2025

Actual issue is reported here https://support.delta.chat/t/cant-view-messages-on-unfolded-oneplus-open/3564

Probably can be reproduced with an emulator?

@link2xt link2xt added the bug label Feb 11, 2025
@adbenitez
Copy link
Member

this is not a bug report but a feature request, the user wants to see the "chat history" not the "message history" it is about having a similar UI to desktop with the chat list visible at the same time as opened chat in tablets or unfoldable devices

currently we don't have support for such landscape layouts, and going back to the chat list is just the same as in normal phone, just not as convenient as it could be with the available screen space

closing here as this is a feature request and it is fine it is in the forum for now until we decide to prioritize this enhancement, which will not happen soon as there are other more important things to work on and this is a minor "nice to have" in the future

@adbenitez adbenitez closed this as not planned Won't fix, can't repro, duplicate, stale Feb 11, 2025
@adbenitez adbenitez added feature proposal feature proposals go to https://support.delta.chat and removed bug labels Feb 11, 2025
@link2xt link2xt reopened this Feb 11, 2025
@link2xt
Copy link
Contributor Author

link2xt commented Feb 11, 2025

See second message on the forum, it is a bugreport as the messages are in the chat but not displayed when unfolded.

@link2xt link2xt added bug and removed feature proposal feature proposals go to https://support.delta.chat labels Feb 11, 2025
@link2xt
Copy link
Contributor Author

link2xt commented Feb 11, 2025

Andorid emulator supports foldable screens, so this can be tested:
https://developer.android.com/codelabs/android-window-manager-dual-screen-foldables

@adbenitez
Copy link
Member

I tried in the emulator in a Pixel Fold android 14, the chat is displayed as expected, to be honest I don't see how could it even happen that it disappears just because it is a fold-able device, it is just wider screen which is already true for tablets and landscape mode. The user is using Android 15, would need to download android 15 image and retry, right now in a slow unstable connection and downloading fails

Image

@link2xt
Copy link
Contributor Author

link2xt commented Feb 11, 2025

it is just wider screen which is already true for tablets and landscape mode

The difference is that this is essentially a screen with dimensions changing in runtime, maybe there are different constants for "screen width now" and "maximum screen width" etc. and the messages are somehow moved off-screen.

Maybe also try rotating the screen if it's possible in the emulator, so fold line is horizontal.

@adbenitez
Copy link
Member

I don't think so, user also said that opening the chat with the phone already unfolded was causing the problem

I tried in the emulator, rotating, closing, half-opening, and opening, all works as expected:

Image

@adbenitez
Copy link
Member

tried in emulator with android 15, also not happening :(

@link2xt
Copy link
Contributor Author

link2xt commented Feb 12, 2025

Copying from the forum topic, the issue in the logs is

View : RecyclerView not displayed because it is too large to fit into a software layer (or drawing cache), needs 18071424 bytes, only 11088576 available

The issue is probably not even related to foldable phones, you need a large screen and low video memory device.

Searching for this error finds other developers having similar issues e.g. here
expo/expo#2171

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

No branches or pull requests

2 participants