|
From: SourceForge.net <no...@so...> - 2007-09-20 00:29:51
|
Bugs item #1796916, was opened at 2007-09-18 10:50 Message generated for change (Comment added) made by shlomy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1796916&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: editor core Group: None >Status: Closed >Resolution: Fixed Priority: 9 Private: No Submitted By: Shlomy Reinstein (shlomy) >Assigned to: Shlomy Reinstein (shlomy) Summary: Dockables sometimes become blank when floated Initial Comment: Dockable windows in jEdit sometimes become blank when floated (using the "Float" action from the dockable context menu). This problem happens mainly with my recent enhancement to the DockableWindowManager that enables dockables to be moved between docking positions (instead of being replaced by new instances), when movable dockables are floated. But it also happens with the previous version of the DockableWindowManager, without my enhancement (see bug 1773631 for the SVN plugin), when a new instance of a dockable is created in the floating window container (a JFrame). I suspect this might be either a Swing issue, an AWT issue or some timing issue in jEdit. This does not always happen, but with my recent change to the DockableWindowManager it happens a lot for movable dockables that are floated. Note that it usually happens when the dockable is floated from two of the 4 docking positions (e.g. west and east or north and south), but not when it is floated from the other two. ---------------------------------------------------------------------- >Comment By: Shlomy Reinstein (shlomy) Date: 2007-09-20 02:29 Message: Logged In: YES user_id=1477607 Originator: YES Fixed in SVN revision 10600. ---------------------------------------------------------------------- Comment By: Shlomy Reinstein (shlomy) Date: 2007-09-19 08:30 Message: Logged In: YES user_id=1477607 Originator: YES One more link that I found with information that might be useful: (just for the record) http://forum.java.sun.com/thread.jspa?forumID=57&threadID=564177 A developer who had a similar problem found out that he had different windows running in two different threads - the main thread and the event dispatch thread. Once he forced all windows to run in the event dispatch thread, the problem seemed to have disappeared. ---------------------------------------------------------------------- Comment By: Shlomy Reinstein (shlomy) Date: 2007-09-18 11:55 Message: Logged In: YES user_id=1477607 Originator: YES I forgot to mention an important detail: When a MOVABLE dockable window is floated and becomes blank, changing its docking position to one of the 4 docking areas makes it be visible (non-blank) again, and you can see that it was moved because it retains its state. Also note that this problem never happens when the dockable windows are moved inside the jEdit view, it only happens when they are floated. ---------------------------------------------------------------------- Comment By: Shlomy Reinstein (shlomy) Date: 2007-09-18 11:50 Message: Logged In: YES user_id=1477607 Originator: YES The following link might help resolve this problem: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775 It's reported as "Xgl/Compiz/Java 1.5/Swing problem". Users get their windows drawn with no contents, but the widgets behavior are still present. I found some other similar versions of this problem on the web as well. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1796916&group_id=588 |