penpot icon indicating copy to clipboard operation
penpot copied to clipboard

bug: The Text components are showing only the first character sometimes

Open jota0222 opened this issue 7 months ago • 1 comments

Steps To Reproduce

I cannot reproduce it manually in new files, but it occured with a file I have been working on for like 2 months now.

At least, after copying a text component from the one with the problem to a new file, I can show you a (non) working example.

  1. Import this Penpot (test hidden text.zip)
  2. Try to edit the texts
  3. See what happens

Expected behavior

All the string should be shown in all the Text components

Actual behavior

Only the ones in the board named "Working" work, For the board named "Not Working" the text components show only the fist character of the text, and do it for each linebreak they have.

Screenshots or video

imagen

Desktop (please complete the following information)

OS: Linux Debian 10 Browser: Developer edition 129.0b2 (64-bit)

Smartphone (please complete the following information)

No response

Environment (please complete the following information)

https://design.penpot.app

Frontend Stack Trace

Console output after editing:

La cookie “dmn_chk_0190a42c-2cc2-72c2-92b2-3cd92703ee58” ha sido rechazada por un dominio no válido. storage.ts:52:8
Advertencias de cookies 7
[PLUGINS] Loading plugin system index.js:7856:9
Removing unpermitted intrinsics index.js:1970:41
INF [app.main] message="Welcome to penpot", version="2.1.0-13942-gff43d4302", asserts=false, build-date="Wed, 10 Jul 2024 05:45:35 +0000", public-uri="https://design.penpot.app/" impl.cljc:102:17
TRC [app.main.features] hint="initialized features", team="", runtime="" impl.cljc:102:17
INF [app.util.i18n] hint="locale changed", locale="es" index.js:103:25
DBG [app.main.data.workspace] hint="initialize-file", file-id=#uuid "352e9fc6-6a46-8154-8004-a44a96e57f57" index.js:103:25
TRC [app.main.features] hint="initialized features", team="", runtime="" index.js:103:25
INF [app.worker.impl] hint="configure worker", key=:public-uri, val="https://design.penpot.app/" impl.cljc:102:17
INF [app.rasterizer] hint="initialized", public-uri="https://design.penpot.app/", parent-uri="https://design.penpot.app/" impl.cljc:102:17
TRC [app.main.features] hint="initialized features", team="layout/grid,styles/v2,components/v2,fdata/shape-data-type", runtime="" index.js:103:25
Error en el mapeo fuente: Error: request failed with status 404
URL del recurso: https://design.penpot.app/plugins-runtime/index.js
URL del mapa fuente: index.js.map
DBG [app.main.data.changes] hint="update-indexes", page-id=#uuid "352e9fc6-6a46-8154-8004-a44997994076", changes=1 index.js:103:25
DBG [app.main.data.changes] hint="update-indexes", page-id=#uuid "352e9fc6-6a46-8154-8004-a44997994076", changes=1 index.js:103:25

Backend Stack Trace

No response

Additional context

Probably a regression since it appeared recently and the version 2.1 of Penpot was just released.

This broke a project I was working on for long time, so please solve this so I don't lose that work.

jota0222 avatar Jul 11 '24 23:07 jota0222