Re: How to place a button in the fremantle title bar?
Hi, it is my understanding that the Edit window is intended to be used in short intervals, to carry on concrete tasks in an atomic way. This behaviour is enforced by the removal of the Tasks button, the app. menu and so on, so the user is forced to finish his current task before he is allowed to do anything else. As I see it, this window is not intended to be used as the application's main window. But I might be understanding it the wrong way, of course :-) Regards, Felipe signature.asc Description: OpenPGP digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
2009/7/21 Andrew Flegg : > 2009/7/21 Kimmo Hämäläinen : >> >> That's not currently possible unless you use a fullscreen window. > > Let's be clear what Till's talking about: > > http://bleb.org/software/maemo/modest-move.png > > How does Modest put that "Move" button there? Next to the "Back" arrow > at the top-right of the screen. You should look at the following example: http://maemo.org/api_refs/5.0/beta/tutorial/examples/hildon-edit-toolbar-example.c It does exactly that (just click on the "Delete some items"). And the equivalent python example, for reference: http://pymaemo.garage.maemo.org/documentation/python_hildon_tutorial/examples/hildon-edit-toolbar-example.py Regards, -- Anderson Lizardo OpenBossa Labs - INdT Manaus - Brazil ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
On Tue, Jul 21, 2009 at 12:30:45PM +0100, Andrew Flegg wrote: > > Presumably one shouldn't allow the user to unfullscreen such a > > window. Also what about the impact on themeing, menus & AppMenus? > > ...because it *looks* like a window, clicking on the title should open > the window's menu. Does this happen automatically, or does it need > to be handrolled, or is there no menu support when one's using it? I'll check it but I think it should pop up the menu automatically. > Sounds like there's a documentation bug either way, as > HildonEditToolbar doesn't say it should be used only after > gtk_window_fullscreen(): I'll check that too. Thanks! Berto ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
On Tue, Jul 21, 2009 at 11:18, Alberto Garcia wrote: > On Tue, Jul 21, 2009 at 11:00:54AM +0100, Andrew Flegg wrote: > >> Yes, I understand that. But a developer, on seeing a screencast, >> thought it part of the normal WM chrome. Indeed, if you look at the >> screenshot[1] it looks like any other stacked window, but with a >> button next to the back arrow. > > That's the idea. To the final user, it should look like a title bar > with an additional button. OK, so we're homing in on the usage of this (probably to result in a documentation bug). A few more questions from above: > Presumably one shouldn't allow the user to unfullscreen such a window. > Also what about the impact on themeing, menus & AppMenus? ...because it *looks* like a window, clicking on the title should open the window's menu. Does this happen automatically, or does it need to be handrolled, or is there no menu support when one's using it? > Otherwise it shouldn't make a difference. If it does then it's > probably a bug :) Sounds like there's a documentation bug either way, as HildonEditToolbar doesn't say it should be used only after gtk_window_fullscreen(): http://maemo.org/api_refs/5.0/beta/hildon/HildonEditToolbar.html (Although, to be fair, the example does show it :-)) Cheers, Andrew -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ Maemo Community Council chair ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
On Tue, Jul 21, 2009 at 11:00:54AM +0100, Andrew Flegg wrote: > Yes, I understand that. But a developer, on seeing a screencast, > thought it part of the normal WM chrome. Indeed, if you look at the > screenshot[1] it looks like any other stacked window, but with a > button next to the back arrow. That's the idea. To the final user, it should look like a title bar with an additional button. Otherwise it shouldn't make a difference. If it does then it's probably a bug :) Berto ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
On Tue, 2009-07-21 at 12:00 +0200, ext Andrew Flegg wrote: > 2009/7/21 Kimmo Hämäläinen : > > > > You have to understand that an application toolbar and window title bar > > are completely different things. The application owns the toolbar and > > controls it, and the WM owns the title bar and controls it. Even if you > > would be able to add a button to the WM's title bar, you would need some > > ugly hack to send the button press/release to the application (or have > > handling of the button in application side somehow). > > Yes, I understand that. But a developer, on seeing a screencast, > thought it part of the normal WM chrome. Indeed, if you look at the > screenshot[1] it looks like any other stacked window, but with a > button next to the back arrow. > > >From a *user's* point of view, this looks like a button in the window > chrome. Hence my concerns about usability differences for the valid > *technical* reasons you give. We are working hard with Fremantle to get it out, we don't have time to fix every small detail right now... The code in question will be public, so it can be modified later, though. -Kimmo > > Cheers, > > Andrew > > [1] http://bleb.org/software/maemo/modest-move.png > ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
2009/7/21 Kimmo Hämäläinen : > > You have to understand that an application toolbar and window title bar > are completely different things. The application owns the toolbar and > controls it, and the WM owns the title bar and controls it. Even if you > would be able to add a button to the WM's title bar, you would need some > ugly hack to send the button press/release to the application (or have > handling of the button in application side somehow). Yes, I understand that. But a developer, on seeing a screencast, thought it part of the normal WM chrome. Indeed, if you look at the screenshot[1] it looks like any other stacked window, but with a button next to the back arrow. >From a *user's* point of view, this looks like a button in the window chrome. Hence my concerns about usability differences for the valid *technical* reasons you give. Cheers, Andrew [1] http://bleb.org/software/maemo/modest-move.png -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ Maemo Community Council chair ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
On Tue, 2009-07-21 at 11:14 +0200, ext Andrew Flegg wrote: > 2009/7/21 Claudio Saavedra : > > El mar, 21-07-2009 a las 08:53 +0100, Andrew Flegg escribió: > >> > >> How does Modest put that "Move" button there? Next to the "Back" arrow > >> at the top-right of the screen. > > > > I said it three times already. Fullscreen the window. > > Indeed; I'm just trying to ensure there's clarity. > > So, if you fullscreen your window (using the standard > gtk_window_fullscreen()?) and have a HildonEditToolbar[1], you get the > effect. The HildonEditToolbar "has a label and two buttons; one of > them being an arrow pointing backwards." It's *simulating* the same > controls that a non-fullscreen window would get from the WM. You have to understand that an application toolbar and window title bar are completely different things. The application owns the toolbar and controls it, and the WM owns the title bar and controls it. Even if you would be able to add a button to the WM's title bar, you would need some ugly hack to send the button press/release to the application (or have handling of the button in application side somehow). -Kimmo > > Presumably one shouldn't allow the user to unfullscreen such a window. > Also what about the impact on themeing, menus & AppMenus? > > My initial thought is that the app fullscreen/unfullscreening itself > (well, remembering the previous fullscreen state) sounds like an ugly > hack, and that the use of this should be discouraged. > > Cheers, > > Andrew > > [1] http://maemo.org/api_refs/5.0/beta/hildon/HildonEditToolbar.html > ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
On Tue, 2009-07-21 at 09:53 +0200, ext Andrew Flegg wrote: > 2009/7/21 Kimmo Hämäläinen : > > > > That's not currently possible unless you use a fullscreen window. > > Let's be clear what Till's talking about: > > http://bleb.org/software/maemo/modest-move.png > > How does Modest put that "Move" button there? Next to the "Back" arrow > at the top-right of the screen. They use fullscreen window and draw their own toolbar there. -Kimmo > > Thanks in advance, > > Andrew > ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
2009/7/21 Claudio Saavedra : > El mar, 21-07-2009 a las 08:53 +0100, Andrew Flegg escribió: >> >> How does Modest put that "Move" button there? Next to the "Back" arrow >> at the top-right of the screen. > > I said it three times already. Fullscreen the window. Indeed; I'm just trying to ensure there's clarity. So, if you fullscreen your window (using the standard gtk_window_fullscreen()?) and have a HildonEditToolbar[1], you get the effect. The HildonEditToolbar "has a label and two buttons; one of them being an arrow pointing backwards." It's *simulating* the same controls that a non-fullscreen window would get from the WM. Presumably one shouldn't allow the user to unfullscreen such a window. Also what about the impact on themeing, menus & AppMenus? My initial thought is that the app fullscreen/unfullscreening itself (well, remembering the previous fullscreen state) sounds like an ugly hack, and that the use of this should be discouraged. Cheers, Andrew [1] http://maemo.org/api_refs/5.0/beta/hildon/HildonEditToolbar.html -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ Maemo Community Council chair ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
El mar, 21-07-2009 a las 08:53 +0100, Andrew Flegg escribió: > 2009/7/21 Kimmo Hämäläinen : > > > > That's not currently possible unless you use a fullscreen window. > > Let's be clear what Till's talking about: > > http://bleb.org/software/maemo/modest-move.png > > How does Modest put that "Move" button there? Next to the "Back" arrow > at the top-right of the screen. I said it three times already. Fullscreen the window. Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
2009/7/21 Kimmo Hämäläinen : > > That's not currently possible unless you use a fullscreen window. Let's be clear what Till's talking about: http://bleb.org/software/maemo/modest-move.png How does Modest put that "Move" button there? Next to the "Back" arrow at the top-right of the screen. Thanks in advance, Andrew -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ Maemo Community Council chair ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
On Mon, 2009-07-20 at 20:38 +0200, ext Till Harbaum / Lists wrote: > Hi, > > Am Montag 20 Juli 2009 schrieb Claudio Saavedra: > > Did you try it already? > Nope, because it's not what i want. I want the button to > replace my title bar as visible in that video. That's not currently possible unless you use a fullscreen window. We are not using an X window for the title bar graphics, but it's drawn with Clutter actors. -Kimmo > > Till > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
El lun, 20-07-2009 a las 20:38 +0200, Till Harbaum / Lists escribió: > Hi, > > Am Montag 20 Juli 2009 schrieb Claudio Saavedra: > > Did you try it already? > Nope, because it's not what i want. I want the button to > replace my title bar as visible in that video. >From http://maemo.org/api_refs/5.0/beta/hildon/HildonEditToolbar.html : Example 15. HildonEditToolbar example toolbar = hildon_edit_toolbar_new_with_text ("Choose items to delete", "Delete"); (...) hildon_window_set_edit_toolbar (HILDON_WINDOW (window), HILDON_EDIT_TOOLBAR (toolbar)); (...) gtk_widget_show_all (window); gtk_window_fullscreen (GTK_WINDOW (window)); Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
Hi, Am Montag 20 Juli 2009 schrieb Claudio Saavedra: > Did you try it already? Nope, because it's not what i want. I want the button to replace my title bar as visible in that video. Till ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
El lun, 20-07-2009 a las 18:33 +0200, Till Harbaum / Lists escribió: > Hi, > > Am Montag 20 Juli 2009 schrieb Claudio Saavedra: > > You need to fullscreen your window to tell the WM not to draw its > > decorations. > Sure, but in that video you see that the main window is not > fullscreen. As i said: The HildonEditToolbar _replaces_ the main > screens window decorations. Did you try it already? Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
Hi, Am Montag 20 Juli 2009 schrieb Claudio Saavedra: > You need to fullscreen your window to tell the WM not to draw its > decorations. Sure, but in that video you see that the main window is not fullscreen. As i said: The HildonEditToolbar _replaces_ the main screens window decorations. Till ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
El lun, 20-07-2009 a las 17:53 +0200, Till Harbaum / Lists escribió: > ok, i had a look at these, but a HildonEditToolbar appears _below_ the > main screens title bar in my experiment. In the video it replaces the > main screens title bar. You need to fullscreen your window to tell the WM not to draw its decorations. Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
Hi, ok, i had a look at these, but a HildonEditToolbar appears _below_ the main screens title bar in my experiment. In the video it replaces the main screens title bar. How comes? Till Am Freitag 10 Juli 2009 schrieb Daniel Martin Yerga: > Hi. > > - Original message - > Hi, > > watching the modest screencast at > http://blogs.igalia.com/dape/dape/wp-content/uploads/2009/07/modest-fremantle-guadec.ogv > > you'll see at 0:45 a "Move" button in the screens title bar. How does it get > there? Seems to be > a perfect place for zoom buttons in osm2go. > - > > It's a HildonEditToolbar. > I think it only allows one button so I don't know if it could be useful in > your case. > > ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to place a button in the fremantle title bar?
Hi. - Original message - Hi, watching the modest screencast at http://blogs.igalia.com/dape/dape/wp-content/uploads/2009/07/modest-fremantle-guadec.ogv you'll see at 0:45 a "Move" button in the screens title bar. How does it get there? Seems to be a perfect place for zoom buttons in osm2go. - It's a HildonEditToolbar. I think it only allows one button so I don't know if it could be useful in your case. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers