Re: Problem gtk with gnome.



Environment: libgnome 2.32.1-2ubuntu1
The problem is in Gnome 2.x and Unity.

In the gtk documentation:
gtk_window_move()
Asks the window manager to move window to the given position. Window
managers are free to ignore this; most window managers ignore requests
for initial window positions (instead using a user-defined placement
algorithm) and honor requests after the window has already been shown.


2012/9/19 Emmanuele Bassi <ebassi gmail com>:
> hi;
>
> On 19 September 2012 18:26, Matias Szeinfeld <matinger gmail com> wrote:
>> Hi, i have a problem using gtk_window_move with gnome. There are two
>> windows, and a function to move one window (not decorated) respect to
>> the other window (decorated) using gtk_window_move. The problem is the
>> result. Because not always is the expected. Sometimes the window
>> (undecorated) position is wrong.
>>
>> This situation appear first when i use gtkwebkit with the undecorated
>> parent. Then i try without gtkwebkit, and usually works but not
>> always. So try more times if you choose the option without gtkwebkit.
>> The problem is show better if you attach a gtkwebkit to the not
>> decorated window (uncomment code in the main.c).
>>
>> This program works in Ubuntu 12.04 with XFCE and not in Ubuntu 12.04 with GNOME.
>
> Ubuntu 12.04 uses Unity by default, which is Compiz; when you say
> "GNOME" what environment do you mean? Unity, GNOME 2.x, or GNOME
> Shell?
>
>> Can someone help me please?
>
> you should ask in gtk-list, not in desktop-devel-list; alternatively,
> open a bug on Launchpad.
>
> ciao,
>  Emmanuele.
>
> --
> W: http://www.emmanuelebassi.name
> B: http://blogs.gnome.org/ebassi/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]