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 655858 - gtk3 fallout
gtk3 fallout
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Compilation
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on: 656461 657037 659317 660155
Blocks:
 
 
Reported: 2011-08-02 23:38 UTC by Morten Welinder
Modified: 2012-09-29 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Broken toolbars (29.42 KB, image/png)
2011-08-03 01:25 UTC, Morten Welinder
Details
The toolbars are just fine for me. (64.03 KB, image/png)
2011-08-03 06:07 UTC, Andreas J. Guelzow
Details
screen shot showing autofilter combo (6.76 KB, image/png)
2011-08-08 17:12 UTC, Andreas J. Guelzow
Details
The way sheet tabs are currently displayed (2.75 KB, image/png)
2011-08-13 14:28 UTC, Jean Bréfort
Details
screenshot of the size dialog (51.49 KB, image/png)
2011-08-19 07:48 UTC, Andreas J. Guelzow
Details

Description Morten Welinder 2011-08-02 23:38:44 UTC
In file included from ../../src/wbc-gtk.h:8:0,
                 from gnm-solver.h:8,
                 from gnm-solver.c:10:
../../src/widgets/gnumeric-expr-entry.h:72:10: error: expected declaration specifiers or ‘...’ before ‘GtkUpdateType’
Comment 1 Morten Welinder 2011-08-02 23:45:03 UTC
never mind comment 1.  keeping open because there surely is fallout.
Comment 2 Morten Welinder 2011-08-02 23:52:52 UTC
All toolbars are broken for me.  I see a drop-down button, but the rest
is grey and empty.

If I browse the menu by clicking on the drop-down button, certain actions
fire unprovoked -- such as font size and font name.
Comment 3 Andreas J. Guelzow 2011-08-03 00:57:18 UTC
toolbars should be fixed now. So is the warning spew when opening the manage-sheet dialog
Comment 4 Andreas J. Guelzow 2011-08-03 01:05:11 UTC
A pretty serious issue is that clicking on the sheet tab freezes Gnumeric.
Comment 5 Andreas J. Guelzow 2011-08-03 01:06:31 UTC
I have previously seen the unprovoked firing of toolbar items that ended up in the menu but I can't find the bug report nor can I replicate it.
Comment 6 Morten Welinder 2011-08-03 01:25:23 UTC
Created attachment 193120 [details]
Broken toolbars

The toolbars I see.
Comment 7 Andreas J. Guelzow 2011-08-03 01:30:31 UTC
My toolbars are perfectly fine...
Comment 8 Andreas J. Guelzow 2011-08-03 01:31:45 UTC
Clicking on the sheet tab doesn't freeze for me anymore (but editing the label is also disabled).
Comment 9 Andreas J. Guelzow 2011-08-03 02:15:02 UTC
Hmm, your picture of your toolbars doesn't show the toolbar drag region either. Is there a preference to show the drag regions of toolbars?
Comment 10 Jean Bréfort 2011-08-03 05:48:17 UTC
some widgets in the toolbars probably have size issues.
Comment 11 Andreas J. Guelzow 2011-08-03 06:07:22 UTC
Created attachment 193126 [details]
The toolbars are just fine for me.

Something else must be going on since for me the toolbars look fine.
Comment 12 Jean Bréfort 2011-08-03 06:14:41 UTC
They look fine for me too, but we don't use the same theme, which might explain the difference.
Comment 13 Jean Bréfort 2011-08-03 06:16:58 UTC
Hmm, I was wrong, they don't look fine anymore after updating. Some recent change broke things for me.
Comment 14 Andreas J. Guelzow 2011-08-03 07:05:06 UTC
Morten, your toolbars should work if you turn on the /desktop/gnome/interface/toolbar-detachable gconf key.
Comment 15 Jean Bréfort 2011-08-03 07:10:03 UTC
The toolbars issue should be fixed now, please check.

Another pending issue is that GnmNotebook grows so that all tabs are visible,
try with samples/chart-tests.gnumeric
Comment 16 Morten Welinder 2011-08-03 12:45:19 UTC
toolbars confirmed fixed for me.
Comment 17 Andreas J. Guelzow 2011-08-04 06:26:25 UTC
something happened to the about dialog...
Comment 18 Andreas J. Guelzow 2011-08-04 06:28:06 UTC
Regarding the growing of GnmNotebook so that all tabs are visible: if you change the slider to force scolling than adding more sheets does not enlarge the notebook anymore.
Comment 19 Jean Bréfort 2011-08-04 08:14:54 UTC
GnmNotebook and dialog-about fixed.
Comment 20 Morten Welinder 2011-08-04 15:44:43 UTC
Pressing the open-file button gives me about 20 of these:

(/home/welinder/gnome-src/gnumeric/src/.libs/gnumeric:13215): GLib-GObject-WARNING **: gsignal.c:2275: signal `deactivate' is invalid for instance `0x11ebd60'
Comment 21 Jean Bréfort 2011-08-04 16:46:18 UTC
'deactivate' signal removed.
Comment 22 Andreas J. Guelzow 2011-08-04 17:37:24 UTC
GnmNotebook does not seem to be fixed:

new gnumeric
add a sheet

the gnumeric window just increased in width. That should not happen!
Comment 23 Andreas J. Guelzow 2011-08-04 17:38:57 UTC
Also the status region (to the right of the tabs) does not show status updates.
Comment 24 Andreas J. Guelzow 2011-08-04 17:44:19 UTC
new gnumeric
start typing =n
the tooltip appears at the wrong location. It should be below the entrybox.
Comment 25 Andreas J. Guelzow 2011-08-04 19:50:55 UTC
Editing of the tab label can now be ended by a mouse click. We are nearly at the state as before the gtk3 transition except:
We do not recognize that the mouse click was in the widget and so also stop editing if the user clicks in the widget while editing.
Comment 26 Andreas J. Guelzow 2011-08-08 17:12:17 UTC
Created attachment 193429 [details]
screen shot showing autofilter combo

The autofilter combos are much too large!
Comment 27 Andreas J. Guelzow 2011-08-08 17:17:38 UTC
The layout of the top-10 autofilter dialog is messed up.
Comment 28 Jean Bréfort 2011-08-08 17:18:31 UTC
Not only that, autofilter combo is not correctly positioned and does not resize on zooming.
Comment 29 Andreas J. Guelzow 2011-08-08 18:00:03 UTC
The autofilter combo never used to resize on zooming (and I am not even sure that it should)
Comment 30 Jean Bréfort 2011-08-08 18:26:43 UTC
If they don't resize, they can have the correct size for only one zoom level, weird.
Comment 31 Andreas J. Guelzow 2011-08-08 19:16:34 UTC
Whenever I open the _second_ file (any second file) in Gnuemric, I get a large number of 

(gnumeric:24326): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 31 and height -5
Comment 32 Andreas J. Guelzow 2011-08-08 19:19:15 UTC
A back trace for 
(gnumeric:24326): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 31 and height -5


Breakpoint 1, 0xb726af34 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
(gdb) bt
  • #0 g_log
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #1 gtk_widget_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkwidget.c line 4809
  • #2 gtk_menu_item_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkmenuitem.c line 1490
  • #3 gtk_image_menu_item_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkimagemenuitem.c line 552
  • #4 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #5 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #6 g_closure_invoke
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #7 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #9 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #10 gtk_widget_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkwidget.c line 4878
  • #11 gtk_menu_bar_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkmenubar.c line 549
  • #12 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #13 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #14 g_closure_invoke
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #15 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #17 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #18 gtk_widget_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkwidget.c line 4878
  • #19 gtk_box_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkbox.c line 656
  • #20 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #21 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #22 g_closure_invoke
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #23 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #24 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #25 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #26 gtk_widget_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkwidget.c line 4878
  • #27 gtk_box_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkbox.c line 656
  • #28 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #30 g_closure_invoke
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #31 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #32 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #33 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #34 gtk_widget_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkwidget.c line 4878
  • #35 gtk_window_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkwindow.c line 5270
  • #36 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #37 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #38 g_closure_invoke
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #39 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #40 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #41 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #42 gtk_widget_size_allocate
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkwidget.c line 4878
  • #43 gtk_window_show
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkwindow.c line 4621
  • #44 g_cclosure_marshal_VOID__VOID
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #45 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #46 g_closure_invoke
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #47 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #48 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #49 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #50 gtk_widget_show
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkwidget.c line 3910
  • #51 show_gui
    at wbc-gtk.c line 2604
  • #52 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #53 g_main_context_dispatch
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #54 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #55 g_main_loop_run
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #56 gtk_main
    at /build/buildd/gtk+3.0-3.0.8/./gtk/gtkmain.c line 1358
  • #57 main
    at main-application.c line 406

Comment 33 Jean Bréfort 2011-08-08 19:25:46 UTC
I can't reproduce that, which gtk+ version? I have 3.0.12
Comment 34 Andreas J. Guelzow 2011-08-08 20:08:33 UTC
I am using gtk 3.0.8. Note that these warnings occur for me when opening the second file from within Gnumeric.
Comment 35 Jean Bréfort 2011-08-08 20:12:55 UTC
I opened up to 4 files from within gnumeric and get no warning at all.
Comment 36 Andreas J. Guelzow 2011-08-09 03:55:55 UTC
Hmm, the zoom dialog barely fits onto my monitor.
Comment 37 Jean Bréfort 2011-08-09 05:09:25 UTC
zoom dialog fixed.
Comment 38 Morten Welinder 2011-08-11 18:25:48 UTC
GnmNotebook styling fixed.  (This is distinct from the paned sizing code
which is still broken and disconnected.)
Comment 39 Andreas J. Guelzow 2011-08-11 19:16:39 UTC
The page setup dialog is badly broken. Selecting File->Pagesetup results in "Unknown internal child: entry" and no dialog.
Comment 40 Jean Bréfort 2011-08-11 20:00:47 UTC
Don't know what happened with page setup dialog. Just opened tue ui file with glade and saved, and things work again.
Comment 41 Andreas J. Guelzow 2011-08-11 20:19:23 UTC
hmm, in the pagesetup dialog:  alignment issue with the orientation buttons, spacing with the scale buttons,  extra space on the top of the header/footer page and sheet page, spacing of items on pagearea page.

Probably easily fixed but if I do that we have Gtk[VH]Box back.
Comment 42 Andreas J. Guelzow 2011-08-11 21:44:46 UTC
function tooltip location fixed
Comment 43 Morten Welinder 2011-08-11 23:39:17 UTC
On a sheet where negative numbers are in red, I am seeing non-negative
numbers sometimes turn red too.  I'll see if I can create a small sample.
Comment 44 Morten Welinder 2011-08-12 15:22:58 UTC
Sticky-red formats problem fixed in goffice.
Comment 45 Jean Bréfort 2011-08-13 14:28:57 UTC
Created attachment 193768 [details]
The way sheet tabs are currently displayed

I could display the backgound colors with a hack (setting the state to active when drawing), but this is not a solution. The issue is that if the theme uses an image as background (here a gradient), gtk_widget_overide_bakcground_color has no effect. This is a gtk bug IMHO, but they might consider it a feature.
Comment 46 Jean Bréfort 2011-08-13 14:51:32 UTC
Filed #656461 for the override_background_color issue.
Comment 47 Andreas J. Guelzow 2011-08-19 06:39:19 UTC
The sheet resize dialog has spacing issues and the dialog grows as the column or row numbers are enlarged.
Comment 48 Jean Bréfort 2011-08-19 07:34:36 UTC
Either I can't reproduce the resize dialog issues or I'm not looking at the right place. Can you provide screenshots?
Comment 49 Andreas J. Guelzow 2011-08-19 07:48:23 UTC
Created attachment 194192 [details]
screenshot of the size dialog

By default I use 128 rows and columns. When I increase the number of rows the dialog becomes wider (as the number takes up more space).
Comment 50 Jean Bréfort 2011-08-19 18:34:38 UTC
Please try again. Not sure it's fixed.
Comment 51 Andreas J. Guelzow 2011-08-19 19:15:15 UTC
The spacing is much better. The dialog still grows slightly and the words "Rows" "Columns" jump forth and back as the length of the numbers changes. Any stationary screen shot looks good though! :-)
Comment 52 Jean Bréfort 2011-08-21 13:21:09 UTC
I investigated the autofilter combo size issue. The problem is that GtkWidgets can't anymore be shrinked (a new feature!), and the minimum height for this widget seems to be 25 pixels (for me) while we require less than that.
Analog issues occur with sheet widgets, they can't be made lower than what gtk+ wants, so they often extend outside of the requested area.

Btw, it would be sane to not add a lot more comments to this bug, if new issues are found, I believe it's better to open new bugs and make this one depends on them.
Comment 53 Jean Bréfort 2011-09-05 16:03:34 UTC
(In reply to comment #26)
> Created an attachment (id=193429) [details]
> screen shot showing autofilter combo
> 
> The autofilter combos are much too large!

This is now fixed.
Comment 54 Morten Welinder 2012-09-29 20:47:11 UTC
I think we're done here.  If not, please file separate bugs for open
issues of this nature.