Bug 158307 - Android Viewer: Formula bar in Calc partially cut off with large font size (Accessibility)
Summary: Android Viewer: Formula bar in Calc partially cut off with large font size (A...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
7.6.3.2 release
Hardware: All Android
: medium normal
Assignee: Michael Weghorn
URL:
Whiteboard: target:24.2.0 target:7.6.4
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-22 00:01 UTC by Kira Tubo
Modified: 2023-11-23 10:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Largest font size on Google Pixel 6 (323.54 KB, image/png)
2023-11-22 00:01 UTC, Kira Tubo
Details
Formula bar using largest font size (323.54 KB, image/png)
2023-11-22 00:03 UTC, Kira Tubo
Details
Screenshot - edit to calc file using Formula bar (119.83 KB, image/png)
2023-11-22 07:38 UTC, Kira Tubo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kira Tubo 2023-11-22 00:01:12 UTC
Description:
In edit mode, if a cell is selected, the formula bar is partially cut off if the user has set up a larger font size in the device system's Accessibility settings. 

Steps to Reproduce:
Prerequisite: Adjust device's global font size via Settings app (Accessibility > Display size and text > set up font size to largest font available)
1. Open Android Viewer
2. Tap on 3 dot menu > Settings
3. Enable "Experimental Mode"
4. Swipe back to return to previous page
5. Open any Calc ods file
6. Tap on any cell

Actual Results:
The formula bar is not fully visible when the device's font size is enlarged. The cell position and formula text is partially cut off from the top. This occurs for largest and 2nd largest font size. 

Expected Results:
Formula bar should be fully visible (this includes the cell position and actual formula) when the device's font size is enlarged. 


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.3.2.0+
Build ID: 0e982fe4db35
Device: Google Pixel 6
Android version: 13
Display size: 6.4-inch
Resolution: 1080 x 2400 pixels, 20:9 ratio
Comment 1 Kira Tubo 2023-11-22 00:01:55 UTC Comment hidden (obsolete)
Comment 2 Kira Tubo 2023-11-22 00:03:11 UTC
Created attachment 190952 [details]
Formula bar using largest font size
Comment 3 Kira Tubo 2023-11-22 07:38:39 UTC Comment hidden (obsolete, wrong-file-upload)
Comment 4 Michael Weghorn 2023-11-22 08:11:49 UTC
Reproducible with:

Version: 24.2.0.0.alpha0+
Build ID: 42edec63fba4
Comment 5 Michael Weghorn 2023-11-22 08:31:17 UTC
Pending fix:
https://gerrit.libreoffice.org/c/core/+/159809
Comment 6 Commit Notification 2023-11-22 14:37:26 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/abed55b1ea7f04a0a522d54e369d170a71045cd5

tdf#158307 android a11y: Auto-detect toolbar height

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2023-11-23 10:40:16 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/b5013b9d79270522d8b121258496373abe5f2d45

tdf#158307 android a11y: Auto-detect toolbar height

It will be available in 7.6.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.