Bug 345021 - Not the right button behavior when connected \ disconnected
Summary: Not the right button behavior when connected \ disconnected
Status: RESOLVED FIXED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: editor (show other bugs)
Version: 5.2.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Lukáš Tinkl
URL: https://screencloud.net/v/EdSX
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-10 18:22 UTC by Lev Lybin
Modified: 2015-03-11 13:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lev Lybin 2015-03-10 18:22:10 UTC
The screenshot shows. Connection is active, but the button "Disconnect" is not available, but the button "Connect" is still available. If don't change focus of connection.

Reproducible: Always
Comment 1 Jan Grulich 2015-03-10 19:28:52 UTC

*** This bug has been marked as a duplicate of bug 343606 ***
Comment 2 Lukáš Tinkl 2015-03-10 20:52:54 UTC
Git commit 2e9508234677251e0b01e0c792a567702ab48055 by Lukáš Tinkl.
Committed on 10/03/2015 at 20:51.
Pushed by lukas into branch 'master'.

correctly fix enabling/disabling actions when selection changes

this way it also works with keyboard only mode

M  +3    -20   editor/connectioneditor.cpp
M  +1    -2    editor/connectioneditor.h
M  +1    -1    editor/main.cpp
M  +2    -12   editor/ui/connectioneditor.ui

http://commits.kde.org/plasma-nm/2e9508234677251e0b01e0c792a567702ab48055
Comment 3 Jan Grulich 2015-03-11 13:29:35 UTC
Git commit 9888d2b059c8cf95176742c4ef0742f0629b60f8 by Jan Grulich, on behalf of Lukáš Tinkl.
Committed on 11/03/2015 at 13:28.
Pushed by grulich into branch 'Plasma/5.2'.

correctly fix enabling/disabling actions when selection changes

this way it also works with keyboard only mode

M  +3    -3    editor/connectioneditor.cpp
M  +1    -1    editor/connectioneditor.h
M  +1    -1    editor/main.cpp

http://commits.kde.org/plasma-nm/9888d2b059c8cf95176742c4ef0742f0629b60f8