aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Losing widgets bug.  (Read 9288 times)

xyzzy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Losing widgets bug.
« on: April 17, 2004, 03:41:20 AM »

I think I may have experimentally identified a condition for losing display of certain widgets.

I have seen this with v1.2.6, v2.0.0rc1 and now v2.0.0rc2.

Visable effects of the bug are that the button widgets cease being visible, but can be clicked on, Pop-up menus are similarly invisible but present and the ability to go from queue screen to upload screen is lost, but not the other way round.  In preferances click boxes are present and the ticks are visible, but numeric entry boxes have invisible text.  (Get the picture?)  The server log window is blank until scrolled.  It then works fine, however it is not repainted on window refresh.

This has been seen with various versions of wxGTK and the current version is 2.4.2 linked against GTK1.

I think one of the activations is completing a file.  The temporary and saved directories are on the same filesystem, but different directories.  Not sure if this will make any difference but it might do if there is a race condition going on.

Running on Linux, basically Gentoo.  If you need me to test something then just ask.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Losing widgets bug.
« Reply #1 on: April 17, 2004, 03:51:36 AM »

hiya.. well u are not the only one having probs with gentoo & amule ..
some users said after they leave amule running and switch to the search window (during the runtime) everything was ok .. try it plz

greets

xyzzy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Losing widgets bug.
« Reply #2 on: April 17, 2004, 04:03:15 AM »

I can switch between windows fine.  They all have lost widgets.  The search window is a mess.  It appears to be missing the result display window.  Switch back and forth between different windows does't seem to make any difference.

The newish thing that was one of the triggers for the bad behaviour looked like it was completing a download.  I'm not sure whether that will help identify the bug.
Logged

xyzzy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Losing widgets bug.
« Reply #3 on: April 17, 2004, 04:08:00 AM »

Sorry, just to clarify, did you mean to switch to the search window while leaving it running or to switch to it to regain the widgets?

Thanks.
Logged

xyzzy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Losing widgets bug.
« Reply #4 on: April 17, 2004, 01:56:09 PM »

O.k.  I restarted aMule and left it running mainly in the search pane.  It still lost some widgets and the last thing that is displayed is the completion of a file.  (I wasn't at the machine when it happened.)  I haven't had the chance to carefully watch a file finish but it does seem likely that this is part of the cause.

Hope this help in tracking down the bug.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Losing widgets bug.
« Reply #5 on: April 18, 2004, 12:54:47 AM »

oki, thanky
for rc3 we rewrote the completion thread .. should help a lot ;)

greets

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Losing widgets bug.
« Reply #6 on: April 18, 2004, 02:08:12 AM »

Quote
I think one of the activations is completing a file. The temporary and saved directories are on the same filesystem, but different directories. Not sure if this will make any difference but it might do if there is a race condition going on.

3 times he said it before someone told him that the completion was bugged and we rewrote it for rc3 :PPPPPPP
Logged

xyzzy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Losing widgets bug.
« Reply #7 on: April 18, 2004, 02:16:10 AM »

Thanks.  Any idea when rc3 is going to come out or do I need to start using CVS?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Losing widgets bug.
« Reply #8 on: April 18, 2004, 02:18:46 AM »

cvs = rc2 ..
rc3 .. depend to our time & bugs we found ;)

xyzzy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Losing widgets bug.
« Reply #9 on: April 18, 2004, 11:50:21 AM »

Just to confuse things:  I've just had two file completed without widgets getting lost.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Losing widgets bug.
« Reply #10 on: April 18, 2004, 05:15:37 PM »

Because it's a very complex bug that int4
eracts amule, wxGTK and GTK itself... and has something to do with reinstaling an idle handler that gtk seems to try for some unknown reason ;)
Logged

xyzzy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Losing widgets bug.
« Reply #11 on: April 18, 2004, 05:40:20 PM »

Is this idle handler dealt with from wxGTK?  Or is the main amule code doing it?  I've used gtk a bit (via perl) and have had to deal with idle handlers, so if you can point me at the place to look at first, unless you've already fixed it, then I'll have a look.
Logged

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: Losing widgets bug.
« Reply #12 on: April 18, 2004, 06:26:02 PM »

Quote
Originally posted by xyzzy
Just to confuse things:  I've just had two file completed without widgets getting lost.

it's a very complex bug

it happens when amule is in the transfer window AND amule completes a file AND the file is being uploaded to someone (so program suspends upload and restarts after the file is been  moved to incoming directory)
« Last Edit: April 18, 2004, 06:27:54 PM by GhePeU »
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

xyzzy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Losing widgets bug.
« Reply #13 on: April 19, 2004, 12:59:37 AM »

Quote
Originally posted by GhePeU
Quote
Originally posted by xyzzy
Just to confuse things:  I've just had two file completed without widgets getting lost.

it's a very complex bug

it happens when amule is in the transfer window AND amule completes a file AND the file is being uploaded to someone (so program suspends upload and restarts after the file is been  moved to incoming directory)

The condition on being in the transfer window is not necessary. I've seen it occur twice when in the searches pane.
Logged

ender

  • Developer
  • Jr. Member
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 61
    • http://eternallybored.org/
Re: Losing widgets bug.
« Reply #14 on: April 19, 2004, 03:22:20 PM »

Make sure you don't have wx linked against GTK2. I've had the same bug, but it disappeared when I reemerged wxGTK with USE=-gtk2.
Logged
Because 10 billion years' time is so fragile, so ephemeral... it arouses such a bittersweet, almost heartbreaking fondness.
Pages: [1] 2