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

 
 

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

bug #18838: NSToolbar + window size storing

Submitted by:  Günther Noack <guenthernoack>
Submitted on:  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:  Quentin Mathé <qmathe>
Open/Closed:  Open

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

Is this problem still present after the NSToolbar reimplementation?

Fred Kiefer <FredKiefer>
Project 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>
Project MemberIn charge of this item.
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>

 

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)
  •  

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

    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.3