-
At the point in time that the bug occurs, only the event dispatch thread is running in my code. I can try to put together an example, but odds are I'll be studying for finals, graduate, and loose access to the lab before I get around to it, so no guarantees ;) And I don't run Linux at home. But if I do anything with the project in the future I'll try to get it tested on Linux for sure...
2009-05-06 17:23:20 UTC in Buoy
-
Gaa! okay, figured it out. It appears to be the windows manager. Evidently there are problems between either Buoy or Awt/Swing and Gnome but not Fluxbox. I'm using menus in a very traditional manner so I don't think it's my code interacting poorly with Gnome.
So, then my question becomes what is the right track of action now? Not sure how to narrow it down from here so I don't know who...
2009-05-04 00:49:54 UTC in Buoy
-
Gaa! okay, figured it out. It appears to be the windows manager. Evidently there are problems between either Buoy or Awt/Swing and Gnome but not Fluxbox. I'm using menus in a very traditional manner so I don't think it's my code interacting poorly with Gnome.
So, then my question becomes what is the right track of action now? Not sure how to narrow it down from here so I don't know who...
2009-05-03 23:00:16 UTC in Buoy
-
I have a very normal menu setup for my program, but I tried it on the 64 bit HP workstations running Linux in the CSU lab today and sometimes the last few items on the menu don't generate events. Always the elements at the end of the menu (it's a submenu of a menu actually). The event handler only gets called about 50% of the time for those (I have to click the menu repeatedly to eventually...
2009-05-03 22:05:12 UTC in Buoy
-
Sure. Here is a bar-bones example showing it:
http://sites.google.com/site/johnburak/Home/BuoyTest3.zip
I just exported my Eclipse project as a zip file, but it should all be there and in order. You'll notice I included my work-around to the bug in the infinite drag listener class. It's two commented lines in the mouse drag listener function. I commented them out so the original bug...
2009-04-26 03:27:00 UTC in Buoy
-
I slightly modified the ComponentsDialog and PanelDialog classes from AoI, but only very slightly. Most or all of the change was cosmetic. I am creating either of these dialogs with ValueSelectors (from AoI) as their contents.
If I do so in constructors and "normal" functions (non-mouse-press initiated functions) everything is fine. But when I create such a dialog inside a...
2009-04-25 23:17:08 UTC in Buoy
-
I was using the native look and feel, as you suggested. But, turns out it was the lightweight popups! I added the second line of code you suggested and the problem is gone.
So, is this a bug in Awt or Swing? If so, is there a chance anyone at Sun will read my posting if I try to report it? I don't even know where to report bugs in the standard libraries.
- John.
2009-04-24 04:23:19 UTC in Buoy
-
I've added a menu to a BFrame and it has a sub menu containing some items. When I click on the menu and drag down to the sub-menu's name the sub menu opens. The sub menu slightly overlaps the menu, which is correct for my theme. If I then drag the mouse off the menu item (the sub-menu's name on the menu) then the shading/highlighting of the item now overlaps the sub menu. I noticed it does...
2009-04-22 05:53:45 UTC in Buoy
-
Oh good. I'll try that. :) All of my GUI manipulation is in the ProcedureEditor constructor, so I'll put a call to that in run() above.
That is a bit ugly code though. It's AWT so I suppose that makes sense. I don't like creating anonymous inner classes inside a parameter lists (and just to run a single function). Perhaps in keeping with the spirit of Buoy, Buoy could wrap that...
2009-04-15 04:48:06 UTC in Buoy
-
> That means you're doing something else even earlier which is causing
> the event thread to get started up.
I'm really not sure where I would have. Is there an easy way to figure out what calls can start the event handler? I can search the Buoy source files if I know what function call I'm looking for. I seem to have my code working well now (fingers crossed). But it brinks up...
2009-04-15 04:23:24 UTC in Buoy