On Fri, 20 Feb 2015 07:43:02 -0800 "McGee, Art" <[email protected]>
said:

> I'm interested in creating a single app that performs a launcher like
> function.  This app would be fixed to the top of the screen and fill the
> width of the screen.  Is there a way to fix the size and position of an app
> when it is launched?  I've tried configuring the config.xml with height and
> width properties.  I have also tried using 'window.moveto' and
> 'window.resizeto' functions of the DOM to cause a resize of the application
> on start.  Neather has worked.  Is this a Featured that would be added or
> fixed within crosswalk?  What every input you can give on this would be
> helpful

no. this isn't possible. and likely won't be any time soon due to window
policies. (technically a native app as opposed to web app could work around
this and pop up something in a fixed location and size, but you'd have a bunch
of gotchas you'd have to overcome, and this is simple a weakness in x11
allowing such a bypass, which a move to wayland will nicely plug and disallow).

what you want is something like a ux "container" like a systray on desktops, or
like the android notification pulldown panel where you can have some element
added to it like music controls, but have it permanently there. as such no such
thing exists. what do you do with the apps that are now obscured if you did
have it? what if 2 or more apps want to put something there? how do you
handle switching or priority etc. - important controls of other normal app
windows are there at the top and now cannot be seen or interacted with as a
user? it's a matter of usability enforcement to not allow such things to happen
"arbitrarily". now you could forcibly resize all other application windows so
they are now shorter than the screen in height. while technically possible,
this will break many apps because i know that their programmers and designers
don't even think about window resizing and thus their layout and usability will
be totally broken.

-- 
Carsten Haitzler (The Rasterman) <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to