NEW: grouping a single object

In previous versions, Inkscape didn't allow you to group a single object. Yet in some cases, this operation is useful (for example, to blur the clipped edged of an object). So now this limitation is removed.
Let me know if you find any problem with this. The only "problem" I'm aware of is that now, if you press and hold Ctrl+G, you will end up with a very deeply grouped object :)

----- Original Message ----- From: "bulia byak"
In previous versions, Inkscape didn't allow you to group a single object. Yet in some cases, this operation is useful (for example, to blur the clipped edged of an object). So now this limitation is removed.
Let me know if you find any problem with this. The only "problem" I'm aware of is that now, if you press and hold Ctrl+G, you will end up with a very deeply grouped object :)
Maybe for these cases there is sence to introduce an "ungroup all" function? This could be useful when ungrouping a large group of smaller groups, or when ungrouping a single "deeply" groupped object. Some time ago a filled a request about this (RFE# 1418223). Corel draw has a similar function, and it's a real time saver.
Molumen

On 2/12/07, momo <momo@...1386...> wrote:
Maybe for these cases there is sence to introduce an "ungroup all" function?
Well, if this was caused by pressing and holding Ctrl+G, then just press and hold Ctrl+U to fix it :)
Although I won't object if someone implements the "ungroup all" verb.

----- Original Message ----- From: "bulia byak" <buliabyak@...400...> To: "momo" <momo@...1386...> Cc: inkscape-devel@lists.sourceforge.net Sent: Monday, February 12, 2007 4:35 PM Subject: Re: [Inkscape-devel] NEW: grouping a single object
On 2/12/07, momo <momo@...1386...> wrote:
Maybe for these cases there is sence to introduce an "ungroup all" function?
Well, if this was caused by pressing and holding Ctrl+G, then just press and hold Ctrl+U to fix it :)
True... I didn't think of in it that opposite way... :)
Molumen

Hello guys,
I can't run a svn build of inkscape without a crash at startup since several weeks. I'm compiling and running Inkscape under Ubuntu Edge. Can someone tell me what's going wrong?
Here is the console log:
(inkscape:20268): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkContainer'
(inkscape:20268): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
Emergency save activated! Emergency save completed. Inkscape will close now.
thanx, Ronan

On Tue, Feb 13, 2007 at 08:02:59PM +0100, Ronan Zeegers wrote:
Hello guys,
I can't run a svn build of inkscape without a crash at startup since several weeks. I'm compiling and running Inkscape under Ubuntu Edge. Can someone tell me what's going wrong?
Here is the console log:
(inkscape:20268): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkContainer'
(inkscape:20268): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
Emergency save activated! Emergency save completed. Inkscape will close now.
It's very hard to say without more information. A backtrace might help, see our Reporting Bugs page for more information.
Most crashes at start on Linux are due to mismatched libraries, so without knowing anything more, that'd be my guess. See:
http://wiki.inkscape.org/wiki/index.php/FAQ#On_Linux.2C_Inkscape_crashes_wit...
Bryce

Bryce Harrington wrote:
On Tue, Feb 13, 2007 at 08:02:59PM +0100, Ronan Zeegers wrote:
Hello guys,
I can't run a svn build of inkscape without a crash at startup since several weeks. I'm compiling and running Inkscape under Ubuntu Edge. Can someone tell me what's going wrong?
Here is the console log:
(inkscape:20268): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkContainer'
(inkscape:20268): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
Emergency save activated! Emergency save completed. Inkscape will close now.
It's very hard to say without more information. A backtrace might help, see our Reporting Bugs page for more information.
Most crashes at start on Linux are due to mismatched libraries, so without knowing anything more, that'd be my guess. See:
http://wiki.inkscape.org/wiki/index.php/FAQ#On_Linux.2C_Inkscape_crashes_wit...
Bryce
Yep, it's probably a lib version problem. But shouldn't ./configure operation tell me what lib I should use?
Here is the backtrace from gdb: ----------------- ** (inkscape:31832): CRITICAL **: Inkscape::XML::Document* sp_repr_read_file(const gchar*, const gchar*): assertion `Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )' failed
** (inkscape:31832): WARNING **: Unable to read keys file /usr/local/share/inkscape/keys/default.xml Unable to find: org.inkscape.help.manual Unable to find: org.inkscape.help.commandline Unable to find: org.inkscape.help.faq Unable to find: org.inkscape.help.relnotes Unable to find: org.inkscape.help.reportabug Unable to find: org.inkscape.help.svgspec
(inkscape:31832): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkContainer'
(inkscape:31832): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1225025872 (LWP 31832)] 0x08084daa in sp_ui_menu_item_set_name (action=0x8660c08, name=@0xbfe28bb8, data=0x881cee0) at interface.cpp:1322 1322 name.c_str()); -----------------
Ronan

On Mon, Feb 19, 2007 at 12:14:40AM +0100, Ronan Zeegers wrote:
Bryce Harrington wrote:
On Tue, Feb 13, 2007 at 08:02:59PM +0100, Ronan Zeegers wrote:
Here is the console log:
(inkscape:20268): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkContainer'
(inkscape:20268): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
Emergency save activated! Emergency save completed. Inkscape will close now.
Here is the backtrace from gdb:
** (inkscape:31832): CRITICAL **: Inkscape::XML::Document* sp_repr_read_file(const gchar*, const gchar*): assertion `Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )' failed
** (inkscape:31832): WARNING **: Unable to read keys file /usr/local/share/inkscape/keys/default.xml Unable to find: org.inkscape.help.manual Unable to find: org.inkscape.help.commandline ...
Ah, I ran into a series of errors similar to this yesterday. It was solved by simply doing a 'make install'. The Inkscape that comes with your distro installs things to /usr/share instead of /usr/local/share, but when you compile it from svn, it defaults to /usr/local/share.
If you don't wish to install it to /usr/local/, you can control this via the --prefix option to ./configure.
Bryce

bulia byak wrote:
In previous versions, Inkscape didn't allow you to group a single object. Yet in some cases, this operation is useful (for example, to blur the clipped edged of an object). So now this limitation is removed.
Let me know if you find any problem with this. The only "problem" I'm aware of is that now, if you press and hold Ctrl+G, you will end up with a very deeply grouped object :)
Would it be possible to only listen to the key up or key down message? It doesn't seem to make sense to want group repeatedly in this way and only listening to key up or key down would prevent accidentaly creating such deeply grouped objects without being inconvenient (normally people probably wouldn't even notice).

On 2/13/07, Jasper van de Gronde <th.v.d.gronde@...528...> wrote:
Would it be possible to only listen to the key up or key down message? It doesn't seem to make sense to want group repeatedly in this way and only listening to key up or key down would prevent accidentaly creating such deeply grouped objects without being inconvenient (normally people probably wouldn't even notice).
That's an interesting idea, although it sounds a bit like "GTK hacking." Which I prefer to avoid as much as possible in order to lower the contact surface area with this buggy monster. But if we do that, we'll have to sort all our verbs into those that allow autorepetition (such as keyboard move) and those that do not.
participants (5)
-
Bryce Harrington
-
bulia byak
-
Jasper van de Gronde
-
momo
-
Ronan Zeegers