Bug 53546 - Somebody mixed up the View menu (Unread/Total Column)
Summary: Somebody mixed up the View menu (Unread/Total Column)
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-28 23:08 UTC by Malte S. Stretz
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Snapshot from the KMail main window with wrongly selected menu items (66.62 KB, image/png)
2003-02-11 10:48 UTC, Malte S. Stretz
Details
foldertree.diff (3.63 KB, text/x-diff)
2003-02-12 00:27 UTC, Carsten Burghardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2003-01-28 23:08:53 UTC
Version:           1.5 (using KDE 3.1.0)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18

Heh. In the View menu there're the options "Unread Column" and "Total Column". But they do exactly the opposite of what they should: The columns are shown when the menu entry is OFF.

Two possible solutions:
* Name the menu entries "Hide {Unread,Total} Column".
* Name them "Show {Unread,Total} Column" and invert their behaviour. (Better)

If you go the second way, please don't forget the "Show ..." prefix. "Show Foo" is much better to understand than a plain "Foo". (Oh, and the German translation is a real PITA: It's just "Ungelesen" and "Gesamtzahl".)

Btw: It's possible to swap the columns. I don't know if that's the intended behaviour.

Cheers,
Malte, Full-Time Bug Hunter ;-)
Comment 1 Malte S. Stretz 2003-01-28 23:14:58 UTC
Ah. I've got the real problem: The menu items are alway unchecked when KMail 
starts, whatever status the columns have. 
Comment 2 Carsten Burghardt 2003-01-28 23:33:57 UTC
I just installed the same package and the columns are correctly checked when they're 
on. But ok, I'll see what I can do. 
And yes, it's ok to swap them. 
Comment 3 Malte S. Stretz 2003-01-28 23:54:02 UTC
Try to switch them on and restart KMail. Here the menu entries are unchecked 
afterwards. 
 
I updated from KDE 3.0.5a to 3.1 with the SuSE 7.3 packages from ftp.kde.org 
(not ftp.suse.com, I don't know if they're different). 
Comment 4 Malte S. Stretz 2003-02-11 10:48:43 UTC
Created attachment 929 [details]
Snapshot from the KMail main window with wrongly selected menu items

Hmmm... is there any way for me to change this bug's subject? Now that I pinned
down the problem...
Comment 5 Carsten Burghardt 2003-02-11 19:07:04 UTC
I really wonder what I'm doing wrong (or correct...) because I don't get this behaviour. 
No matter what combination and how often I restart kmail, it works. 
OK, what column(s) are actually activated, what are the states of the listview-items in 
the View-menu and of the menu that you get when you right click on the 
column-name? What entry do you have in your kmailrc for "UnreadColumn" and 
"TotalColumn"? 
Comment 6 Malte S. Stretz 2003-02-11 21:10:21 UTC
Ok. 
 
Disable all columns, exit KMail: 
| [Geometry] 
| AddressBook dialog size=342,310 
| ColumnOrder=0 
| ColumnWidths=213 
| FolderPaneHeight=513 
| FolderPaneWidth=229 
| HeaderPaneHeight=196 
| HeaderPaneWidth=751 
| MainWin=1016,674 
| MessagePaneHeight=424 
| MimePaneHeight=101 
| SortAscending=true 
| SortColumn=0 
| TotalColumn=-1 
| UnreadColumn=-1 
| composer=1016,674 
| filterDialogSize=958,511 
| folderTree=229 
| longFolderList=true 
| nestingPolicy=3 
| popFilterDialogSize=1014,494 
| showMIME=1 
| windowLayout=2 
 
Start KMail: 
=> Both option unselected, no columns shown 
| [Geometry] 
| AddressBook dialog size=342,310 
| ColumnOrder=0 
| ColumnWidths=213 
| FolderPaneHeight=513 
| FolderPaneWidth=229 
| HeaderPaneHeight=196 
| HeaderPaneWidth=751 
| MainWin=1016,674 
| MessagePaneHeight=424 
| MimePaneHeight=101 
| SortAscending=true 
| SortColumn=0 
| TotalColumn=-1 
| UnreadColumn=-1 
| composer=1016,674 
| filterDialogSize=958,511 
| folderTree=229 
| longFolderList=true 
| nestingPolicy=3 
| popFilterDialogSize=1014,494 
| showMIME=1 
| windowLayout=2 
 
Tick Unread & Total: 
=> Both options selected, both columns shown 
 
Exit KMail: 
| [Geometry] 
| AddressBook dialog size=342,310 
| ColumnOrder=0,1,2 
| ColumnWidths=213,70,70 
| FolderPaneHeight=513 
| FolderPaneWidth=229 
| HeaderPaneHeight=196 
| HeaderPaneWidth=751 
| MainWin=1016,674 
| MessagePaneHeight=424 
| MimePaneHeight=101 
| SortAscending=true 
| SortColumn=0 
| TotalColumn=2 
| UnreadColumn=1 
| composer=1016,674 
| filterDialogSize=958,511 
| folderTree=229 
| longFolderList=true 
| nestingPolicy=3 
| popFilterDialogSize=1014,494 
| showMIME=1 
| windowLayout=2 
 
Start KMail: 
=> Both options UNselected, both columns shown 
Comment 7 Malte S. Stretz 2003-02-11 21:11:29 UTC
Got it. Look which layout I'm using... 
Comment 8 Carsten Burghardt 2003-02-12 00:27:01 UTC
Subject: Re:  Somebody mixed up the View menu (Unread/Total Column)

Am Dienstag, 11. Februar 2003 21:11 schrieb Malte S.Stretz:
> ------- Got it. Look which layout I'm using...

Cool, thanks.
Attached is my proposed fix.


Carsten

Created an attachment (id=933)
foldertree.diff
Comment 9 Malte S. Stretz 2003-02-12 18:29:52 UTC
The patch fixes the problem with the menus but it seems like it re-introduces 
bug 53821. 
Comment 10 Malte S. Stretz 2003-02-12 18:44:28 UTC
Err... my fault. I reverted the other patch to create the one I posted to the 
list against a clean source ;-) 
Comment 11 Carsten Burghardt 2003-02-14 16:14:50 UTC
Puh, then I'm glad.