• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Looking for a workaround for a Bug in Cocoa Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for a workaround for a Bug in Cocoa Window


  • Subject: Re: Looking for a workaround for a Bug in Cocoa Window
  • From: Andreas Monitzer <email@hidden>
  • Date: Wed, 29 Aug 2001 20:47:49 +0200

On Wednesday, August 29, 2001, at 07:49 , Stiphane Sudre wrote:

I have a Window which contains 2 views. One is stuck at the bottom of the window and can be resized horizontallay. Below it, there is a view which can be resized both vertically and horizontally.

+---------------------+
| (1) |
+---------------------+
| |
| (2) |
| |
+---------------------+

This window has a window name and some its dimensions and position are saved.

There seems to be a bug in Cocoa when this window is unarchived. I'm getting this (the problem also appears sometimes in IB: 50% of time when I enter the run mode):

+------------------------------------+
| |
| |
+---------------------+ |
| (1) | |
+---------------------+ |
| | |
| (2) | |
| | |
+---------------------+--------------+

This has been a known bug in Cocoa for ages (maybe a bit longer), I first discovered it in DP4. The only known workaround is to delete the name of the window (so it won't be saved into user defaults) and do the resizing manually.

andy
--
Discussion forthcoming.


References: 
 >Looking for a workaround for a Bug in Cocoa Window (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Abstract classes and methods
  • Next by Date: Re: Faceless tool with AppKit frameworks - SOLUTION
  • Previous by thread: Re: Looking for a workaround for a Bug in Cocoa Window
  • Next by thread: NSArchiver problem
  • Index(es):
    • Date
    • Thread