Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT.EMBEDDABLE on gtk is not reusable

2011/4/15 Silenio Quarti <Silenio_Quarti@xxxxxxxxxx>
>
> I believe you are on the right direction. Please, once you have something implemented, attach a patch to the bug report and will review it. Thanks!

Great. Will attach the patch to issue; however I'm having a bit of
trouble with the dev environment setup.. I wonder if swt homepage
about fixing bugs is anywhere current or am I just failing at it? I
just checked out the latest:
 - o.e.swt
 - o.e.swt.examples
 - o.e.swt.gtk.linux.x86_64
 - o.e.swt.tools

... just like in http://eclipse.org/swt/fixbugs.php with the extra
step from FAQs. There's no longer any "replace.32.to.64" and so how to
get a workable setup is not quite clear.

I'm not quite a fan of cvs but I was able to piece together that a lot
of things changed when o.e.swt/buildFragment.xml was introduced;
perhaps a website update was forgotten?

Is it be possible to get a copy of the whole cvs (with history) for
the swt projects? For me, the anon cvs server is really slow, so I
can't really work on history through eclipse or the web ui.

> I am not sure there is any way to make the client centered using GtkSocket. If I am not mistaken the client is always as big as the socket.

Oki, thanks for this one; I'll look into client code then.

> Let's keep the technical discussion on the bug.
>
> Silenio
>
>
> From: Joonas Koivunen <joonas.koivunen@xxxxxxxxx>
> To: platform-swt-dev@xxxxxxxxxxx
> Date: 04/13/2011 12:08 PM
> Subject: [platform-swt-dev] SWT.EMBEDDABLE on gtk is not reusable
> Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
> ________________________________
>
>
> Hi there!
>
> I made a bug about this earlier [1] and I'd be interested in
> implementing a fix. Short summary is that the GtkWidget backing the
> Composite gets disposed (without Composite getting disposed) when the
> XEmbed client goes away after being attached.
>
> I tried to look around for required blocks but could someone verify
> I'm not going to the entirely wrong way? For example, are all signals
> defined in Widget.java for consistency or should the socket signals be
> in for example Composite as it is the first subclass of widget capable
> of receiving one.
>
> Also, not sure if this is a feature of XEmbed and/or Win32 but under
> windows, if you have a subwindow (WS_CHILD and maximized I believe) on
> your SWT.EMBEDDABLE composite it stays centered and grows from there
> whereas in linux (gtk) the embedded component is anchored to the left
> top corner, expanding towards right and bottom. Any ideas how I could
> replicate the windows behaviour on gtk?
>
> 1 = https://bugs.eclipse.org/bugs/show_bug.cgi?id=342253
>
> --
> -- Joonas Koivunen
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>



--
-- Joonas Koivunen


Back to the top