Re: Fremantle UI Portrait Mode

2009-05-29 Thread Henrik Hedberg
Murray Cumming wrote: > On Fri, 2009-05-29 at 13:20 +0200, Alberto Garcia wrote: >> To detect screen orientation changes you can e.g. use the >> "size-changed" signal of GdkScreen. > > This seems like a rather long-winded way to detect landscape or portrait > mode, requiring the hard coding of the

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Alberto Garcia
On Fri, May 29, 2009 at 09:37:10PM +0200, Murray Cumming wrote: > > To detect screen orientation changes you can e.g. use the > > "size-changed" signal of GdkScreen. > This seems like a rather long-winded way to detect landscape or > portrait mode, requiring the hard coding of the dimensions. Why

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Murray Cumming
On Fri, 2009-05-29 at 13:20 +0200, Alberto Garcia wrote: > To detect screen orientation changes you can e.g. use the > "size-changed" signal of GdkScreen. This seems like a rather long-winded way to detect landscape or portrait mode, requiring the hard coding of the dimensions. Surely some simple

Re: Maemo SDK (Diablo) and Python Statusbar Plugins

2009-05-29 Thread Brent Chiodo
Wow, I just tried it again today and everything is working fine; that is really strange. This happened to me before, where I've had a problem, then restarting scratchbox makes everything work fine. Sorry for the false-alarm and thanks for the help. On 5/29/09, Brent Chiodo wrote: > I attached th

Re: Maemo SDK (Diablo) and Python Statusbar Plugins

2009-05-29 Thread Brent Chiodo
I attached the source code since it is rather lengthy (at the very bottom is the hd_plugin_get_objects() function). I probably should also mention that I tested this on an actual device, and it worked great. On 5/29/09, Anderson Lizardo wrote: > On Thu, May 28, 2009 at 7:55 PM, Brent Chiodo wro

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Cornelius Hald
On Fri, 2009-05-29 at 14:50 +0300, Kimmo Hämäläinen wrote: > That would be Xephyr/Xorg bug. The whole point of using XrandR is to get > this input event and screen geometry delivery right. I using xserver-xephyr-2:1.6.0-0ubuntu14 which is the ubuntu intrepid version running on ubuntu jaunty. Maybe

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Kimmo Hämäläinen
On Fri, 2009-05-29 at 13:22 +0200, ext Cornelius Hald wrote: ... > After rotating everything looks ok, but when clicking around I realized > that only the visual content is rotated. Mouse clicks are still handled > like the screen is not rotated at all. For example to close a window I > still have

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Cornelius Hald
On Fri, 2009-05-29 at 13:34 +0200, Alberto Garcia wrote: > On Fri, May 29, 2009 at 01:22:57PM +0200, Cornelius Hald wrote: > > > The AppMenu looks nice, only the Filters get crippled: > > http://zwong.de/wp-content/uploads/2009/05/conboy_style_menu_portrait.png > > This is a bug (already fixed):

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Alberto Garcia
On Fri, May 29, 2009 at 01:22:57PM +0200, Cornelius Hald wrote: > The AppMenu looks nice, only the Filters get crippled: > http://zwong.de/wp-content/uploads/2009/05/conboy_style_menu_portrait.png This is a bug (already fixed): in portrait, the menu will use the full width of the screen, so in yo

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Cornelius Hald
Grrr I should have just waited for another couple of hours :D Thanks Kimmo, Berto, Claudio and Hendrik for answering my questions. They rendered this mail quite useless. Well, maybe at least the screenshots help someone to get a feeling of the problems he/she will have to face when implementing

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Cornelius Hald
On Thu, 2009-05-28 at 19:03 +0300, Eero Tamminen wrote: > > * Is there a signal which signals that the screen orientation changed? > > Application needs to specifically request portrait mode with a window > property (I guess there's some API for that), otherwise window manager > uses landscape mod

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Alberto Garcia
On Fri, May 29, 2009 at 01:48:54PM +0300, Kimmo Hämäläinen wrote: > AFAIK, there is automatic relayout only for confirmation dialogs > (and maybe application menu as you said), but not much more. So > toolbars you have to handle yourself. The toolkit people can give > better answers (I'm handling

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Claudio Saavedra
On Fri, 2009-05-29 at 13:48 +0300, Kimmo Hämäläinen wrote: > On Thu, 2009-05-28 at 17:19 +0200, ext Cornelius Hald wrote: > > > > * What happens to toolbars when in portrait mode? Is there some > > automatic behavior like showing the toolbar as two rows instead of a > > single row? Is it scaled?

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Henrik Hedberg
Kimmo Hämäläinen wrote: > Yes, we have _HILDON_PORTRAIT_MODE_REQUEST and > _HILDON_PORTRAIT_MODE_SUPPORT window properties (I think libhildon has > convenience functions for setting them). The request property makes > hildon-desktop to rotate the screen using XRandR, _IF_ all other visible > wind

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Kimmo Hämäläinen
On Thu, 2009-05-28 at 17:19 +0200, ext Cornelius Hald wrote: > Hi, Hi, > as I was asked to write a bit about the fremantle-ization of the Conboy > UI, I first would like to ask some more UI specific questions. Then I > can complete this process and write about it. > > * What happens with the A

Re: Maemo SDK (Diablo) and Python Statusbar Plugins

2009-05-29 Thread Anderson Lizardo
On Thu, May 28, 2009 at 7:55 PM, Brent Chiodo wrote: > I'm trying to get a Python Statusbar plugin working in Scratchbox > (DIABLO_X86) but get this error: > > hildon-desktop[8588]: GLIB WARNING ** default - Could not reload > Python module 'quickclip' > Falling back to previous version > hildon-d

Re: Fwd: conboy-midgard

2009-05-29 Thread Cornelius Hald
On Thu, 2009-05-28 at 12:20 +0200, Piotr Pokora wrote: > C API reference: > http://www.midgard-project.org/api-docs/midgard/core/vinland/index.html > > And simple Hello World example: > http://www.midgard-project.org/api-docs/midgard/core/vinland/example-hello-world.html Thanks, the hello world w

Re: Fwd: conboy-midgard

2009-05-29 Thread Cornelius Hald
Thanks for the links, I think I got the main point of Midgard now. I'm planning on doing some test with the Tomboy REST API today. Let's see how this goes. Meanwhile I'll think a bit about a plug-in system. So long! Conny On Thu, 2009-05-28 at 11:54 +0300, Henri Bergius wrote: > Hi, > > On Thu,