GNOME Bugzilla – Bug 539476
Text not shown after numpad Enter key
Last modified: 2008-09-20 13:11:34 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.
2008-09-20 Hans Breuer <hans@breuer.org> * lib/text.c : also accept GDK_KP_Enter to ccreate a new line. Fixes bug #539476