Re: Maximize on Windows 7 seems broken.
- From: James Steward <jamessteward optusnet com au>
- To: gtk-app-devel-list gnome org
- Subject: Re: Maximize on Windows 7 seems broken.
- Date: Fri, 13 May 2011 09:00:39 +1000
On 13/05/2011 8:03 AM, James Steward wrote:
On 11/05/2011 8:07 AM, James Steward wrote:
Hi,
I'm developing on Windows 7, 64 bit, using MinGW/MSYS for familiarity
with a Posix type system.
I have installed gtk+-bundle_2.22.1-20101227_win32.zip, and building a
32bit app for compatibility.
My application calls gtk_window_maximize(GTK_WINDOW(window)); but the
resulting window is not maximized properly. It sits below the top of
the screen, and is cut off at the bottom of the screen.
Also, restoring the window, then dragging to the top of the screen to
allow Bill to maximize it results in the same.
Running on an XP machine, the maximize works fine, as it does on Linux.
Is this a known Windows 7 (possibly also Vista) problem with GTK+ apps?
Is there a fix?
I've googled around, but not hit on any solutions yet.
I have a v small test case. Can I attach it here? Let's find out...
I also have a screenshot if anyone is interested.
Well, that didn't seem to work very well. In the meantime I've found
the answer. I had these properties set on the main window.
<property name="window_position">center-always</property>
<property name="default_width">1024</property>
Removing them and the window maximizes properly. The hint came from bug
https://bugzilla.gnome.org/show_bug.cgi?id=587591 . Hope this helps
someone else.
Regards,
James.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]