Bug 354760 - Toolbar keyword toggle buttons are not disabled when no message is selected anymore
Summary: Toolbar keyword toggle buttons are not disabled when no message is selected a...
Status: RESOLVED FIXED
Alias: None
Product: trojita
Classification: Applications
Component: Desktop GUI (other bugs)
Version First Reported In: git
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-02 23:09 UTC by Erik Quaeghebeur
Modified: 2015-12-01 09:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2015-11-02 23:09:58 UTC
Toolbar keyword (Deleted, Flagged,...) toggle buttons are not disabled (grayed out) when no message is selected anymore.

Reproducible: Always

Steps to Reproduce:
1. select mailbox
2. select some messages
3. unselect all messages

Actual Results:  
1. toolbar keyword toggle buttons are inactive
2. toolbar keyword toggle buttons are active (clickable)
3. toolbar keyword toggle buttons are active (clickable)

Expected Results:  
1. toolbar keyword toggle buttons are inactive
2. toolbar keyword toggle buttons are active (clickable)
3. toolbar keyword toggle buttons are inactive
Comment 1 Jan Kundrát 2015-12-01 09:59:17 UTC
Git commit 9a5615adb9ef6b1a6174b273377a165cbdc5f192 by Jan Kundrát.
Committed on 30/11/2015 at 16:03.
Pushed by gerrit into branch 'master'.

GUI: Do not enable per-message actions on startup

...or on network reconnect. These actions all depend on the set of
selected messages. As a result of more or less non-specific slot
execution order, the GUI items were inadvertently enabled even though no
messages were actually selected.
Change-Id: I0b5ce16e93c8ca431b5a6853ea4d30927b43007a

M  +1    -5    src/Gui/Window.cpp

http://commits.kde.org/trojita/9a5615adb9ef6b1a6174b273377a165cbdc5f192