bugGNUstep - Bugs: bug #29709, Windows: Maximize button in a...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29709: Windows: Maximize button in a window title bar is always grayed out

Submitted by:  Eric Wasylishen <ericw>
Submitted on:  Wed 28 Apr 2010 10:37:24 PM UTC  
 
Category: BackendSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 07 Jul 2010 05:49:45 PM UTC, comment #2:

Patch committed in r30933

Eric Wasylishen <ericw>
Project Member
Wed 28 Apr 2010 10:58:17 PM UTC, comment #1:

I have attached a proposed patch to fix this.

(file #20365)

Eric Wasylishen <ericw>
Project Member
Wed 28 Apr 2010 10:37:24 PM UTC, original submission:

The first step in fixing this is -[WIN32Server windowStyleForGSStyle:] should use WS_MAXIMIZEBOX in some cases.

e.g.
if ((style & NSResizableWindowMask) == NSResizableWindowMask)
style |= WS_SIZEBOX | WS_MAXIMIZEBOX;

However this isn't quite enough - if you do this and then maximize a window, GNUstep doesn't seem to be aware that the window size changed, and acts weird.

Eric Wasylishen <ericw>
Project Member

 

Attached Files
file #20365:  maximize.patch added by ericw (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ericw (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Jul 2010 05:49:45 PM UTCericwStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 28 Apr 2010 11:01:02 PM UTCericwStatusNone=>Ready For Test
    Wed 28 Apr 2010 10:58:17 PM UTCericwAttached File-=>Added maximize.patch, #20365

    Back to the top


    Powered by Savane 3.1-cleanup1