Reviewed by John.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Feb 2005 17:50:57 +0000 (17:50 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Feb 2005 17:50:57 +0000 (17:50 +0000)
        - fixed <rdar://problem/4005435> Safari hung while pasting text into a <textarea> (Panther-only)

        * kwq/KWQTextEdit.mm: (QTextEdit::setScrollBarModes): Don't setAutohidesScrollers:YES on Panther.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8646 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/kwq/KWQTextEdit.mm

index a68fa5c26322412137f0d82a7a86e7839321f002..e6aa139ab1cc06c6023cd2c2e5f3a100d823e7af 100644 (file)
@@ -1,3 +1,11 @@
+2005-02-21  Darin Adler  <darin@apple.com>
+
+        Reviewed by John.
+
+        - fixed <rdar://problem/4005435> Safari hung while pasting text into a <textarea> (Panther-only)
+
+        * kwq/KWQTextEdit.mm: (QTextEdit::setScrollBarModes): Don't setAutohidesScrollers:YES on Panther.
+
 2005-02-21  Ken Kocienda  <kocienda@apple.com>
 
         Reviewed by John
index 9db274042e8e93b70b586fe3ca70770d4395d5e5..90ba3b17c0499baaaa8c3ece4512be90572c8c0d 100644 (file)
@@ -132,7 +132,12 @@ void QTextEdit::setScrollBarModes(ScrollBarMode hMode, ScrollBarMode vMode)
 
     [textView setHasHorizontalScroller:hMode != AlwaysOff];
     [textView setHasVerticalScroller:vMode != AlwaysOff];
+#if !BUILDING_ON_PANTHER
+    // Bugs 3890352 and 4005435 are the reason we can't handle auto-hiding on Panther.
+    // Basically, the text machinery seems to be able to handle the case where new text
+    // causes the text view to become more narrow on Tiger, but not on Panther.
     [textView setAutohidesScrollers:autohides];
+#endif
 
     KWQ_UNBLOCK_EXCEPTIONS;
 }