softsyst / qirx_issues

Issue tracker for QIRX
1 stars 1 forks source link

Automatically stop current file playback and restart file playback when a new file is dropped into the QIRX window #128

Open Drehrumbum opened 10 months ago

Drehrumbum commented 10 months ago

Hi Clem!

In short: While QIRX is playing a recording, you first have to stop playback (red x button) before a new file can be dropped. This is a bit inconvenient (for lazy people like me). Can you press the “X” during the drop event (if necessary) and restart the playback?

TIA Heiko

softsyst commented 10 months ago

Realized in 4.2.1

Drehrumbum commented 10 months ago

Hi Clem!

Drag & drop works, but not always. Sometimes QIRX crashes after the second dropped file, sometimes it takes a litttle bit longer. Watch the short "blockbuster" below.

https://github.com/softsyst/qirx_issues/assets/86889245/dac2fd8a-2f2e-4148-9527-005cd4dcae77

Clipboard01

softsyst commented 10 months ago

Hi Heiko,

How boring the world would be without 0xC0000005! Sorry you are having problems. What perhaps could be helpful were a logging file taken during a "crash" session. You find the log files here: C:\Users\\AppData\Local\qirxLogging

They are xml text files which can comfortably be read by using the app log4net. For the logging, please activate "Debug" in the Settings.

Thanks, Clem

Drehrumbum commented 10 months ago

Well, logging is always a good idea. After some file-drops it crashes again.

qirx.logqirx.log-2024-01-06--13-33-23.zip

softsyst commented 10 months ago

Thanks, will check it. Just made a test with many dragdrops on my old Win10, could not reproduce it.

softsyst commented 10 months ago

I had a look at the log file. The problem comes from the Docking dll (from Actipro SW). It tries to build up the tabbed DAB windows and got a problem. Question: Do you already show the DB Browser window? It is new and if you want to see it after install, you need to make a "RefreshLayout" command from the button on top, menu appears with the right mouse.

Possibly I will be able to reproduce the error with this information and introduce an exception handler to catch the problem.

Drehrumbum commented 10 months ago

Hi Clem,

I've seen the DB-Browser tab after installing the new version, but I've my own "checklist", so I tested other things at first. ;)

However, it seems to work after I've found the hidden(*) "Reset-Layout" context menu stuff.

Ciao 4 now Heiko

*) "Hidden" means that I didn't expect this button to have a context menu. All other "buttons" up there respond to the left mouse button with some action...

softsyst commented 10 months ago

Hi Heiko,

thanks for feedback. Nevertheless, I leave this one still open, as I hope to be able to reproduce the error. Crashes are never nice...

Best, Clem

PS And to remind me to update the working instructions is certainly more than justified. "Paperwork" has never been popular... Wrt the "Context menu": I didn't manage to let the left mouse show this menu. Should have tried harder, perhaps.

Drehrumbum commented 8 months ago

A little note to my "blockbuster" above. If you watch the last drag'n'drop in slomo, you'll see one major difference compared to the two other drag'n'drops at the beginning.

The red cross-hair appears immediately after the (still dragging-)mouse reaches the specci-area and before the real "drop" occures. Then the "drop" comes along and it crashes. It seems QIRX has forgotten that it is inside of a drag'n'drop sequence.

softsyst commented 8 months ago

Thanks for info. Will check it.