Bug 275190

Summary: Apply button not functional, stays lit
Product: [Unmaintained] kdelibs Reporter: Mark Fraser <mfraz74+kde>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: annma, bugs, cfeck, martin.sandsmark, myriam
Priority: NOR Keywords: triaged
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark Fraser 2011-06-08 10:03:59 UTC
Version:           4.5 (KDE 4.6.2) (using KDE 4.6.3) 
OS:                Linux

Settings shown in Speaker Setup change when you go back after configuring them and the apply button lights up before anything is changed.

Reproducible: Always

Steps to Reproduce:
If you try to configure Phonon in System Settings > Multimedia, the Apply button is highlighted before you do anything. If I then go to Speaker Setup, the sound card is set to my webcam which I can change to internal audio. If I go back to the main page and then back to Speaker Setup there are no sound cards available to select.


Expected Results:  
System settings would remember the settings I already saved.
Comment 1 Mark Fraser 2011-06-08 11:09:30 UTC
Confirmed on a new install of Kubuntu 11.04.
Comment 2 Anne-Marie Mahfouf 2011-06-08 19:01:50 UTC
Do you mean
System Settings -> Multimedia -> Phonon -> Device Preference tab?

For me, in that tab, the Apply buton behaves correctly and the order of devices is kept after I change it. Maybe it is due to your devices then.
Comment 3 Thomas Tanghus 2011-06-08 21:33:46 UTC
(In reply to comment #2)
> Do you mean
> System Settings -> Multimedia -> Phonon -> Device Preference tab?
> 
> For me, in that tab, the Apply buton behaves correctly and the order of devices
> is kept after I change it. Maybe it is due to your devices then.

Yes. I just have to activate the Phonon part then the Apply button is highlighted and I'll get prompted to save the settings if I navigate away.

From lspci:
04:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)
Comment 4 Mark Fraser 2011-07-31 08:56:39 UTC
Upgraded to KDE 4.7.00 and the "Apply" button is still lit as soon as you visit the Phonon tab.
Comment 5 Harald Sitter 2013-01-11 11:03:20 UTC
*** Bug 313057 has been marked as a duplicate of this bug. ***
Comment 6 Myriam Schweingruber 2013-04-13 08:40:30 UTC
Confirmed on KDE 4.10.2 for the Apply button, but the configuration is made, so it is a visual glitch of the button, not Phonon specific  as the same behavior is shown in Amarok, see bug 317328. There is a signal emitted when checking the debug output, but the button stays lit.
No idea where to reassign this to, though...
Comment 7 Myriam Schweingruber 2013-04-13 08:47:27 UTC
*** Bug 317328 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2013-04-20 12:49:12 UTC
This is not a bug in kdelibs. I cannot test the phonon settings, because I have no "Speaker Setup" button. Please attach a minimal testcase reproducing the bug.
Comment 9 Myriam Schweingruber 2013-04-20 12:59:20 UTC
(In reply to comment #8)
> This is not a bug in kdelibs. I cannot test the phonon settings, because I
> have no "Speaker Setup" button. Please attach a minimal testcase reproducing
> the bug.

Well, I have observed that in several apps, Amarok Settings Menu -> Configure Amarok for one, and the Monitor setup KCM. Clicking on the Apply button does apply the settings, but the button stays lit when it should become grayed out. This is in no way specific to Phonon or any other application, it is the Apply button that has a problem, which very much makes this a kdelibs -> kdeui bug IMHO
Comment 10 Christoph Feck 2013-04-20 13:25:01 UTC
Yes, you can probably see this bug in several applications, there are even applications that fail to enable the Apply button when entries are changed, e.g. see bug 318218

This does not make it an kdelibs bug, as then it would be visible in all applications.

Regarding the monitor settings, I just tried System Settings > Size & Orientation, changed the refresh rate, Apply got enabled, hit Apply, then after confirming the Apply button got disabled.

Please add exact steps to reproduce.
Comment 11 Christoph Feck 2013-04-27 18:19:08 UTC
Any steps for any KDE SC application to reproduce this bug?
Comment 12 Christoph Feck 2013-05-14 00:03:04 UTC
To further investigate this issue, KDE developers need the information requested in comment #11. If you can provide it, or need help with finding that information, please add a comment.
Comment 13 Thomas Tanghus 2013-05-14 12:51:20 UTC
(In reply to comment #8)
> This is not a bug in kdelibs. I cannot test the phonon settings, because I
> have no "Speaker Setup" button. Please attach a minimal testcase reproducing
> the bug.

It doesn't just happen in "Speaker Setup". In Kubuntu 12.10 using KDE SC 4.10.3 select "Multimedia" in system settings, then select "Phonon". The apply button will be enabled. Navigate back to System Settings and you will be prompted to Apply/Discard/Cancel.

(In reply to comment #12)
> To further investigate this issue, KDE developers need the information
> requested in comment #11. If you can provide it, or need help with
> finding that information, please add a comment.

That is the only place I can reproduce it, but it's 100% reproducable. If it's backend dependant I use the VLC backend.
Comment 14 Christoph Feck 2013-05-14 18:41:59 UTC
> select "Multimedia" in system settings, then select "Phonon". The apply button will be enabled.

That is bug 311001 (which doesn't happen on my system, probably because I compiled it without canberra and/or pulseaudio support).

It has a possible fix at https://git.reviewboard.kde.org/r/110390/
Comment 15 Thomas Tanghus 2013-05-14 18:54:56 UTC
(In reply to comment #14)
> > select "Multimedia" in system settings, then select "Phonon". The apply button will be enabled.
> That is bug 311001

Thanks for clearing that up :)
Comment 16 Andrew Crouthamel 2018-09-24 02:13:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Andrew Crouthamel 2018-10-27 04:13:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!