Skip to content

[Bug] Font attributes not transferred when slide is duplicated or text copied #1422

@sparrowme

Description

@sparrowme

Describe the bug

The font spacing/kerning of bold text is not transferred when slide is duplicated or text is copied and pasted into a new slide.

To Reproduce

  1. Paste text from an external source.
  2. Bold a portion of the text in the text object.
  3. Duplicate slide in the sidebar or copy the text object
  4. Duplicated slide / pasted text object does not match original

Expected behavior

Duplicated slides should be exact copies.

Actual behavior

When duplicating the slide, it appears to loose some of the original text font attributes. This also occurs if a text object is copied directly and pasted into a new slide. Bold text seems be a kerning/spacing issue. The x,y location also appears to be off when pasting (separate issue?).

Screenshots

Note the difference in the bold text in the upper left.
Image
Font height and spacing is different on new slide of bold text.
Image

Image

Additional resources

PDF, images, sounds... anything useful to reproduce the bug

Context

  • reproducibility : systematic
  • OpenBoard version :
    • bug happens with : 1.7.x... 1.7.5
    • didn't check : any others
  • OS :
    • bug happens with : Linux
    • didn't check : Windows macOS
  • Installation source : build
  • If you built OpenBoard from source, please provide the branch you're working on : master

Additional context

  • OS(es) detailed version (for the ones you reproduced the bug on)
    • Linux : 22.04.05 LTS
  • number and resolution of monitors : 3
  • if used, manufacturer and model of graphic tablet input device :

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions