Feature request: hybrid widescreen + correspondence view
-
benny
- State changed from new to resolved
Make sure you save the file in the correct location:
~/Library/Application Support/MailMate/Resources/Layouts/Mailboxes/WideCorrespondence.plistYou cannot inject the message view since then it does not display what is selected in the correspondence list. Also, the layout system isn't perfect and some setups don't work well, but I believe the following works (based on what I got from another user):
Make sure you use the latest test release for this.
{ name = "Wide Correspondence"; rootViewer = { viewerType = "MmSplitView"; orientation = "horizontal"; children = ( { viewerType = "MmBoxView"; orientation = "vertical"; defaultSize = 200; minWidth = 100; autoresize = 0; toggleMenuTitle = "Mailboxes"; toggleKeyEquivalent = "^~@d"; dragRect = { width = 16.0; height = 16.0; location = "bottomRight"; }; children = ( { identifier = "mailboxesOutline"; viewerType = "MmMailboxesOutlineView"; stickyMessages = 1; }, { viewerType = "MmMailboxesStatusBar"; }, ); }, { viewerType = "MmSplitView"; orientation = "vertical"; collapsibleSubview = 2; // Incomplete support -- no way to get it back (1 = first, 2 = last) children = ( { identifier = "pathOutlineBox"; viewerType = "MmBoxView"; orientation = "vertical"; defaultSize = 250; autoresize = 0; children = ( { identifier = "pathControl"; viewerType = "MmPathControlView"; sources = ( { sourceIdentifier = "mailboxesOutline"; } ); }, { identifier = "mainOutline"; viewerType = "MmMessagesOutlineView"; // columnSettings = "outlineColumns"; // Keeps selected messages in the view even if they no longer match the main query // sources = ( { sourceIdentifier = "mainOutline"; }, { sourceIdentifier = "pathControl"; } ); sources = ( { sourceIdentifier = "pathControl"; } ); minHeight = 50; }, ); }, { viewerType = "MmBoxView"; orientation = "vertical"; defaultSize = 200; autoresize = 0; children = ( { viewerType = "MmLabelView"; label = "Correspondence"; }, { identifier = "correspondenceOutline"; viewerType = "MmMessagesOutlineView"; minWidth = 100; sources = ( { sourceIdentifier = "mainOutline"; } ); selectionSources = ( { sourceIdentifier = "mainOutline"; } ); // FIXME: The transformation does not work 'per' message, i.e., it tries to combine any 'from' with any 'to' in $mainOutline. transformation = "$ALL_MESSAGES.filter((from.address = $mainOutline.from.address and #recipient.address = $mainOutline.#recipient.address) or (from.address = $mainOutline.#recipient.address and #recipient.address = $mainOutline.from.address))"; defaultColumns = ( "subject", "relativeDate" ); outlineColumn = "subject"; }, ); toggleMenuTitle = "Correspondence View"; toggleKeyEquivalent = "^~@c"; }, ); }, { viewerType = "MmBoxView"; orientation = "vertical"; children = ( { identifier = "tagsEditor"; viewerType = "MmTagsEditor"; sources = ( { sourceIdentifier = "correspondenceOutline"; } ); }, { viewerType = "MmMultiMessageView"; identifier = "messageView"; minHeight = 150; minWidth = 250; sources = ( { sourceIdentifier = "correspondenceOutline"; } ); }, ); toggleMenuTitle = "Message View"; toggleKeyEquivalent = "^~@h"; } ); }; } -
Mike Potts
Awesome: works perfectly: thanks!!
(Also I had missed the "Mailboxes" subfolder in the original blog post, so my original effort wasn't even in the right folder!)
-
Kinh Nguyen
Hi, I tried the version above but it is not showing in the Layout menu. I copied to the said path and restarted Mailmate. I'm having Version 1.14 (5937).
-
Kinh Nguyen
sorry, figure out some error in the code so it was not recognised as a plist file. Work great now. I made a four columns layout |mailbox|inbox|message|correspondence| to use full of my wide screen.
-
Kinh Nguyen
Could you show me how to add a view that list all the tags?
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.