After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 151115 - Improve the text widget and text handling in Dia
Improve the text widget and text handling in Dia
Status: RESOLVED OBSOLETE
Product: dia
Classification: Other
Component: general
CVS head
Other All
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
: 151116 337746 439846 584130 680654 (view as bug list)
Depends on:
Blocks: 155273 166821
 
 
Reported: 2004-08-26 11:09 UTC by Alexandre Prokoudine
Modified: 2019-03-20 11:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexandre Prokoudine 2004-08-26 11:09:09 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.
Comment 1 Paolo Borelli 2004-08-26 13:56:48 UTC
*** Bug 151116 has been marked as a duplicate of this bug. ***
Comment 2 Alan Horkan 2004-08-26 16:15:57 UTC
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.  
Comment 3 Alan Horkan 2005-05-07 13:38:16 UTC
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.  
Comment 4 Hans Breuer 2006-04-08 21:49:50 UTC
*** Bug 337746 has been marked as a duplicate of this bug. ***
Comment 5 Phil 2006-04-08 22:35:15 UTC
(In reply to comment #4)
> *** Bug 337746 has been marked as a duplicate of this bug. ***
> 

I'll take a whack at it sure :)
Comment 6 Hans Breuer 2007-09-08 20:21:04 UTC
*** Bug 439846 has been marked as a duplicate of this bug. ***
Comment 7 Lars Clausen 2007-10-27 12:06:50 UTC
Update: Current SVN implements a "text-edit" mode.  See http://live.gnome.org/Dia/CurrentDevelopment for details on what's missing.
Comment 8 Priit Laes (IRC: plaes) 2008-10-27 17:19:55 UTC
(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
Comment 9 Hans Breuer 2008-10-27 21:14:08 UTC
"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
Comment 10 Hans Breuer 2009-05-30 17:18:59 UTC
*** Bug 584130 has been marked as a duplicate of this bug. ***
Comment 11 Lars Clausen 2010-10-21 11:30:25 UTC
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?
Comment 12 Hans Breuer 2010-10-21 18:49:04 UTC
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
Comment 13 John Pye 2010-10-21 23:25:03 UTC
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.
Comment 14 Lars Clausen 2010-10-22 02:37:30 UTC
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.
Comment 15 Hans Breuer 2014-03-02 14:14:25 UTC
*** Bug 680654 has been marked as a duplicate of this bug. ***
Comment 16 GNOME Infrastructure Team 2019-03-20 11:13:40 UTC
-- 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.