Zettlr / Zettlr

Your One-Stop Publication Workbench
https://www.zettlr.com
GNU General Public License v3.0
10.4k stars 640 forks source link

Tables extremely unstable #5471

Open Mikael-Lovqvist opened 3 weeks ago

Mikael-Lovqvist commented 3 weeks ago

Description

When you create a table, the first problem is that you get one column too few in the view. Then when you select the table you get the correct number of cells but now all content is cleared!

Reproducing

  1. Create a table of some size, here we do 3 columns, 2 rows. image

  2. Put some content into it image

  3. Select it and it all poofs out of existence image

Undo/Redo will not bring it back.

Zettlr version

3.2.2 (Tested on Linux), 3.2.3 (Tested on Windows)

Installation Method

Other (please specify below)

Installation Method (Other)

Arch Linux repository (not AUR)

Your Platform

Architecture

Operating System Version

Arch Linux using kernel 6.6.57-1-lts Windows 10 Professional

Additional Information

Repeating logspam on Linux (never checked stdout/stderr on Windows):

(electron:1587749): GLib-GIO-CRITICAL **: 22:20:01.539: GFileInfo created without standard::is-hidden

(electron:1587749): GLib-GIO-CRITICAL **: 22:20:01.539: file ../glib/gio/gfileinfo.c: line 1632 (g_file_info_get_is_hidden): should not be reached
boring-cyborg[bot] commented 3 weeks ago

Thanks so much for opening up your first issue here on the repository! 🎉 We would like to warmly welcome you to the community behind the app! ☺️ We'll check in soon and have a look at your issue. In the meantime, you can check your issue and make sure it aligns with our contribution guidelines! Here's the comprehensive list:

NOTE: Please do not share screen captures of buggy behavior on YouTube. If you have uploaded a video on YouTube and linked it already, don't worry! But, we would like to ask you to remove the video from YouTube and upload it directly to GitHub instead, by editing your comment. Read more here.

Enhancements

An enhancement takes a feature and improves or alters its behaviour. Please make sure to argue how your proposition will aid non-technical text workers, and why it can't be emulated easily with other features or apps!

Feature requests

Feature requests introduce whole new features into the app. This requires a lot of work, so these might be turned down if the implementation costs supersede the benefits we expect to see from implementing it. Please do not be disappointed if that happens. It likely has nothing to do with your great request but simply with us and our missing resources!

You can of course always ask someone to implement this feature, because a PR with a working new feature has much higher chances of being merged! :)

Bug reports

Please note that one of the main reasons for why bug reports cannot be addressed is that there's not enough information for us to find and fix the bug you describe, so make sure you try to pinpoint the bug as close as possible.

The ideal bug report for us has two qualities:

  1. The bug is always reproducible, at least within a certain context.
  2. We know exactly what specifically goes wrong, and there is consensus on what should happen instead.

Please note that if you encounter behaviour that does not align with your expectations of what would happen, this might as well be simply intended behaviour and we need to simply clarify why the behaviour is the way it is. This is not to be considered a bug and such issues may be closed! Suggest an enhancement instead!

But now, have a great day and thank you again!

nathanlesage commented 2 weeks ago

Zero surprise here. If you had checked the issue tracker you would know that we are aware the table editor currently sucks. There is a PR open that will fix these issues, but it takes time because we want the new version of it to work properly.

Mikael-Lovqvist commented 2 weeks ago

If you had checked the issue tracker you would know that we are aware the table editor currently sucks.

I am sorry, I was only able to find a closed issue from 2020 that stated it was fixed, why I decided to open a new issue. Hopefully someone will link to the relevant issues/pr's in case anyone else is having this same issue and is as bad as finding the relevant information as myself.

nathanlesage commented 2 weeks ago

This is the relevant PR: https://github.com/Zettlr/Zettlr/pull/5243