Re: [MeeGo-dev] Top Application in Meego Tablet

2011-07-25 Thread zhchbin
Got it.Thank you very much!
Actually, I have found that I can use QDialog to simulate an icon and place
on the top of the other programs.(PS: I am develop my application on the
Meego Tablet Platform).  

--
View this message in context: 
http://meego-dev.390449.n3.nabble.com/MeeGo-dev-Top-Application-in-Meego-Tablet-tp2951349p3199596.html
Sent from the meego-dev mailing list archive at Nabble.com.
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Top Application in Meego Tablet

2011-07-25 Thread Kimmo Hämäläinen

On 07/20/11 16:16, ext zhchbin wrote:


  Sorry, I am a fresh man to the mail list.The question is how to create
  "Top Application in Meego Tablet".


  "Actually our design is such that we need to display a top application
  which will display wi-fi status, time etc just like status bar in
  tablet is displayed where date, time ,signal strength etc are
  displayed. How such application is designed in tablet then ? "


If you are using the Meegotouch System UI daemon(*, you could modify 
that to display another info in the status area/bar.


The traditional way to do that is to show a window with window type 
_NET_WM_WINDOW_TYPE_DOCK, which would tell the window manager to reserve 
space for it from the desktop so that other windows do not come on top 
of it.  Unfortunately, mcompositor (window manager) does not support 
this at the moment because the status area is drawn inside applications 
themselves, using a shared pixmap from the System UI daemon.


Perhaps the easiest way is to replace the window manager to something 
more traditional.


*)https://meego.gitorious.org/meegotouch/meegotouch-systemui



On Wed, Jul 20, 2011 at 9:11 PM, Andre Klapper [via meego-dev] <[hidden
email] > wrote:

On Wed, 2011-07-20 at 06:04 -0700, zhchbin wrote:
 > How is this problem going on?

See the rest of the thread.

 > I have the same question while making my
 > applicaiton. Can you help me?

I don't know, as I don't know what "same question" you have.
Please elaborate and just ask. :)

andre
--
Andre Klapper (maemo.org <http://maemo.org> bugmaster | MeeGo QA)
http://blogs.gnome.org/aklapper/ | http://www.openismus.com

___
MeeGo-dev mailing list
[hidden email] <http://user/SendEmail.jtp?type=node&node=3185396&i=0>
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines



If you reply to this email, your message will be added to the
    discussion below:
    
http://meego-dev.390449.n3.nabble.com/MeeGo-dev-Top-Application-in-Meego-Tablet-tp2951349p3185396.html

To unsubscribe from [MeeGo-dev] Top Application in Meego Tablet,
click here.



------------------------
View this message in context: Re: [MeeGo-dev] Top Application in Meego
Tablet
<http://meego-dev.390449.n3.nabble.com/MeeGo-dev-Top-Application-in-Meego-Tablet-tp2951349p3185408.html>
Sent from the meego-dev mailing list archive
<http://meego-dev.390449.n3.nabble.com/> at Nabble.com.



___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Top Application in Meego Tablet

2011-07-20 Thread zhchbin
Sorry, I am a fresh man to the mail list.The question is  how to create "Top
Application in Meego Tablet". "Actually our design is such that we need to
display a top application which will display wi-fi status, time etc just
like status bar in tablet is displayed where date, time ,signal strength etc
are displayed. How such application is designed in tablet then ? "
On Wed, Jul 20, 2011 at 9:11 PM, Andre Klapper [via meego-dev] <
ml-node+3185396-1633390618-416...@n3.nabble.com> wrote:

> On Wed, 2011-07-20 at 06:04 -0700, zhchbin wrote:
> > How is this problem going on?
>
> See the rest of the thread.
>
> >  I have the same question while making my
> > applicaiton. Can you help me?
>
> I don't know, as I don't know what "same question" you have.
> Please elaborate and just ask. :)
>
> andre
> --
> Andre Klapper (maemo.org bugmaster | MeeGo QA)
> http://blogs.gnome.org/aklapper/ | http://www.openismus.com
>
> ___
> MeeGo-dev mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=3185396&i=0>
> http://lists.meego.com/listinfo/meego-dev
> http://wiki.meego.com/Mailing_list_guidelines
>
>
> ----------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://meego-dev.390449.n3.nabble.com/MeeGo-dev-Top-Application-in-Meego-Tablet-tp2951349p3185396.html
>  To unsubscribe from [MeeGo-dev] Top Application in Meego Tablet, click
> here<http://meego-dev.390449.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2951349&code=emhjaGJpbkBnbWFpbC5jb218Mjk1MTM0OXwyMzI5OTY5NTE=>.
>
>


--
View this message in context: 
http://meego-dev.390449.n3.nabble.com/MeeGo-dev-Top-Application-in-Meego-Tablet-tp2951349p3185408.html
Sent from the meego-dev mailing list archive at Nabble.com.___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Re: [MeeGo-dev] Top Application in Meego Tablet

2011-07-20 Thread Andre Klapper
On Wed, 2011-07-20 at 06:04 -0700, zhchbin wrote:
> How is this problem going on?

See the rest of the thread.

>  I have the same question while making my
> applicaiton. Can you help me?

I don't know, as I don't know what "same question" you have.
Please elaborate and just ask. :)

andre
-- 
Andre Klapper (maemo.org bugmaster | MeeGo QA)
http://blogs.gnome.org/aklapper/ | http://www.openismus.com

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Top Application in Meego Tablet

2011-07-20 Thread zhchbin
How is this problem going on? I have the same question while making my
applicaiton. Can you help me?

--
View this message in context: 
http://meego-dev.390449.n3.nabble.com/MeeGo-dev-Top-Application-in-Meego-Tablet-tp2951349p3185381.html
Sent from the meego-dev mailing list archive at Nabble.com.
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Top Application in Meego Tablet

2011-05-27 Thread Arjan van de Ven

On 5/27/2011 5:37 PM, Niels Mayer wrote:

On Mon, May 23, 2011 at 7:25 AM, Arjan van de Ven  wrote:

I'm pretty sure the answer is that the concept of "top application" outright
does not exist.

Assuming we're talking the  Window System "X" and its standards, then
yes it does exist, and has existed for a long time -- in a
standard-bearing form since OSF/Motif and CDE (e.g.
XmDIALOG_SYSTEM_MODAL ).

Freedesktop.org has updated the original architecture. However, it
certainly is a concept that exists in X windows. (how else would
"always keep window on top" be implemented in many desktops, or tool
panels, etc).

It is concerning to me, after the attending the recent conference,
that MeeGo may be adding nonstandard extensions and functionality to
the window manager (for video). So it would be nice to understand the
official MeeGo position on working within accepted norms of X Windows
and X Window Manager Protocols. And if they're being extended, that
"upstream" agrees with the  wisdom of the extensions. Having worked
with X window managers since the very beginning, (prior having worked
on X10 which didn't have the concept of a separate window manager),
this is not the sort of thing that should be extended or overloaded in
a cavalier fashion, even for a new paradigm like "Tablet."



I think the short answer is that the concept does not make sense in the 
UI design, so the hint is ignored.


the longer answer is that with the rapid move to Wayland... does it even 
matter what Motif did? That whole layer

is about to be thrown out.

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Top Application in Meego Tablet

2011-05-27 Thread Niels Mayer
On Mon, May 23, 2011 at 7:25 AM, Arjan van de Ven  wrote:
> I'm pretty sure the answer is that the concept of "top application" outright
> does not exist.

Assuming we're talking the  Window System "X" and its standards, then
yes it does exist, and has existed for a long time -- in a
standard-bearing form since OSF/Motif and CDE (e.g.
XmDIALOG_SYSTEM_MODAL ).

Freedesktop.org has updated the original architecture. However, it
certainly is a concept that exists in X windows. (how else would
"always keep window on top" be implemented in many desktops, or tool
panels, etc).

It is concerning to me, after the attending the recent conference,
that MeeGo may be adding nonstandard extensions and functionality to
the window manager (for video). So it would be nice to understand the
official MeeGo position on working within accepted norms of X Windows
and X Window Manager Protocols. And if they're being extended, that
"upstream" agrees with the  wisdom of the extensions. Having worked
with X window managers since the very beginning, (prior having worked
on X10 which didn't have the concept of a separate window manager),
this is not the sort of thing that should be extended or overloaded in
a cavalier fashion, even for a new paradigm like "Tablet."

For more info, regarding the standard window types and their behavior,
see below:

http://standards.freedesktop.org/wm-spec/wm-spec-1.4.html#id2551529

///
_NET_WM_WINDOW_TYPE

_NET_WM_WINDOW_TYPE, ATOM[]/32

This SHOULD be set by the Client before mapping to a list of atoms
indicating the functional type of the window. This property SHOULD be
used by the window manager in determining the decoration, stacking
position and other behavior of the window. The Client SHOULD specify
window types in order of preference (the first being most preferable)
but MUST include at least one of the basic window type atoms from the
list below. This is to allow for extension of the list of types whilst
providing default behavior for Window Managers that do not recognize
the extensions.

Rationale: This hint is intended to replace the MOTIF hints. One of
the objections to the MOTIF hints is that they are a purely visual
description of the window decoration. By describing the function of
the window, the Window Manager can apply consistent decoration and
behavior to windows of the same type. Possible examples of behavior
include keeping dock/panels on top or allowing pinnable menus /
toolbars to only be hidden when another window has focus (NextStep
style).

_NET_WM_WINDOW_TYPE_DESKTOP, ATOM
_NET_WM_WINDOW_TYPE_DOCK, ATOM
_NET_WM_WINDOW_TYPE_TOOLBAR, ATOM
_NET_WM_WINDOW_TYPE_MENU, ATOM
_NET_WM_WINDOW_TYPE_UTILITY, ATOM
_NET_WM_WINDOW_TYPE_SPLASH, ATOM
_NET_WM_WINDOW_TYPE_DIALOG, ATOM
_NET_WM_WINDOW_TYPE_NORMAL, ATOM

_NET_WM_WINDOW_TYPE_DESKTOP indicates a desktop feature. This can
include a single window containing desktop icons with the same
dimensions as the screen, allowing the desktop environment to have
full control of the desktop, without the need for proxying root window
clicks.

_NET_WM_WINDOW_TYPE_DOCK indicates a dock or panel feature. Typically
a Window Manager would keep such windows on top of all other windows.

_NET_WM_WINDOW_TYPE_TOOLBAR and _NET_WM_WINDOW_TYPE_MENU indicate
toolbar and pinnable menu windows, respectively (i.e. toolbars and
menus "torn off" from the main application). Windows of this type may
set the WM_TRANSIENT_FOR hint indicating the main application window.

_NET_WM_WINDOW_TYPE_UTILITY indicates a small persistent utility
window, such as a palette or toolbox. It is distinct from type TOOLBAR
because it does not correspond to a toolbar torn off from the main
application. It's distinct from type DIALOG because it isn't a
transient dialog, the user will probably keep it open while they're
working. Windows of this type may set the WM_TRANSIENT_FOR hint
indicating the main application window.

_NET_WM_WINDOW_TYPE_SPLASH indicates that the window is a splash
screen displayed as an application is starting up.

_NET_WM_WINDOW_TYPE_DIALOG indicates that this is a dialog window. If
_NET_WM_WINDOW_TYPE is not set, then windows with WM_TRANSIENT_FOR set
MUST be taken as this type.

_NET_WM_WINDOW_TYPE_NORMAL indicates that this is a normal, top-level
window. Windows with neither _NET_WM_WINDOW_TYPE nor WM_TRANSIENT_FOR
set MUST be taken as this type.
///

Specifically,
http://standards.freedesktop.org/wm-spec/wm-spec-1.4.html#id2505639

/
Layered stacking order

Some window managers keep the toplevel windows not in a single linear
stack, but subdivide the stack into several layers. There is a lot of
variation among the features of layered stacking order
implementations. The number of layers may or may not be fixed. The
layer of a toplevel window may be explicit and directly modifiable or
derived from other properties of the window, e.g. the type of the
window. The stacking order may or may not be strict, i.e. not all

Re: [MeeGo-dev] Top Application in Meego Tablet

2011-05-24 Thread Vivek Talwar
Hi Arjan,
   Thanks for your response. Actually our design is such that we need 
to display a top application which will display wi-fi status, time etc just 
like status bar in tablet is displayed where date, time ,signal strength etc 
are displayed. How such application is designed in tablet then ?

Thanks and Regards,
Vivek Talwar

From: meego-dev-boun...@meego.com [meego-dev-boun...@meego.com] On Behalf Of 
Arjan van de Ven [ar...@linux.intel.com]
Sent: Monday, May 23, 2011 7:55 PM
To: Vivek Talwar
Cc: meego-dev@meego.com
Subject: Re: [MeeGo-dev] Top Application in Meego Tablet

On 5/23/2011 2:30 AM, Vivek Talwar wrote:
> Hi Rusty,
>   Top Application means the UI Application which stays on top of other 
> applications . We generally do this in Qt by setting windows flag "stay on 
> top". So what we have observed in Meego tablet version 
> "meego-tablet-ia32-pinetrail-1.2.80.0.20110503.2" the top application is 
> hidden for couple of seconds whenever we make some other application which is 
> not top application. This behavior was not in earlier meego netbook versions.
>

I'm pretty sure the answer is that the concept of "top application"
outright does not exist. There is only one application visible at a time
in the design, and the window manager decides which app that is.
Some application deciding to want to override that with a "top" hint...
not very nice at all.

if MeeGo does not ignore this hint, that'd be a bug... we should just
outright ignore it.

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

CONFIDENTIAL AND PROPRIETARY INFORMATION NOTICE:
The information contained in and/or attached to this e-mail is Confidential and 
Proprietary Information of frog design Inc. and its operating companies and 
subsidiaries. This information is intended only for the confidential use of the 
person(s) designated above. If this message has reached a person or persons not 
designated above, you are hereby notified that you have received this document 
in error and that any review, dissemination, distribution or copying of this 
message is strictly prohibited. If you are not a designated recipient, please 
notify frog design Inc.  immediately by reply e-mail and delete the original 
message together with any and all attachments.

"DISCLAIMER: This message is proprietary to the Aricent Group and is intended 
solely for the use of the individual to whom it is addressed. It may contain 
privileged or confidential information and should not be circulated or used for 
any purpose other than for what it is intended. If you have received this 
message in error, please notify the originator immediately. If you are not the 
intended recipient, you are notified that you are strictly prohibited from 
using, copying, altering, or disclosing the contents of this message. The 
Aricent Group accepts no responsibility for loss or damage arising from the use 
of the information transmitted by this email including damage from virus."
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Top Application in Meego Tablet

2011-05-23 Thread Arjan van de Ven

On 5/23/2011 2:30 AM, Vivek Talwar wrote:

Hi Rusty,
  Top Application means the UI Application which stays on top of other applications . We 
generally do this in Qt by setting windows flag "stay on top". So what we have observed 
in Meego tablet version "meego-tablet-ia32-pinetrail-1.2.80.0.20110503.2" the top 
application is hidden for couple of seconds whenever we make some other application which is not 
top application. This behavior was not in earlier meego netbook versions.



I'm pretty sure the answer is that the concept of "top application" 
outright does not exist. There is only one application visible at a time 
in the design, and the window manager decides which app that is.
Some application deciding to want to override that with a "top" hint... 
not very nice at all.


if MeeGo does not ignore this hint, that'd be a bug... we should just 
outright ignore it.


___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Top Application in Meego Tablet

2011-05-23 Thread Vivek Talwar
Hi Rusty,
 Top Application means the UI Application which stays on top of other 
applications . We generally do this in Qt by setting windows flag "stay on 
top". So what we have observed in Meego tablet version 
"meego-tablet-ia32-pinetrail-1.2.80.0.20110503.2" the top application is hidden 
for couple of seconds whenever we make some other application which is not top 
application. This behavior was not in earlier meego netbook versions.

Thanks and Regards,
Vivek Talwar

From: Rusty Lynch [rusty.ly...@intel.com]
Sent: Tuesday, May 17, 2011 11:35 PM
To: Vivek Talwar
Cc: meego-dev@meego.com
Subject: Re: [MeeGo-dev] Top Application in Meego Tablet

On 05/16/2011 11:06 PM, Vivek Talwar wrote:
> Hi All,
>I have some queries on Meego's Top Application.  Qt/Qml top 
> applications in Meego tablet version are behaving differently. In meego 
> tablet, the top application is taking a short span of time say around 1-2 
> second while displaying which is little annoying.  Although such behavior is 
> not in any netbook or handset version of meego. I have some queries regarding 
> same below:
>
>
I'm not understanding the question.  Are you talking about /usr/bin/top,
or the foreground application (i.e. what ever app is on the top of the
window stacking order)?  And 'taking a short span of time'?

 --rusty

CONFIDENTIAL AND PROPRIETARY INFORMATION NOTICE:
The information contained in and/or attached to this e-mail is Confidential and 
Proprietary Information of frog design Inc. and its operating companies and 
subsidiaries. This information is intended only for the confidential use of the 
person(s) designated above. If this message has reached a person or persons not 
designated above, you are hereby notified that you have received this document 
in error and that any review, dissemination, distribution or copying of this 
message is strictly prohibited. If you are not a designated recipient, please 
notify frog design Inc.  immediately by reply e-mail and delete the original 
message together with any and all attachments.

"DISCLAIMER: This message is proprietary to the Aricent Group and is intended 
solely for the use of the individual to whom it is addressed. It may contain 
privileged or confidential information and should not be circulated or used for 
any purpose other than for what it is intended. If you have received this 
message in error, please notify the originator immediately. If you are not the 
intended recipient, you are notified that you are strictly prohibited from 
using, copying, altering, or disclosing the contents of this message. The 
Aricent Group accepts no responsibility for loss or damage arising from the use 
of the information transmitted by this email including damage from virus."
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Top Application in Meego Tablet

2011-05-17 Thread Rusty Lynch

On 05/16/2011 11:06 PM, Vivek Talwar wrote:

Hi All,
   I have some queries on Meego's Top Application.  Qt/Qml top applications 
in Meego tablet version are behaving differently. In meego tablet, the top 
application is taking a short span of time say around 1-2 second while 
displaying which is little annoying.  Although such behavior is not in any 
netbook or handset version of meego. I have some queries regarding same below:

   
I'm not understanding the question.  Are you talking about /usr/bin/top, 
or the foreground application (i.e. what ever app is on the top of the 
window stacking order)?  And 'taking a short span of time'?


--rusty
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


[MeeGo-dev] Top Application in Meego Tablet

2011-05-16 Thread Vivek Talwar
Hi All,
  I have some queries on Meego's Top Application.  Qt/Qml top applications 
in Meego tablet version are behaving differently. In meego tablet, the top 
application is taking a short span of time say around 1-2 second while 
displaying which is little annoying.  Although such behavior is not in any 
netbook or handset version of meego. I have some queries regarding same below:

1. Is this is due to some theme in Meego tablet ?
2. How meegotouch applications are developed?

Thanks and Regards,
Vivek Talwar

"DISCLAIMER: This message is proprietary to the Aricent Group and is intended 
solely for the use of the individual to whom it is addressed. It may contain 
privileged or confidential information and should not be circulated or used for 
any purpose other than for what it is intended. If you have received this 
message in error, please notify the originator immediately. If you are not the 
intended recipient, you are notified that you are strictly prohibited from 
using, copying, altering, or disclosing the contents of this message. The 
Aricent Group accepts no responsibility for loss or damage arising from the use 
of the information transmitted by this email including damage from virus."
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines