Window resize issues in GTK3 build

Bug #1011332 reported by ScislaC
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

The main Inkscape window is much wider than it should be and various interactions with the application (even moving the cursor around the interface), cause the size to grow.

Not sure if related, but there are a lot of these warnings show up in the console as well:

(inkscape:9591): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.33.1/./gobject/gsignal.c:2455: signal `size_request' is invalid for instance `0x373b3f0'

Tags: gtk3 ui
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

These should be fairly easy to address. Instead of connecting to the "size-request" signal, we should use the gtk_widget_set_size_request function. See [1] for an example

[1] https://mail.gnome.org/archives/commits-list/2011-January/msg11082.html

Changed in inkscape:
status: New → Triaged
importance: Undecided → Medium
tags: added: gtk3-regression
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Another window-width issue might come from the redesign of the GtkSpinButton widget to use a much wider "touchscreen friendly" horizontal layout.[2]

[2] https://bugzilla.gnome.org/show_bug.cgi?id=663359

tags: added: ui
Revision history for this message
su_v (suv-lp) wrote :

> The main Inkscape window is much wider than it should be and
> various interactions with the application (even moving the
> cursor around the interface), cause the size to grow.

AFAICT this is triggered by the messages in the status bar (the random resizing - increase of the window width - doesn't happen when the status bar is hidden).

If the currently displayed message in the status bar is very short, the window width can be reduced, only to be increased whenever the message is replaced with a longer one.

Revision history for this message
su_v (suv-lp) wrote :

> Another window-width issue might come from the
> redesign of the GtkSpinButton widget

This seems to cause absurd minimal widths for some of the docked dialogs (e.g. 'Object > Transform…).

Unclear to me yet what forces the minimal width of the 'Layers…' dialog to be much larger than needed.

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

I guess we may need to redesign some dialogs and toolbars to reduce the width. If we place GtkSpinButtons in a vertical layout, it would probably be neater.

Any thoughts?

Revision history for this message
su_v (suv-lp) wrote :

> I guess we may need to redesign some dialogs and toolbars to reduce the width. (…)
>
> Any thoughts?

Redesign proposals probably better be tracked in separate reports (yes, I do have the same first impression - unless GTK3 will offer a compact version of the spinbuttons, several elements of Inkscape's GUI might need to be redesigned).

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

> unless GTK3 will offer a compact version of the spinbuttons

I don't think this is the case, unfortunately. In fact, as I understand it, one of the main design goals for GTK+ 3 was touchscreen/tablet support. As such, the tiny up/down controls on spinbuttons were replaced by large, "proddable" +/- controls.

So, yes, I guess we should redesign accordingly!

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Fixed statusbar resize issue in lp:inkscape r11497. We should open follow-up reports for individual dialogs that are demanding too much space.

Changed in inkscape:
status: Triaged → Fix Released
tags: added: gtk3
removed: gtk3-regression
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.