JidePopup window grows infinitely taller

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

JidePopup window grows infinitely taller

Postby mcdev1 » Mon Nov 09, 2009 2:45 pm

I noticed in my application that each time a button that displays a JidePopup is clicked, the popup's window gets slightly taller, so that displaying the popup several times results in a noticeably larger popup. This is happening in the demo (PopupDemo) also.
mcdev1
 
Posts: 4
Joined: Mon Nov 09, 2009 2:40 pm

Re: JidePopup window grows infinitely taller

Postby JIDE Support » Mon Nov 09, 2009 6:08 pm

We did fix an issue in 2.7.1. The bug report is http://www.jidesoft.com/forum/viewtopic.php?f=5&t=7921&p=39410#p39410. Please try a release later than 2.7.1 if you are on earlier release.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: JidePopup window grows infinitely taller

Postby mcdev1 » Mon Nov 09, 2009 7:12 pm

I was using version 2.7.4 and I upgraded to 2.8.0 and I can still reproduce it with this small test case.

Code: Select all
import com.jidesoft.popup.JidePopup;
import java.awt.event.*;
import javax.swing.*;


public class JidePopupTest {


    public static void main(String[] args) {
        final JFrame frame = new JFrame();
        final JButton button = new JButton("Show popup");
        frame.getContentPane().add(button);
        final JidePopup popup = new JidePopup();
        button.addActionListener(new ActionListener() {


            public void actionPerformed(ActionEvent e) {
//                popup.setPreferredPopupSize(null);
                popup.showPopup(button);
            }


        });
        final JPanel popupContentPane = new JPanel();
        popupContentPane.add(new JLabel("popup content pane"));
        popup.setContentPane(popupContentPane);
        frame.setSize(200, 100);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);
    }


}


The workaround of setPreferredPopupSize(null) still works.

The demo on the main page (http://www.jidesoft.com/products/1.4/jide_demo.jnlp) has this problem also, and I assume it is using the latest version also since it does not seem to list a library version.
mcdev1
 
Posts: 4
Joined: Mon Nov 09, 2009 2:40 pm

Re: JidePopup window grows infinitely taller

Postby JIDE Support » Mon Nov 09, 2009 10:27 pm

Thanks for your test case. We reproduced it and will fix it in 2.8.1 and 2.7.6.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: JidePopup window grows infinitely taller

Postby JIDE Support » Fri Nov 20, 2009 6:16 pm

Just so you know, this is fixed in 2.7.6 release.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: JidePopup window grows infinitely taller

Postby JIDE Support » Fri Dec 04, 2009 3:48 pm

Just so you know, this is also fixed in 2.8.1 release.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 60 guests