Bug 1373152 - meld: Gtk warnings
Summary: meld: Gtk warnings
Keywords:
Status: CLOSED DUPLICATE of bug 1488249
Alias: None
Product: Fedora
Classification: Fedora
Component: meld
Version: 25
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-05 11:17 UTC by Jeremy Harris
Modified: 2018-04-04 15:48 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:18:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jeremy Harris 2016-09-05 11:17:59 UTC
Description of problem:
  On scrolling the comparison, a stream of GTK errors is output to the terminal
where meld was started.  Presumably sterr.


Version-Release number of selected component (if applicable):
 meld 3.16.2


How reproducible:
  100%


Steps to Reproduce:
1. start a 2-way file compare, in background from a terminal
2. scroll down by mouse-grab of the right-hand slider gadget
3.

Actual results:
repeated lines on terminal:
(meld:7157): Gtk-WARNING **: Allocating size to GtkVBox 0x560705026ba0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?



Expected results:
No warnings output

Comment 1 Jeremy Harris 2016-09-07 09:08:10 UTC
Similar seen from wireshark:

(wireshark:12542): Gtk-WARNING **: Allocating size to GtkWindow 0x55c10312f2e0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

[note GtkWindow rather than GtkVBox]
Possibly a Gtk library internal bug rather than the applications?

Comment 2 Patrice B 2016-09-23 08:02:38 UTC
I get the same problem with meld. It also prevents jump to "Previous change" "Next change" to work correctly.

Comment 3 Patrice B 2016-09-23 12:22:04 UTC
I create this bug in meld bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=771878

Comment 4 Patrice B 2016-09-25 15:07:35 UTC
The bug I created was a duplicate of this one:

https://bugzilla.gnome.org/show_bug.cgi?id=769705

Following is a patch that solves the problem, at least for me:

https://bugzilla.gnome.org/attachment.cgi?id=335456&action=diff

Comment 5 Jakub Jelen 2017-02-14 09:04:23 UTC
ping. Getting awful lot of similar warnings in Fedora 25:

(meld:18252): Gtk-WARNING **: Failed to measure available space: The specified location is not supported

[...]

(meld:18252): Gtk-WARNING **: Allocating size to DiffMap 0x55f7779d07b0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

Any expected time to have this fixed?

Version:
meld-3.16.4-2.fc25.noarch

Comment 6 markusN 2017-05-02 06:08:40 UTC
(In reply to Jakub Jelen from comment #5)
> ping. Getting awful lot of similar warnings in Fedora 25:
> 
> (meld:18252): Gtk-WARNING **: Failed to measure available space: The
> specified location is not supported
> 
> [...]
> 
> (meld:18252): Gtk-WARNING **: Allocating size to DiffMap 0x55f7779d07b0
> without calling gtk_widget_get_preferred_width/height(). How does the code
> know the size to allocate?
> 
> Any expected time to have this fixed?

The change which is reported in the upstream report
https://bugzilla.gnome.org/attachment.cgi?id=335456&action=diff

appears to be included in meld-3.16.4-4.fc25.noarch

Still I also get these messages.

(Un)related I found this GTK fix:
https://github.com/GNOME/gtk/commit/ddcf47026dbbe58dca3b34c7bb1ec63bb50a861a

Comment 7 Fedora End Of Life 2017-11-16 19:48:30 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-12-12 10:18:08 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Peter Lemenkov 2018-04-04 15:48:38 UTC
(In reply to Jeremy Harris from comment #1)
> Similar seen from wireshark:
> 
> (wireshark:12542): Gtk-WARNING **: Allocating size to GtkWindow
> 0x55c10312f2e0 without calling gtk_widget_get_preferred_width/height(). How
> does the code know the size to allocate?
> 
> [note GtkWindow rather than GtkVBox]
> Possibly a Gtk library internal bug rather than the applications?

Yes. See bug 1488249.

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


Note You need to log in before you can comment on or make changes to this bug.