Skip to content

Conversation

@banobepascal
Copy link
Contributor

@banobepascal banobepascal commented Nov 4, 2025

Change-Id: I7059c81ff35b975176b0ee65af7e0293b4973810

  • Resolves: #
  • Target version: master

Summary

  • Unotoolbuttons with labels had varying heights across browsers, leading to misaligned toolbar elements. This change enforces a consistent height using --notebookbar-element-height and centers their content, ensuring uniform alignment in both Chrome and Safari.

PREVIEWS

SAFARI
Screenshot 2025-11-04 at 14 34 55

Screenshot 2025-11-04 at 14 35 43 Screenshot 2025-11-04 at 14 36 10

CHROME
image

image image
  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

@github-project-automation github-project-automation bot moved this to To Review in Collabora Online Nov 4, 2025
@banobepascal banobepascal force-pushed the private/banobepascal/notebookbar-alginments-safari branch from 56310b3 to 07b143b Compare November 4, 2025 08:44
Copy link
Contributor

@pedropintosilva pedropintosilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please split changes into different commits, 1 for revert and 2nd for the new changes. Also please explain why we are reverting and also why the new changes are needed.

WRT this specific PR and the problem with the vertical alignments in Safari: If adjusting the height solves it for Safari then it seems to me that one or more elements are inheriting different css properties (such as box-sizing, border, line-height and possible some of the flex properties)

Also it would be good to avoid px otherwise the elements do not get scaled up/down depending on the user's zoom

@github-project-automation github-project-automation bot moved this from To Review to In Progress in Collabora Online Nov 4, 2025
@banobepascal banobepascal force-pushed the private/banobepascal/notebookbar-alginments-safari branch 2 times, most recently from cdc69b2 to b481d49 Compare November 4, 2025 11:32
-Unotoolbuttons with labels had varying heights across browsers, leading to
 misaligned toolbar elements. This change enforces a consistent height using
 `--notebookbar-element-height` and centers their content, ensuring uniform
 alignment in both Chrome and Safari.

Signed-off-by: Banobe Pascal <[email protected]>
Change-Id: Ibf2e25eefcc23f12bf52d5eb396837f6affbb15b
@banobepascal banobepascal force-pushed the private/banobepascal/notebookbar-alginments-safari branch from b481d49 to 4f1775d Compare November 4, 2025 12:37
@pedropintosilva pedropintosilva self-requested a review November 10, 2025 14:20
Copy link
Contributor

@pedropintosilva pedropintosilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested this and it seems ok:

With this commit
Image
Image
Without this commit
Image

I have also checked .unoBezier_Unfilled and yes it seems you are correct , it's not in use

@github-project-automation github-project-automation bot moved this from In Progress to To Test in Collabora Online Nov 10, 2025
@pedropintosilva
Copy link
Contributor

@banobepascal can you pasted ipad screenshots or did you test on ipad?

@pedropintosilva pedropintosilva self-requested a review November 10, 2025 14:43
@pedropintosilva
Copy link
Contributor

I think this might affect negatively ipad:
image

@banobepascal
Copy link
Contributor Author

@banobepascal can you pasted ipad screenshots or did you test on ipad?

WITH THIS COMMIT ON IPAD

Screenshot 2025-11-11 at 01 03 29 Screenshot 2025-11-11 at 01 04 08 Screenshot 2025-11-11 at 01 04 54

@pedropintosilva
Copy link
Contributor

my screenshot is from iOS 26 yours is from iOS 18, could you please re-test it with iOS 18?

@timar
Copy link
Member

timar commented Nov 11, 2025

When you are fully happy with this PR, and merge it to master, please backport to distro/collabora/co-25.04 as well.

@banobepascal
Copy link
Contributor Author

my screenshot is from iOS 26 yours is from iOS 18, could you please re-test it with iOS 18?

IPAD PRo WITH IOS 26 BRANDED
WhatsApp Image 2025-11-12 at 17 56 38 (1)
WhatsApp Image 2025-11-12 at 17 56 38
WhatsApp Image 2025-11-12 at 17 56 38 (2)

IPAD PRo WITH IOS 26 UNBRANDED
WhatsApp Image 2025-11-12 at 17 47 57
WhatsApp Image 2025-11-12 at 17 46 27 (2)
WhatsApp Image 2025-11-12 at 17 46 27 (1)
WhatsApp Image 2025-11-12 at 17 46 27

@pedropintosilva pedropintosilva merged commit 3c85ea0 into master Nov 12, 2025
14 checks passed
@pedropintosilva pedropintosilva deleted the private/banobepascal/notebookbar-alginments-safari branch November 12, 2025 15:03
@github-project-automation github-project-automation bot moved this from To Test to Done in Collabora Online Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants