JDK-6396632 : GTK L&F:JDialog doesn't have minimum and maximum bounds while resize by compare with native.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2006-03-10
  • Updated: 2010-04-02
  • Resolved: 2006-03-10
Related Reports
Duplicate :  
Description
Bug Info:
=========
I was trying to reduce the height or width of jdailog window,it allows until all the components hide in the container but while compare with native dailog it allows the user to reduce the height or width at some extant and its not allowing the user to hide the dialog container components.

Please check the attached images for compare.

Steps to Reproduce:
===================
1. Open any dialog demo apps with GTK Look And Feel.
2. Place the cursor on top of the window and the cursor shape changes to allow the resize.
3. Reduce the dailog screen height.

It allows the user until the top window title bar reaches the bottom and it hides the dailog container.But while compare with native it has some minimum and maximum bounds.

Comments
EVALUATION Dialogs will enforce a minimum size, if it is set. See 4320050. There is also an open bug about it not respecting maximum size, 6200438. Closing as a duplicate of the former.
10-03-2006