Carsten, Thanks, Carsten, for your reply. I can appreciate your concerns regarding system security. I'm not asking for control over any window but my own. One that I should have the right to request be at a certain size and placement. I'm not asking that it be above any other app on the system. This is part of a deployment of a suite of apps. It will be the responsibility of this app to launch other apps with a placement to finish a full screen deployment. I have thought about this as a native app with three containers for Web applications but it seems simple enough to set those as properties of the app or within the JavaScript. If setting these properties in the JavaScript would be a security risk maybe it is best to set those properties to the application so the launcher can consider the size of the application when launched. I hope this helps to clarify the intention. We really need a unified launcher that we can use and customize as we develop are HMI. And it needs to look seamless.
Thanks, Art McGee On 20 February 2015 at 14:07, Carsten Haitzler <[email protected]> wrote: > 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]> > -- *Art McGee* Infotainment Engineer Jaguar Land Rover North America, LLC 1419 NW 14th Ave, Portland, Oregon, 97209 JaguarUSA.com <http://www.jaguarusa.com/index.html> | LandRoverUSA.com <http://www.landrover.com/us/en/lr/>
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
