Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 25 07:02
    decriptor commented #72
  • Jan 25 06:53

    decriptor on gtk2_fix_tests

    (compare)

  • Jan 25 06:46

    decriptor on gtk2_fix_tests

    (compare)

  • Jan 25 06:45
    wolfgangmauer commented #72
  • Jan 25 06:41

    decriptor on gtk2_fix_tests

    Update gtk2 test expected result (compare)

  • Jan 25 06:36
    decriptor commented #72
  • Jan 25 06:35
    decriptor commented #72
  • Oct 21 2018 11:34
    wolfgangmauer edited #72
  • Oct 21 2018 11:33
    wolfgangmauer opened #72
  • Sep 18 2018 17:49
    bojanrajkovic added as member
  • Jul 29 2018 13:32
    stsundermann commented #71
  • Jul 29 2018 13:31
    stsundermann opened #71
  • Jul 29 2018 13:26
    stsundermann commented #53
  • Jul 26 2018 21:55

    decriptor on shaw-work

    (compare)

  • Jul 26 2018 21:55

    decriptor on master

    Add a couple more Gtk2 Atk1 tes… Stub out another Atk test Apply some code style change lo… and 1 more (compare)

  • Jul 26 2018 21:55
    decriptor closed #69
  • Jul 26 2018 19:25
    decriptor review_requested #69
  • Jul 26 2018 19:22
    decriptor synchronize #69
  • Jul 26 2018 19:22

    decriptor on shaw-work

    Apply some code style change lo… (compare)

  • Jul 26 2018 15:28
    decriptor edited #70
Pierre Prevost
@plprevost_gitlab
it is native
Marius Ungureanu
@Therzok
do you have the source for the gtk+ 2.0 ’s methods I linked above?
Pierre Prevost
@plprevost_gitlab
no, I do not. We use gtk2.20 in memory
Marius Ungureanu
@Therzok
investigating
and the other code in gtk_widget_size_request
we can’t pass the actual requisition, because native will give us a warning
(and because of the memory marshalling works in gtk#, we’ll never do that)
and native always expects an allocated requisition on caller side
my point being - I wonder if it’s just a problem in the native gtk lib and that’s leaking, and gtk# has nothing to do with ti
especially since everything seems okay at binding level
Marius Ungureanu
@Therzok
@plrevost_gitlab do you have a sample that repro’s this leak?
I’ll have a 2.12.46 prepared later today so you can see if it helps in any way (basically, tip of 2.12)
also, what does dotmemory report as the actual leak - in terms of objects?
Pierre Prevost
@plprevost_gitlab
Yes, I have dotTrace reports and it says 72ko of memory leak in our one-shot test. But the memory leak increases very quickly when the function is called very often. I see for your type mismatch. I will see what sizeof(gint) returns on our targeted platform
Marius Ungureanu
@Therzok
we bind it as 32bit managed, so that might cause issues in the long run, although, I don’t see anything obvious that would leak in native
Marius Ungureanu
@Therzok
okay, at a windows machine now
figuring out how to make the thing only depend on win32 dlls
and then I'll make a 2.12.46 MSI
Marius Ungureanu
@Therzok
urghhh, don't have a build system in place on the machine
okay, seems like I can't help today with a new MSI
Pierre Prevost
@plprevost_gitlab
@Therzok Hello, is there a way to know on which gtk2 version gtk-sharp-2.12.45 is based on?
Marius Ungureanu
@Therzok
not sure on that, should be 2.24 something
Pierre Prevost
@plprevost_gitlab
@Therzok thanks
Marius Ungureanu
@Therzok
should be somewhere in here
I still couldn't get my machine to build
I've tried all my emulators, babun, cygwin, msys2, none of them is properly setup to build without their own libc dependency
Pierre Prevost
@plprevost_gitlab
I'm trying to build 2.12 branch too
Pierre Prevost
@plprevost_gitlab
but the bootstrap fails when trying to detect gdk-x11-2.0-uninstalled... What is that?
Marius Ungureanu
@Therzok
Hmmm, never seen that
Is this on windows?
Pierre Prevost
@plprevost_gitlab
no i'm trying to build on centos6
Pierre Prevost
@plprevost_gitlab
hello. I have a gtk-sharp 2.12.26 with gtk2-2.24.28 installed on my CentOS7 plateform. I encounter some graphical issues on my hmi. For example, widgets on the main window disappear. I ran gtkparasite and played with "Visibility" property of an eventBox and suddenly all widgets/labels of the window came back visible. Is there a way to know if my configuration of gtk-sharp + gtk2 play well together? Is there a compatibility problem between the versions?
Jo Shields
@directhex
That's a very very old gtk#
Pierre Prevost
@plprevost_gitlab
How am I suppose to know which gtk# version to use? I ran rpm -qR on gtk-sharp component and the dependy is gtk2 only. There is no minimum version control
Jo Shields
@directhex
Are the problems you're experiencing in your own code?
Pierre Prevost
@plprevost_gitlab
Yes. If I change the visibility of one component of the application, it changes visibility of all other widgets.
We upgraded recently to gtk2.24.28 and we are looking forward to knowing if that upgrade induced the regression. The thing is I don't know how to do that
Pierre Prevost
@plprevost_gitlab
Ok, I figured one thing: my main window hosts 2 containers both visible. One (EventBox) is dedicated to a search panel that fols/unfold when the user grabs focus on it. The other one (VBox) is a panel that contains a table of objects. I don't think it is possible via Gtk to handle transparency. Am I wrong? Oddly enought: when I turn visibility of the first container down to False via gtkparasite, the second one turns back to visible.
Jo Shields
@directhex
are you using threads at all in your app?
Pierre Prevost
@plprevost_gitlab
yes 4
Jo Shields
@directhex
gtk+ isn't thread-capable. are you always using Application.Invoke() delegates to do things like alter visibility?
Pierre Prevost
@plprevost_gitlab
Yes I do use Gtk.Application.Invoke when delegating to Gtk thread. But I don't remind invoking Gtk thread when altering visibility
Never mind, I've just checked. It is the case
Pierre Prevost
@plprevost_gitlab
One question though: why one container hides the other one when both are set to visible? Which gtk property should I suspect to change when this occures?
Pierre Prevost
@plprevost_gitlab
Sorry, I would like to ask another question. I've just noticed that the window manager used is gnome3. Do you know by any chance if it is compatible with gtk2?
Calvin Buckley
@NattyNarwhal
I've used gtk2 programs fine on gnome3 before
Pierre Prevost
@plprevost_gitlab
@NattyNarwhal Thanks Calvin. Did you use transparency functionality with gnome3? Did it run well?
Calvin Buckley
@NattyNarwhal
I don't know, unfortunately