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 144997 - "Snap to Grid" Option Requires File to be Reloaded Before Taking Effect
"Snap to Grid" Option Requires File to be Reloaded Before Taking Effect
Status: RESOLVED DUPLICATE of bug 154404
Product: dia
Classification: Other
Component: general
0.92.2
Other All
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-25 20:38 UTC by Jean de Florette
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean de Florette 2004-06-25 20:38:14 UTC
What happens:
I am editing a diagram in Dia, and I go to File->Preferences->Grid Lines.  I
then click on the "Snap to" check box to either turn on or off the "Snap to
Grid" feature.  This feature does not take effect until I close and reload the
file that  I am currently working on.

What should happen:
The state change should occur upon clicking "OK" or "Apply":

Additional information:
I have seen this occur in Dia 0.91 on MIT's POSIX Athena network and 0.92.2
under Windows XP SP1a.

While seemingly minor, this error really makes editing diagrams difficult.  I
usually do most diagramming with "Snap to Grid" on and then switch back and
forth at the end in order to fine-tune the diagram.  This makes editing a real pain.
Comment 1 Lars Clausen 2004-06-26 12:43:03 UTC
Instead of going into preferences, toggle it in the diagram menu (View->Snap to
Grid).

This option should go out of the preferences, really.
Comment 2 Jean de Florette 2004-06-28 14:16:42 UTC
Ah.  Now I understand how the preferences option works.  I make this suggestion
instead.  Rather than removing the item, have the text of the "Snap To" item be
changed to "Turn on snap to grid when creating and opening diagrams?"  Since
that check box currently adjusts the "Snap to Grid" option on the opening and
creating of diagrams, there should be no functional code change.

I know that I would appreciate being able to open all documents in "Snap to
Grid" mode since I do the majority of my diagramming with that option on.  The
toggle button on the status bar then gives me all the flexibility that I need to
change between the two modes.
Comment 3 Marius Andreiana 2004-11-10 12:25:05 UTC
I think the current situation is clear.
But the preference isn't saved:

1. start dia 0.9.4
2. Check box File - Preferences - Grid Lines - snap to
3. press ok, close dia
4. start dia again, box is unchecked.
Comment 4 Lars Clausen 2004-11-13 10:21:18 UTC
This appears to be a sideeffect of #154404, which is fixed in CVS.

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