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 604624 - Set Focus on the dragged object after a DnD operation
Set Focus on the dragged object after a DnD operation
Status: RESOLVED DUPLICATE of bug 586060
Product: dia
Classification: Other
Component: general
0.97
Other Linux
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-15 15:57 UTC by Ulli Hafner
Modified: 2014-03-02 16:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ulli Hafner 2009-12-15 15:57:09 UTC
I'm not sure if this is a general gnome problem or related to dia:

1. Start dia with --interactive flag
2. Create a new object by dragging it from the toolbar to the diagram
3. dia creates the new object
4. dia shows the text cursor in the object - but the object is not focused!

I.e. I can't type now and change the text, I first need to focus the dragged object with a mouse click. It would be nice if the created object could be focused automatically by dia.
Comment 1 Hans Breuer 2009-12-15 22:17:42 UTC
there is no --interactive command line parameter, I guess you are talking of --integrated; but the issue is reproduceable for me even without running integrated UI - even on win32.
For the non-integrated GUI this would be fixable by calling 
  gtk_window_present (GTK_WINDOW(ddisp->shell));
in
  display_data_received_callback()
But this seems not to work for the integrated case.
Comment 2 Hans Breuer 2014-03-02 16:38:59 UTC
Apparently this is is gone since fixing bug 586060

*** This bug has been marked as a duplicate of bug 586060 ***