[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    Question about popovers
From:       Tomasz_Gąsior <mail () tomaszgasior ! kao ! pl>
Date:       2018-01-29 14:31:48
Message-ID: bd74cb72bef6d77ff24a4a8e0848071a () tomaszgasior ! kao ! pl
[Download RAW message or body]

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 — this 
causes inconsistences in animations. Window animation is defined by WM 
and compositor, popover animation — 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-01-2915-15-22.php

Why did you — my question is directed to GNOME devs — chosen 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 want to criticize your decision, probably you are more 
experienced, 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/przechwycenieobrazuekranu2018-01-2915-27-18.php


I have also second question. Why GNOME uses popovers instead normal 
menus for menus purposes?

Thanks for reply.


-- 
Tomasz Gąsior
https://tomaszgasior.pl
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic