[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#407598: Test result



Le January 8, 2008 01:29:55 pm Raúl Sánchez Siles, vous avez écrit :
>   Hello Philippe:
>
> El Lunes, 7 de Enero de 2008, Philippe Cloutier escribió:
> > Raul asked me via IRC to check whether ~/.kde/share/config/kmixrc was
> > regenerated if I removed it while running KDE,
> > removed /usr/share/autostart/restore_kmix_volumes.desktop then logged out
> > and relogged in.
> > It was regenerated with good values.
>
>   I think I didn't explain myself properly on IRC, you did almost the same
> I told you but not exactly the same ;)
>
>   I'll try to do a summary of what we talked about:
>
>   First of all I think we agreed that what you were complaining at, what
> you consider a bug, is that kmix changes volume settings on KDE start.
>
>   As you know, kmix has an option in "Preferences->Configure KMix..."
> name "Restore settings on startup" (translated from Spanish). By default
> this option is enabled, what you consider a bug that you have explained
> along this bug report.
>
>   I think a good solution for you would be disabling this option by
> default. Debian could only solve this bug itself if it were the kmix
> package configuration the one that has enable that setting by default and
> hence the test I told you to do was conceived for that purpose.
>
>   The setting in this matter is named as "startkdeRestore" in the kmix
> configuration file ~/.kde/share/config/kmixrc and if you pay attention to
> this file it will have a value of true. We will try to default this to
> false.
>
>   Looking at the Debian kmix package, I saw that it was including a file,
> which should be located at
> /usr/share/autostart/restore_kmix_volumes.desktop that you could inspect
> yourself. This file includes a line like this:
> X-KDE-autostart-condition=kmixrc::startkdeRestore:true
>
>   I think what this line is doing is making kmix to enable that option,
> which you don't want, but I wasn't sure, neither I am. :)
It's used as a condition to perform the autostart action.
>
>   Thus i ask you for this test:
>
>   1- Move that file(/usr/share/autostart/restore_kmix_volumes.desktop) into
> some other place, e.g. your home. You will need to be root.
>   2- Log out from kde (as regular user) making sure that kmix will start
> automatically on next logon
>   3- Login as your regular user into a text console(not KDE) and move the
> kmix configuration file(~/.kde/share/config/kmixrc) to elsewhere, e.g. your
> home dir.
>   4- Now log into kde as your regular user and go to preferences to
> checkout if that option is still enabled.
It's still enabled.
>
>   As it's obvious now only 2 things can happen :). If it didn't work, we'll
> have to go on investigating.
>
>   If it worked, then we could toast with champagne, but being so expensive
> we will take a beer from the fridge :P
>
>   Now seriously, the .desktop file is provided upstream, so the regular way
> would be to ask them to consider your opinion and change the file
> accordingly. I will try to poll them, I don't know what they will think.
It may not be desirable upstream. I have no idea how systems which don't use 
ALSA save mixer levels. It should be safe to change in Debian which mostly 
uses Linux, but I guess it would be better to do something upstream depending 
on the platform on which kmix runs.
>
>   The thing is that being kde3 at this mature stage, you have to know that
> they are reluctant to made important modifications.
>
>    Alternatively a fix could be provided by Debian if anyone submit a patch
> and Debian packagers agree to apply it. The smart way would be asking them
> first after knowing the complexity of such a change.
For simply changing the default, I think it just needs to be changed in 
kmix.cpp.



Reply to: