brave / brave-ios

Brave iOS Browser
https://brave.com
Mozilla Public License 2.0
1.7k stars 440 forks source link

[Follow up to #8705] Brave is crashing when opening `View all version info.` while in `Landscape` mode and then switching to `Portrait` mode #8752

Closed hffvld closed 9 months ago

hffvld commented 9 months ago

Description:

Follow-up to #8705

Steps to Reproduce

  1. Install and launch Brave 1.62 (24.2.8.16)
  2. Three-dot menu > Settings
  3. Rotate the iPhone to Landscape mode
  4. About > Tap Version... > Tap View all version info.
  5. Rotate the iPhone to Portrait mode > Observe Brave is crashing
  6. Launch Brave again
  7. Repeat Steps 2 - 5 but this time do it in Portrait mode and then rotate the device to Landscape mode
  8. Observe Brave is freezing and View all version info. page is not aligned

Actual result:

Observe 3 issues here when going through the same steps:

  1. Brave is crashing when opening View all version info. while in Landscape mode and then switching to Portrait mode.
  2. Brave is freezing when opening View all version info. while in Portrait mode and then switching to Landscape mode.
  3. View all version info. is not properly aligned when opening while in Portrait mode and then switching to Landscape mode.

Brave crash

https://github.com/brave/brave-ios/assets/128532965/348e1cb3-af3c-4603-a31d-cbd20f6369a3

Brave freeze

https://github.com/brave/brave-ios/assets/128532965/38e8e1c3-5f47-41f1-8eaf-c8c3e9a57d86

Expected result:

Brave must not crash or freeze.

Reproduces how often: [Easily reproduced, Intermittent Issue]

Easily reproduced

Brave Version:

Brave build: 1.62 (24.2.8.16)
BraveCore: 1.62.158 (121.0.6167.139)

Device details:

iPhone 14 / iOS 17.4 Beta

Website problems only:

Additional Information

soner-yuksel commented 9 months ago

Transferred to https://github.com/brave/brave-browser/issues/36098