pacmixer icon indicating copy to clipboard operation
pacmixer copied to clipboard

pacmixer crashes in settings dialog

Open murinicanor opened this issue 7 years ago • 3 comments

hi,

thanks for pacmixer! i've compiled the program on debian testing and it works as expected except the settings dialog: it show no settings and crashes as soon as i use the 'l' key or the right arrow key with the message : Uncaught exception NSRangeException, reason: Index 0 is out of range 0 (in 'objectAtIndex:')

pacmixer-log.txt

if you need the debug log, i can recompile and attach that

murinicanor avatar Jul 30 '16 22:07 murinicanor

Thanks for reporting the issue. The crash is, obviously, a bug, there's probably some boundary check missing, I'll have a look at it later. As for no settings, do you actually expect any settings? I don't see any settings controls being reported in the log. Keep in mind that those are not pacmixer settings, but your device settings. There might be none, depending on your audio device and its' driver. If you're not sure, you can check what pavucontrol shows in the Configuration tab.

KenjiTakahashi avatar Aug 07 '16 18:08 KenjiTakahashi

hi, sorry for not getting back to you earlier:

As for no settings, do you actually expect any settings? I don't see any settings controls being reported in the log. Keep in mind that those are not pacmixer settings, but your device settings. There might be none, depending on your audio device and its' driver. If you're not sure, you can check what pavucontrol shows in the Configuration tab.

hm, i guess i did expect settings based on the fact that there is a settings tab. you're right, there are not settings in the configuration tab, except the sound profiles. maybe from an ux point of view, the settings tab should not be there, if there are no settings...

murinicanor avatar Aug 31 '16 19:08 murinicanor

No problem, I have long delays myself too ;-].

Oh, I see. Perhaps it would indeed be nice to hide tabs that are empty, even if it is kinda unusual behaviour for terminal interfaces. It won't happen before I get myself to refactor the UI parts of the code, though. Which will happen, at some point, hopefully.

KenjiTakahashi avatar Sep 11 '16 07:09 KenjiTakahashi