Closed Bug 1866653 Opened 1 year ago Closed 1 year ago

tabs are too wide in grid view on Samsung Z-fold 3

Categories

(Fenix :: Tabs, defect, P3)

Firefox 121
All
Android
defect

Tracking

(firefox122 verified)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- verified

People

(Reporter: ianfinleyhome, Assigned: 007)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Android 13; Mobile; rv:121.0) Gecko/121.0 Firefox/121.0

Steps to reproduce:

Using Firefox Beta for Android [121.0b3 (Build #2015987799), 29156d3ce8+
GV: 121.0-20231124091512
AS: 121.0] (this is a brand new problem as of the update installed last night)
On a Verizon Samsung Z-fold 3 using the outer screen (with the phone folded) set tab view to Grid, then view the open tabs

Actual results:

Tabs appear in one stretched and distorted column(See attached screenshot).

Expected results:

Tabs should still appear in two columns, or grid mode should allow me to customize the number of columns on my device. With only one column, this is just a worse version of list view. When using the larger inner screen, tabs still appear in three columns, which is a useful width.

Blocks: 1852822

Hey :ianfinleyhome, thanks for filing this bug. We just enabled a UI rewrite for the Tabs Tray in Beta, so it's possible you're seeing a bug related to that.

To help with debugging, what happens in the following scenarios:

  • Start unfolded (inner screen) -> Open the tabs tray
  • Start unfolded (inner screen) -> Open the tabs tray -> Fold to the use the outer screen
  • Start folded (outer screen) -> Open the tabs tray -> Unfold to use the inner screen
  • Start folded (outer screen) -> Open the tabs tray -> Rotate the device to landscape
Flags: needinfo?(ianfinleyhome)

(In reply to Noah Bond [:007] from comment #1)

Hey :ianfinleyhome, thanks for filing this bug. We just enabled a UI rewrite for the Tabs Tray in Beta, so it's possible you're seeing a bug related to that.

To help with debugging, what happens in the following scenarios:

  • Start unfolded (inner screen) -> Open the tabs tray
  • Start unfolded (inner screen) -> Open the tabs tray -> Fold to the use the outer screen
  • Start folded (outer screen) -> Open the tabs tray -> Unfold to use the inner screen
  • Start folded (outer screen) -> Open the tabs tray -> Rotate the device to landscape

In order:

  • The tab grid is 3 columns wide, as expected.
  • The tab grid changes to 1 stretched column as soon as the screen changes to the outer one
  • The tab grid changes back to 3 columns as soon as the screen changes back to the inner screen (though I noticed a couple frames of some kind of animation playing, it seemed, as the tabs shifted into place)
  • The tabs shifted into a 4 column arrangement as I changed the outer screen into landscape mode, which seems like a reasonable and useful number of columns for that display mode.
Flags: needinfo?(ianfinleyhome)

OK cool. So it sounds like the bug is isolated to just to the unfolded, portrait configuration then. Thanks for the quick response with the info!!

I have a hypothesis of what the culprit is after doing some quick investigation. I think we're doing the math for determining the number of columns a little differently after the rewrite and not enforcing a two-column minimum.

I may not get a fix candidate out this week, as I'm going on PTO soon, but this comment thread will be notified as soon as a pull request is out for review!

Thanks again for your help!

Assignee: nobody → nbond
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch

Verified as fixed on the latest Nightly 122.0a1 from 8.12.2023 with Samsung GalaxyZ Fold 4 (Android 13).

Flags: qe-verify+
See Also: → 1870793
Duplicate of this bug: 1850711
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: