Created attachment 1020338 [details] expected power manager settings Description of problem: Shutdown does not work in Xfce 4.12, as the default configuration is installed in Fedora 22 Beta-3. Version-Release number of selected component (if applicable): xfce4-power-manager-1.4.4-1.fc22.x86_64 How reproducible: yes Steps to Reproduce: 1. install Fedora 22 Xfce 2. login 3. press the hardware power button Actual results: nothing happens Expected results: shutdown is initiated (option "Shutdown"), or at least the system asks what to do (option "Ask") Additional info: Further, the systray icon should be active. See attached screen shot how the settings should look like in the live run and after a fresh installed system.
I am not sure if I want to change the defaults. But, I agree that "Ask" is certainly a better option than "Do nothing". Let me look. As for systray icon, I will change that. But, it may be weekend before I get to this. Thanks for the report.
Any news here? The fix should be easy to do, isn't it?
raphael, I in the midst of moving and will be out till the 23rd aug. I will take a look again on or after 23rd .. Thanks for pinging.
Can I help somehow to get this old bug closed?
I will just have to poke at xfpm configs. Unfortunately, I will be able to take a look this Friday (travel). Of course, if you do get some info, I can do the needful. I am very sorry for the delay.
What's the state here? I'm asking cause you did recently some new builds to xfpm.
Oh yeah ... My apologies. I did not add any fix to this issue in the recent build. I should not have added this bug either to the update. :(
Raphael - Can you please try this build and see how it looks? https://koji.fedoraproject.org/koji/taskinfo?taskID=13042455
Hmm, in an updated F23 system, xfpm 1.5.2-4 does not prevent logind to handle the ACPI shutdown event and the machine shuts down immediately for a button press. Although, setting in xfpm is "do nothing" for hardware button. I can not use your build for a test in F22 because it's for F23. Besides that, where can I see what was changed in sources, especially I mean for 1.5.2-5?
https://nonamedotc.fedorapeople.org/xfpm/xfce4-power-manager-1.5.2-5.fc23.src.rpm
Sorry for my late feedback. As I'm not using Xfce any more in daily work, I am not sure how to verify this bug. What can we do? Are there any test cases to work with?
(In reply to Raphael Groner from comment #11) > Sorry for my late feedback. As I'm not using Xfce any more in daily work, I > am not sure how to verify this bug. What can we do? Are there any test cases > to work with? I suggest creating a new user and logging into Xfce. The default config in fedora should be present in this test. This will tell us if my solution really works. Thanks for the feedback. No worries about the delay.
(In reply to Mukundan Ragavan from comment #8) > Raphael - Can you please try this build and see how it looks? > > https://koji.fedoraproject.org/koji/taskinfo?taskID=13042455 x = OK ! = fail {x} Settings dialog shows "ask" for all three event actions. {!} Inhibition of systemd does not work, expected: no shutdown occurs. [machine shuts down immediately for an AHCI event (via virt-manager, kvm)] {!} Systray icon is not visible, expected: on. {!} Option for icon in settings dialog is off for systray icon, expected: on. Tested with F23-x86_64-XFCE-20160303.iso (respin).
Note: Test results in comment #13 with two new users, one chose to see an empty panel after first login, second said to want default panel.
Thanks Raphael for testing. (In reply to Raphael Groner from comment #13) > (In reply to Mukundan Ragavan from comment #8) > > Raphael - Can you please try this build and see how it looks? > > > > https://koji.fedoraproject.org/koji/taskinfo?taskID=13042455 > > x = OK > ! = fail > > {x} Settings dialog shows "ask" for all three event actions. ---> Perfect! > {!} Inhibition of systemd does not work, expected: no shutdown occurs. > [machine shuts down immediately for an AHCI event (via virt-manager, > kvm)] ---> This should be an entirely different issue. Do you agree? > {!} Systray icon is not visible, expected: on. > {!} Option for icon in settings dialog is off for systray icon, expected: > on. > > Tested with F23-x86_64-XFCE-20160303.iso (respin). ---> I have now fixed this in my new patch. I will build this for rawhide and f24.
(In reply to Mukundan Ragavan from comment #15) > Thanks Raphael for testing. You're welcome. :) > (In reply to Raphael Groner from comment #13) … > > {!} Inhibition of systemd does not work, expected: no shutdown occurs. > > [machine shuts down immediately for an AHCI event (via virt-manager, > > kvm)] > > ---> This should be an entirely different issue. Do you agree? Well, we see a clear regression here. And if xfpm4 promises to ask for event actions to take, why does it not inhibit systemd default behaviour? I thought that was fixed upstream, now it's b0rken again. > > {!} Systray icon is not visible, expected: on. > > {!} Option for icon in settings dialog is off for systray icon, expected: > > on. > > > > Tested with F23-x86_64-XFCE-20160303.iso (respin). > > ---> I have now fixed this in my new patch. > > > I will build this for rawhide and f24. Cool. Please let me know about a new build.
(In reply to Raphael Groner from comment #16) > … > > > {!} Inhibition of systemd does not work, expected: no shutdown occurs. > > > [machine shuts down immediately for an AHCI event (via virt-manager, > > > kvm)] > > > > ---> This should be an entirely different issue. Do you agree? > > Well, we see a clear regression here. And if xfpm4 promises to ask for event > actions to take, why does it not inhibit systemd default behaviour? I > thought that was fixed upstream, now it's b0rken again. > Let me open a new bug report for this after I test this further. I have never really come across this honestly ... :( > > > > > > I will build this for rawhide and f24. > > Cool. Please let me know about a new build. Rawhide - https://koji.fedoraproject.org/koji/buildinfo?buildID=742000 f24 - https://koji.fedoraproject.org/koji/buildinfo?buildID=742002 (building at the moment) Again, thanks for this report and for testing! :)
So, I did a bit of testing with this. Unless I do "force off" - I have no issues in triggering the "ask" action. Do you have specific steps to reproduce this? Also, I doubt that this is a regression with the cuurent config build - I am going to close this issue as done. Can you please open a new report along with steps on how I can try reproducing this? Thanks!
xfce4-power-manager-1.5.2-6.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-712eb3050d
xfce4-power-manager-1.5.2-6.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-88fbd1a26c
xfce4-power-manager-1.5.2-6.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-88fbd1a26c
xfce4-power-manager-1.5.2-6.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-712eb3050d
xfce4-power-manager-1.5.2-5 as in nightly f24 livemedia of 20160310 works for me. I'll test 1.5.2-6 also and give karma.
(In reply to Mukundan Ragavan from comment #18) > So, I did a bit of testing with this. > > Unless I do "force off" - I have no issues in triggering the "ask" action. > > Do you have specific steps to reproduce this? Also, I doubt that this is a > regression with the cuurent config build - I am going to close this issue as > done. > > Can you please open a new report along with steps on how I can try > reproducing this? > > Thanks! In KVM, the F23 guest shuts down immediately when I click on the (external) shutdown button to emit an ACPI event into the guest. That's not reproducible in F24. Both times with a new user. Though, the systray icon is now enabled and visible for all users.
xfce4-power-manager-1.5.2-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
xfce4-power-manager-1.5.2-6.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.