From: <no...@so...> - 2002-12-18 20:54:39
|
Bugs item #631946, was opened at 2002-11-01 20:45 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=631946&group_id=588 Category: editor core Group: minor bug >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Jani Latvala (janilxx) Assigned to: Nobody/Anonymous (nobody) Summary: jEdit doesn't remember if maximized Initial Comment: jEdit 4.1pre5 Win 2000 When I start jEdit it is not ever maximized. It is almost full size, but not maximized. And I maximize it and quit and start again. Again, not maximized. It should be able to to set jEdit to start in the previously selected windows size. ---------------------------------------------------------------------- >Comment By: Slava Pestov (spestov) Date: 2002-12-19 09:54 Message: Logged In: YES user_id=2280 fixed in 4.1pre7. ---------------------------------------------------------------------- Comment By: Jani Latvala (janilxx) Date: 2002-12-04 20:06 Message: Logged In: YES user_id=640224 Addition to my last comment: Actually not so weird at all. The jEdit window is not actually maximized but MS Windows taskbar size change moved the jEdit Window to the correct place. And jEdit can remember that position when restarted. BUT if I use maximize button in jEdit and close it. Then start it again, the original problem arises. ---------------------------------------------------------------------- Comment By: Jani Latvala (janilxx) Date: 2002-12-04 19:58 Message: Logged In: YES user_id=640224 I opened my computer again today. Started jEdit. And wow, it is maximized correclty. So the MS Windows taskbar's size change descriped in my last comment is still working. This was so weird :) ---------------------------------------------------------------------- Comment By: Jani Latvala (janilxx) Date: 2002-12-03 20:07 Message: Logged In: YES user_id=640224 I am using Java 1.4 Sun may have changed fullscreen behaviour in windows and / or there is now a bug. I have not tried with 1.4.1 It seems to me that the jEdit window (at least in windows 2000 with jdk1.4) is almost maximized. The horizontal size is correct. Vertical size is the [screen vertical size] - [windows taskbar's size (* ] and the window is centralized vertically (not starting from the topleft corner but about half of the size of Windows tasbar below the topleft corner). *) Windows's taskbar size here = Taskbar's "regular" size, only one line of buttons. When I minimize Windows taskbar and set it back to "one line" -size, the jEdit Window is positioned again and correctly. It is positioned to the topleft corner and the whole window is visible (no parts behind Windows taskbar). This amazed me. What the hell! After I changed Windows taskbar size to minimum and back. And I closed jEdit and restarted it. Now jEdit window is maximized correctly right after startup!!! This haven't happened before! It may be that restarting computer makes this fail again. This definitely sounds like a bug to me. I checked new APIs for 1.4 and found this: http://java.sun.com/j2se/1.4/docs/api/java/awt/GraphicsDevice.html#setFullScreenWindow(java.awt.Window) It can be used this way from for example JFrame: GraphicsConfiguration gc; GraphicsDevice gd; gc = getGraphicsConfiguration(); gd = gc.getDevice(); gd.setFullScreenWindow( [[window here]] ); Maybe this could help with Java 1.4 or maybe this is just the buggy code. ---------------------------------------------------------------------- Comment By: Shane (squindler) Date: 2002-12-03 11:57 Message: Logged In: YES user_id=454880 I'm also getting this problem with various versions of jEdit using windows XP. Me and some friends at uni have been trying to figure this out and think it may actually be a Sun Java problem with 2000/XP in general as a friends app also will not remember fullscreen state in 2000/XP - however that said there is sure to be a workaround for this. The windows does however seem to remember it is fullscreen SIZE however it's offest down the screen so that the status bar is not visible, not a huge problem just an annoyance to have to fullscreen jEdit every time its run... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=631946&group_id=588 |