hardaker / CuteCW

A Morse Code Training Application
http://www.hamtools.org/cutecw/
Other
30 stars 8 forks source link

sound stops working after a short time #1

Closed nicolaihess closed 13 years ago

nicolaihess commented 13 years ago

Hi, I tested cutecw 0.5-1 from maemo extras-testing repository. I started recognition training, but the sound stops working after a few minutes. I always have to restart the application to get sound working again.

btw, the ui is much more useable since the last version, only the "Read to me" UI is still hardly usable.

regards Nicolai

hardaker commented 13 years ago

Thanks for the note. The Qt sound library has some issues. Qt was designed to be a GUI platform and that's where they concentrate the most, and it shows. The sound support is a nice platform-independent class to use but has bugs. The linux and windows versions work just fine. The Maemo one, I noticed too, stops after a few minutes. The OS X one plays sounds for a few seconds before it stops.

I'll try and figure out if there is a way I can stop triggering the Qt bug (and hope that it'll be fixed in future Qt Releases).

hardaker commented 13 years ago

(FYI: the GUI issues were also related to Qt bugs on maemo; the widgets don't properly resize when changed in a container that was designed using the graphical GUI designer. This of course, only happens on maemo. The buttons did properly resize on desktops. I rewrote the GUI using hand-coded screens and it handles proper expansion on maemo now)

hardaker commented 13 years ago

I pushed a new 0.5-2 version to extras-testing last night that I think will fix this. It may take a day before it shows up on your device, but let me know if it doesn't (the code is thanks to @corecode who actually fixed the issue.

Re-open this or create a new bug if the fix doesn't work for you.

CutterSlade001 commented 13 years ago

Hi, sorry to say but the sound still doesn't work after a minute or so, please reopen the bug.

hardaker commented 13 years ago

Hmmm.... Ok, thanks. Maybe I missed a patch in the backport. 0.6 should be out soon and I listened to Dr. Dolittle for much longer than a few minutes while it streamed morse code at me the other day. So hopefully the 0.6 release will be better.

CutterSlade001 commented 13 years ago

Congrats! Just tested 1.0 and it works great. Altough I'm pretty rubbish and can't seam to go further than E in full Koch sequece.

hardaker commented 13 years ago

I'm glad to hear the issue is resolved!

CW training takes time and practice. Though I believe my software offers advantages over other training methods that will help you learn faster, you still need to commit lots of time! Good luck!

nicolaihess commented 13 years ago

Verified. It works now. Although I had to remove cutecw's config file, otherwise the recognition training didnt went past "k" and "m".)

Thank you.

CutterSlade001 commented 13 years ago

Where can I find the config? I am missing the button which did the same thing.

nicolaihess commented 13 years ago

/home/user/.config/WS6Z/qtcw.conf

hardaker commented 13 years ago

note: under the menus you should have a "clear training" option if you get to the point where you've guessed incorrectly so many times at a letter that it'd take you too long to recover. (ie, since you need 90% right to pass the letter and you guessed 10 bad ones, you'll need 90 good ones to make up for it!)

CutterSlade001 commented 13 years ago

I could not find a clear training button. Or will it appear only when needed?

hardaker commented 13 years ago

Well, you found a bug. It should be appearing in the first two modes, but is not.