← Back to team overview

elementary-dev-community team mailing list archive

Re: [Granite] PopOvers

 

For the arrow position, I suppose the PopOver should change it
position itself. e.g. if there is not enough place at the bottom, we
put it at the top of the widget, etc... I suppose this is what Max
did, so, I'm waiting for his code :) (anyway, I don't think I will
have the time to work on that this week end, so...).

Lucas

2011/10/8 Daniel Fore <daniel.p.fore@xxxxxxxxx>:
> Yea, max's float towards the center of the screen so you have left/right sliding and up/down directional change.
>
> Best Regards,
> Daniel Foré
>
> www.elementaryos.org
>
> On Oct 7, 2011, at 10:40 PM, Adrien Plazas <kekun.plazas@xxxxxxxxxxx> wrote:
>
>> Does one of the implementations have the hability change the position of the arrow at the moment ?
>>
>> On Fri, 7 Oct 2011 23:07:42 -0400
>> Avi Romanoff <avi@xxxxxxxxxxxxxxxx> wrote:
>>
>>> Major props to Lucas and the others who are implementing popovers --
>>> methinks it's going to be a great boon for elementary apps.
>>>
>>> I definitely agree with Lucas that all of these versions should be published
>>> and committed to as actively as possible -- don't worry about it being
>>> official. I think we should have a formal code-review of them when they're
>>> done and pick/combine the best one(s) as Max suggested.
>>>
>>> Avi
>>>
>>> On Fri, Oct 7, 2011 at 1:19 PM, Lucas Baudin <xapantu@xxxxxxxxx> wrote:
>>>
>>>> Ah, that's cool, let me know if you have any problem :)
>>>>
>>>> (It's not only for you, Max did the same, but don't forget to CC the
>>>> mailing list!)
>>>>
>>>> On 10/06/2011 10:40 PM, Mario Guerriero wrote:
>>>>
>>>> Lucas you are doing a great job. I started the implementation of PopOver
>>>> also in Dexter
>>>>
>>>> http://elementaryositdev.files.wordpress.com/2011/10/screenshot-at-2011-10-06-143226.png
>>>>
>>>>
>>>> 2011/10/6 Lucas Baudin <xapantu@xxxxxxxxx>
>>>>
>>>>> Hi,
>>>>>
>>>>> I started implementing the PopOvers in granite. Here are some screenshots:
>>>>> Midori: http://pix.toile-libre.org/upload/original/1317488418.png (needs
>>>>> a patched midori, but it also needs the gtk3 patch which is not in git yet)
>>>>> Ergo: http://pix.toile-libre.org/upload/original/1317927299.png(lp:~xapantu/ergo/popover)
>>>>>
>>>>> For technical details, it uses a composited window to draw the shadow
>>>>> (yeah, it would be better if the window manager could handle this, but
>>>>> unfortunately I don't know any wm which does) and subclass Gtk.Dialog.
>>>>>
>>>>> I would like to check that the current API is usable everywhere before
>>>>> merging anything, so, if you could test in your apps if it works and/or send
>>>>> me an application which would need a popover, it would be a good thing.
>>>>>
>>>>> The code is at lp:~elementary-pantheon/granite/popovers
>>>>>
>>>>> Feedback and comments welcomed :)
>>>>>
>>>>> Lucas
>>>>>
>>>>> --
>>>>> Mailing list: https://launchpad.net/~elementary-dev-community
>>>>> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~elementary-dev-community
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Mailing list: https://launchpad.net/~elementary-dev-community
>>>> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~elementary-dev-community
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>
>>
>> --
>> Adrien Plazas <kekun.plazas@xxxxxxxxxxx>
>>
>> --
>> Mailing list: https://launchpad.net/~elementary-dev-community
>> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~elementary-dev-community
>> More help   : https://help.launchpad.net/ListHelp
>
> --
> Mailing list: https://launchpad.net/~elementary-dev-community
> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~elementary-dev-community
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References