Tomas, I see the same thing when on a virtual machine running the same version of Ubuntu & JRE as you. All of the other Pivot desktop properties seem to be read and parsed OK, so I don't think that side of things is a problem.
Once Pivot has parsed the '--maximized' property as 'true' it will attempt to make the AWT Frame maximized using http://download.oracle.com/javase/6/docs/api/java/awt/Frame.html#setExtendedState(int) In the Javadocs for that method it states ... 'Note that if the state is not supported on a given platform, nothing will happen. The application may determine if a specific state is available via the java.awt.Toolkit#isFrameStateSupported(int state) method.' I'll try to have a look shortly to see what this combination of Ubuntu & JRE actually returns when passed Toolkit.isFrameStateSupported(java.awt.Frame.MAXIMIZED_BOTH); Chris Chris On 31 July 2011 17:24, Tomas Stenlund <[email protected]> wrote: > Hi everyone, > > I'm having trouble with the --maximized=true flag when running my Pivot > (Pivot 2.0) Application as a desktop application. The maximized flag does > not seem to take any effect when I run it on Ubuntu but it works on Windows > 7. The fullScreen flag works in both environments. Is this a known issue, or > am I missing something here ? > > I was trying to search for something in the issue database but it only shows > the addition of this parameter. > > I'm running on Ubuntu 11.04 (2.6.38-10-generic) on java-6-sun-1.6.0.26. On > Windows 7 I'm using the same version of the JVM. > > Cheers, > > Tomas >
