mdrasmus / keepnote

Note-taking and organization app
http://keepnote.org
Other
177 stars 88 forks source link

Always goes full screen when restoring from minimized. #366

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have it in windows or half-screen (aero-snap) mode, not in full screen.
2. Minimize the program.
3. Restore the program from minimized state.

What is the expected output? What do you see instead?
It should should come up at the same windows size and position that it had 
before being minimized. Instead when I restore from the taskbar, it always goes 
to full screen/maximized.

What version of the product are you using? On what operating system?
Using latest version (0.6.6) on Windows 7 Ultimate.

Please provide any additional information below.
This is just on my machine so far. I can test this on other windows 7 machines 
if needed.

Original issue reported on code.google.com by odi...@gmail.com on 22 Nov 2010 at 4:21

GoogleCodeExporter commented 9 years ago
This is strange.  I am unable to reproduce on windows xp.  Maybe this is a 
windows 7 issue.  Unfortunately, I do not have a windows 7 box to test this on. 
 Sorry for the inconvenience.

Matt

Original comment by matt.rasmus@gmail.com on 9 Dec 2010 at 3:51

GoogleCodeExporter commented 9 years ago
this is indeed a new windows 7 feature.

i have the same issue. when snapping KeepNote's window to either left or right 
screen edges, when minimized and then restored, it goes back to its previous 
window position instead of its "snapped state" (= left or right half of screen).

i tried finding reference to this new windows 7 feature in MSDN, but only thing 
i find is the end-user explanation of this "snap" feature. most apps work as-is 
with this feature, so i wonder why KeepNote doesn't comply. it probably has to 
do with how GTK handles ShowWindow calls and such, but i have no other GTK 
application at hand to test this theory.

Original comment by daphnee....@gmail.com on 11 Jan 2012 at 7:54