bugGNUstep - Bugs: bug #18838, NSToolbar + window size storing

Group
 
 

bug #18838: NSToolbar + window size storing

Submitter:  Günther Noack <guenthernoack>
Submitted:  Sat 20 Jan 2007 07:02:19 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Change Request Status:  None
Privacy:  Public Assigned to:  qmathe
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 21 Aug 2009 09:23:02 PM UTC, comment #3: 

Is this problem still present after the NSToolbar reimplementation?

Fred Kiefer <FredKiefer>
Group Member
Wed 28 Mar 2007 10:24:42 PM UTC, comment #2: 

Hi,

For now toolbar view is part of the the content view. I plan to change this later, then your issue should be resolved automatically.

It's useful to know you can call -[NSWindow contentViewWithoutToolbar] and -[NSWindow setContentViewWithoutToolbar:(NSView *)] to manipulate the window content without touching the toolbar at the same time.

Thanks for the report.

Quentin Mathé <qmathe>
Group Member
Tue 06 Feb 2007 07:59:32 AM UTC, comment #1: 

Günther,

I'd be interested to see code for this, as I don't think it's happening for me.  I do see the window move down the screen a few pixels each time (but that needs to be a different bug report), but its height doesn't change.  I take it your window gets bigger (or gets smaller??) each time you start up ?

Regards,
Paddy

Paddy Smith <padski>
Sat 20 Jan 2007 07:02:19 PM UTC, original submission:  


When using the AppKit's automatic window size storing, a window's height is enlarged by the height of the toolbar if you don't disable the toolbar before storing. I think it's very unintuitive.

I don't know what the intended behaviour of NSToolbar in Cocoa is, but I wouldn't be surprised if they stored a window's coordinates without the toolbar being considered part of the window.

Depending on the conformity of the GNUstep implementation to the Cocoa AppKit, this change request is possibly to be considered a bug.

-Guenther

Günther Noack <guenthernoack>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by qmathe (Posted a comment)
  • -email is unavailable- added by padski (Posted a comment)
  • -email is unavailable- added by guenthernoack (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-03-28 qmathe Assigned toNone qmathe

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code