zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
3.67k stars 202 forks source link

BUG: Text elements cut off, size changes #1858

Open Grumpey102 opened 4 days ago

Grumpey102 commented 4 days ago

Help me help you. I am a one man show doing this plugin as a part time hobby. There is no point in flooding me with issues, if there are too many, and they are poorly documented, I will just ignore them. Sorry...

Before creating a bug report, please

  1. review recent release notes - maybe there is already an answer,
  2. search issues (including closed ones) to see if there is anything similar.

⚠️ I will have to close all recorded bugs that do not provide this background information. Sorry, I need to control my workload/time. ⚠️

I did not find similar issues searching for open issues with "bug" and "text".


Your environment

    Obsidian version: v1.6.5
    Installer version: v1.4.13
    Operating system: Windows 10 Pro 10.0.19045
    Login status: logged in
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Base theme: light
    Community theme: none
    Snippets enabled: 0
    Restricted mode: off
    Plugins installed: 22
    Plugins enabled: 22
        1: Calendar v1.5.10
        2: Tag Wrangler v0.6.1
        3: Editor Syntax Highlight v0.1.3
        4: Emoji Shortcodes v2.2.0
        5: Callout Manager v1.1.0
        6: Advanced Tables v0.21.0
        7: TimeStamper v1.3.0
        8: Link with alias v1.0.8
        9: Image Toolkit v1.4.1
        10: Mousewheel Image zoom v1.0.22
        11: Clear Unused Images v1.1.0
        12: Attachment Manager v1.2.2
        13: Convert url to preview (iframe) v0.5.0
        14: Number Headings v1.16.0
        15: Highlightr v1.2.2
        16: Graph Analysis v0.15.4
        17: Wikipedia Search v2.5.1
        18: Rich Links v1.2.0
        19: Review Notes Plugin v1.1.1
        20: Editing Toolbar v2.4.16
        21: Excalidraw v2.2.7
        22: Dataview v0.5.67

Context I am using Excalidraw to basically summarize the world of a certain anime that I like. For that I use rectangles with a text element for a title, include a picture of a character and either use another text element as description text OR use the text feature of the rectangle itself. The latter I found out accidentally so I only started using that later in making the drawing. Anyway, I group all the elements together so that I have one element as a profile of a character, with arrows going from and to it in relation to things happening in the anime world. I also saw it happening with the text element "inside" an arrow.

The Bug When I close out of obsidian everything looks fine. When I start it up again, some profiles look like this: wrRRT52

Yes, I do know, that it's "resistance", and if you watch the animation I made, then you see what happened: t1WogMu

So what I'm doing in the animation is the following:

  1. I double click on the text element insindie the group to select the element. You can already see that it's not as big as it should be.
  2. I double click on the element again in order to get into the text edit mode. I don't have to edit anything or press any other key. The Text element recognizes itself, that it should be bigger, and resizes accordingly.

After that, everything is fine and when I go and select the text element again like I did in the first step of the animation above, everything looks like it's supposed to. BPj8crH

To Reproduce Steps to reproduce the behavior:

I have absolutely no idea how to reproduce this. I also have no file that currently has this issue, but I can update this issue, as soon as I have one.