Skip to content

Conversation

@lpranam
Copy link
Member

@lpranam lpranam commented Jan 4, 2026

problem:
referring #document-canvas as object here
in Dekstop object.width and object.style.width are same but in tablet both are different and in these calculations later one is correct

Change-Id: I959e8d1e0f7e89ea82b1eba9cdf5ddb675f8c869

  • Target version: main

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

problem:
referring #document-canvas as object here
in Dekstop object.width and object.style.width are same
but in tablet both are different and in these calculations
later one is correct

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I959e8d1e0f7e89ea82b1eba9cdf5ddb675f8c869
@lpranam
Copy link
Member Author

lpranam commented Jan 4, 2026

test.odt

It would be preffered that this PR is tested on a read tablet. In browser's responsive mode I had some DPI issue with caused comment width to be incorrect in section property but dev tools showed correct width which is weird.

inshort before changing all the DPI equestion it would be nice to see how this works on a real tablet.

Things to note here is when comment is selected it should just get fully into view and not stick to the commented word or overlap it.

@github-project-automation github-project-automation bot moved this from To Review to To Test in Collabora Online Jan 7, 2026
@caolanm caolanm merged commit e011bad into CollaboraOnline:main Jan 7, 2026
13 of 14 checks passed
@github-project-automation github-project-automation bot moved this from To Test to Done in Collabora Online Jan 7, 2026
@lpranam lpranam deleted the tablet_comment branch January 7, 2026 14:48
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.

2 participants