--===============6942641925967860149== Content-Type: multipart/alternative; boundary="001a114d8a5a4279d205643dc2c7" --001a114d8a5a4279d205643dc2c7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 29, 2018 at 3:31 PM, Tomasz G=C4=85sior wrote: > I want to ask question about GtkPopover. GTK3 documentation says > "GtkPopover is a bubble-like context window [...]" but popover is not a > real window but it is a floating widget inside other window. From > perspective of window managers and compositors popovers don't exist. > > Appearance of popover is similar to window but it is not window =E2=80=94= this > causes inconsistences in animations. Window animation is defined by WM an= d > compositor, popover animation =E2=80=94 in GTK theme. > > There are also problems with big popovers in small windows. See example: > Mousepad GTK3, "Find and replace" dialog. > First: http://en.zimagez.com/zimage/przechwycenieobrazuekranu2018- > 01-2915-15-00.php > and then: http://en.zimagez.com/zimage/przechwycenieobrazuekranu2018-0 > 1-2915-15-22.php > > Why did you =E2=80=94 my question is directed to GNOME devs =E2=80=94 cho= sen this way of > implementation of this feature? Why popovers are not normal windows (with > disabled server side decoration and with client side shadow)? I don't wan= t > to criticize your decision, probably you are more experienced, just I wan= t > to understand. > > Firefox uses in some parts of its UI widgets with appearance similar to > GTK popovers. Fx devs implemented it as real window. See > http://en.zimagez.com/zimage/przechwycenieobrazuekranu2018-0 > 1-2915-27-18.php > It was hard to do this in GTK+ 3. We are looking at doing this for GTK+ 4. > > I have also second question. Why GNOME uses popovers instead normal menus > for menus purposes? > > Because it provides a different user experience, somewhere between menus and dialogs. --001a114d8a5a4279d205643dc2c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Jan 29, 2018 at 3:31 PM, Tomasz G=C4=85sior <mail@tomaszgasior.kao.pl> wrote:
I want to as= k question about GtkPopover. GTK3 documentation says "GtkPopover is a = bubble-like context window=C2=A0 [...]" but popover is not a real wind= ow but it is a floating widget inside other window. From perspective of win= dow managers and compositors popovers don't exist.

Appearance of popover is similar to window but it is not window =E2=80=94 t= his causes inconsistences in animations. Window animation is defined by WM = and compositor, popover animation =E2=80=94 in GTK theme.

There are also problems with big popovers in small windows. See example: Mo= usepad GTK3, "Find and replace" dialog.
First:=C2=A0 =C2=A0 =C2=A0http://en.zimagez.com/zimage/przechwycenieobrazuekranu2018-01-2= 915-15-00.php
and then:=C2=A0 http://e= n.zimagez.com/zimage/przechwycenieobrazuekranu2018-01-2915-15-22.= php

Why did you =E2=80=94 my question is directed to GNOME devs =E2=80=94 chose= n this way of implementation of this feature? Why popovers are not normal w= indows (with disabled server side decoration and with client side shadow)? = I don't want to criticize your decision, probably you are more experien= ced, just I want to understand.

Firefox uses in some parts of its UI widgets with appearance similar to GTK= popovers. Fx devs implemented it as real window. See http://en.zimagez.com/zimage/przechwycen= ieobrazuekranu2018-01-2915-27-18.php

It was hard to do this in GTK+ 3. We are looking at doing this for G= TK+ 4.
=C2=A0

I have also second question. Why GNOME uses popovers instead normal menus f= or menus purposes?


Because it provides a different user e= xperience, somewhere between menus and dialogs.
--001a114d8a5a4279d205643dc2c7-- --===============6942641925967860149== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list --===============6942641925967860149==--