GNOME Bugzilla – Bug 151115
Improve the text widget and text handling in Dia
Last modified: 2019-03-20 11:13:40 UTC
Gnumeric has a very nice text widget along arrows/buttons/etc. Please consider reusing it for the Text tool instead of the current one.
*** Bug 151116 has been marked as a duplicate of this bug. ***
Lars had some plans to improve the text input widgets but there doesn't seem to be a specific bug report tracking it. However whether or not he chooses to use Gnumeric is entirely up to him.
I want to clear out some of the Unconfirmed bug reports. There is not any other generic bug reports about the need for an improved text widget so I am going to remove the specific implementation suggestion from the summary (reuse Gnumeric widget) and mark this as a New enhancement request.
*** Bug 337746 has been marked as a duplicate of this bug. ***
(In reply to comment #4) > *** Bug 337746 has been marked as a duplicate of this bug. *** > I'll take a whack at it sure :)
*** Bug 439846 has been marked as a duplicate of this bug. ***
Update: Current SVN implements a "text-edit" mode. See http://live.gnome.org/Dia/CurrentDevelopment for details on what's missing.
(In reply to comment #7) > Update: Current SVN implements a "text-edit" mode. See > http://live.gnome.org/Dia/CurrentDevelopment for details on what's missing. > Do current changes also fix following bugs in 0.96.1? * Pressing ESC in Text editor displays square character * Pressing Delete deletes whole Text editor
"Text edit mode is left by pressing Esc or [...]" (from the link above) and bug #115549 e.g. from http://bugzilla.gnome.org/buglist.cgi?product=dia&target_milestone=0.97&resolution=FIXED
*** Bug 584130 has been marked as a duplicate of this bug. ***
Single-clicking on an already existing object does not do anything. How about making that enter text edit mode with the cursor set where the click is?
It already behaves that way in 0.97, but you need to click and hold the mouse button for some time. Instant entering of the edit mode would IMO interfer badly with intended move
FYI retrieved additional comments from bug 439846: * can't use delete key * can't use shift+arrows to select parts of the entered text for cut/paste * can't paste text from Gedit * can't paste text using middle mouse button * can't highlight text using mouse Also, there is no right-click context menu when editing text in Dia.
Yes, these are all things that would better be fixed by doing the text editing by dropping a widget on top of the diagram. Trying to make the current hack of a text editing system replicate all the standard GTK editing features is a fool's errand. The text edit mode was intended to clear the way for this by making the points where the widget would come and go be explicit. Thus I would suggest the only things done in this area, other than actually getting the widget in there, are those that deal with how you enter and leave text edit mode. I actually once did a brief experiment with putting a widget in (a GtkTextView, I think), and it was no biggie to place it there, but getting it to come and go correctly turned out to be difficult, so I went for the above approach. Unfortunately, my motivation for hacking on Dia disappeared before I got to the final part of this change. Just so you know the background.
*** Bug 680654 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/113.