Describe the bug
Changing screen orientation in Tab view and opening new tabs makes the whole UI quite messy.
Steps to reproduce the behavior:
Screenshots


Environment
Also, once this starts, the only way to fix it is to restart the app. Closing the tabs does not help as the new tabs still open in a specific orientation.
@siddharth2010 I'd like to work on this issue.
Sure. Go ahead!
I'm working on this. I'll make a PR soon.
@siddharth2010 @abdulwd The solution for this that I've figured out is that on screen rotation to landscape, the tab overview should show all tabs in landscape mode and vice versa on screen rotation to portrait. But the issue I'm facing is that on screen rotation to landscape, in tab overview, it only shows tabs in landscape when a new tab is created and then it messes up the UI. It doesn't works for the tabs that were created previously in portrait.
@iadeelzafar Brother, if you are not working, can I work on this?
@abdulwd Could you assign this to me?
@sonusourav I am working on this but I need some directions. See my comment above.
There are two ways to show the tabs in the tabs overview screen:
layout_height and layout_width of the WebView to a smaller size when the list of tabs is visible and when you select a tab you again have to change them back to full.We are using the first approach, so you have to try the second one in order to get this working for landscape. It is easier said than done. If anything is unclear feel free to ping me.
@abdulwd Thanks for writing. I really appreciate this. I'm looking forward to fixing this issue :)
Due to some family commitments, I am not able to give time to this ticket. @sonusourav You may proceed with working on this. The directions above will be really helpful for you. Good Luck!
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
So basically now, there are two cases:
|different orientations|Same orientations with diffferent aspect ratio|
|:-:|:-:|
|
|
|
Most helpful comment
@sonusourav I am working on this but I need some directions. See my comment above.