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 539476 - Text not shown after numpad Enter key
Text not shown after numpad Enter key
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
devel
Other All
: Normal minor
: 0.97
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-21 15:47 UTC by Leon Stringer
Modified: 2008-09-20 13:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Leon Stringer 2008-06-21 15:47:22 UTC
Please describe the problem:
If you add a Text object to a diagram and press the numpad enter key to start a new line, the following text is not shown. However, the text is printed, with a large vertical gap between the two lines.

Steps to reproduce:
1. Create a new diagram and add a Text object.
2. Type text into the text object, press the Enter key on the number pad and type some more text, e.g. type "ABC", then <Numpad Enter>, then "DEF".
3. Press Escape to leave edit mode.
4. Print the diagram (or just export a PostScript file).

Actual results:
The diagram on screen only shows "ABC". The printed digram shows "ABC" and "DEF" with a large vertical gap between them.

Expected results:
The on-screen and printed diagram to show:
  ABC
  DEF
The same as when the normal/main Enter key is pressed.

Does this happen every time?
Yes.

Other information:
When the text object is clicked on the status bar shows it as 'ABC[000D]DEF' where [000D] is shown as the hex of an unprintable character.
Comment 1 Hans Breuer 2008-09-20 13:11:34 UTC
2008-09-20  Hans Breuer  <hans@breuer.org>

	* lib/text.c : also accept GDK_KP_Enter to ccreate a new line. 
	Fixes bug #539476