aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Download window is constant updating  (Read 3697 times)

tux4me

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Download window is constant updating
« on: November 21, 2008, 01:07:42 PM »

Im on Fedora 9

My download window in my own compiled 2.2.1 suddenly started to refresh ever 2 second.
I've been running that for a long time with no problems, so im pretty sure its not a amule bug, but you guys might know whats wrong ;)
It works fine, but it looses focus ever 2 second so i cant use rightclick on files :(

Now i uninstalled 2.2.1 and installed 2.2.2 (not my compile) ..... still same problem and maybe even worse (every 1 second now)

Any ideas why this happen ?
Logged

tux4me

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Download window is constant updating
« Reply #1 on: November 21, 2008, 01:11:50 PM »

ok it IS a aMule bug, hehe, i just discovered that its the "Auto sort files in the download queue" option that makes the window update constant.
I have no idea why this option suddenly is turned on, maybe another bug ?
Logged

ozsd

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Re: Download window is constant updating
« Reply #2 on: November 21, 2008, 03:20:02 PM »

I can confirm that when "Auto sort files in the download queue" is enabled it is difficult to execute some operations: if the next "refresh" happens before you execute the relative option from the menu (e.g. video preview), that option won't have any effect.
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Download window is constant updating
« Reply #3 on: November 23, 2008, 12:23:17 AM »

Have you filed a bug against this? http://bugs.amule.org

Regards.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Download window is constant updating
« Reply #4 on: November 23, 2008, 11:44:39 AM »

That's not a bug. If you rebuild a listcontrol, the context menue goes away, that's simply how it works.
Just switch sorting temporarily to something static, like the name.  :)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Download window is constant updating
« Reply #5 on: November 23, 2008, 01:52:02 PM »

Actually, a good solution would be to disable listctrl update while the context menu is open. However, I don't know how hard it would be to implement and what other bugs it might introduce (e.g. leaving the listctrl update disabled forever, etc...) For now, you should disable auto-sort when you want to use the context menu :(
Logged
concordia cum veritate

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Download window is constant updating
« Reply #6 on: November 25, 2008, 07:07:20 PM »

For me, it's a bug. Emule updates constantly the download list, and it doesn't have this issue with right-clicking (unless you right click a file and in that exact moment its row changes position because of the sorting). My point is: if emule can do it, for sure amule can do it, I think it's just a matter of finding how to tweak the download table.

Regards.

P.S: I'm no developer, so avoid flames about me being clueless on what I said :P
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Download window is constant updating
« Reply #7 on: November 25, 2008, 08:41:41 PM »

if emule can do it, for sure amule can do it
Yeah, we only have to dump wxWidgets and Linux support and switch to MFC.  ;D
Seriously, aMule is using a different GUI platform, and this issue is strongly related to it. There might be a way to work around the problem even with wx (I haven't investigated closely), but then there may be not.
Way worse is the problem with the file detail dialog imho. Open file dialog of a freshly started download with many sources, click and hold the vertical slider and watch it go gaga.  :(
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Download window is constant updating
« Reply #8 on: November 26, 2008, 10:27:36 AM »

For me, it's a bug.
You are right though. The current item gets deselected in aMule's code. That could be changed.
But the listcontrols are getting a major overhaul at the moment anyway. If the problem persists afterwards we can look at it.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon