jens-maus / yam

:mailbox_with_mail: YAM (short for 'Yet Another Mailer') is a MIME-compliant open-source Internet email client written for Amiga-based computer systems (AmigaOS4, AmigaOS3, MorphOS, AROS). It supports POP3, SMTP, TLSv1/SSLv3 connection security, multiple users, multiple identities, PGPv2/v5 encryption, unlimited hierarchical folders, an ARexx interface, etc...
https://yam.ch
GNU General Public License v2.0
61 stars 18 forks source link

[BUG] Remember sort order for inbox. #680

Open ghost opened 5 years ago

ghost commented 5 years ago

Submission type

Bug report YAM version

[2.9p1]

Used operating system

AmigaOS3/m68k Used Amiga system

[OS 3.1.4]

Expected behaviour you didn't see

I sort my e-mail by date. Newest first. But every time I launch, it sorts by oldest first.

Unexpected behaviour you saw

I saw my inbox again sorted by the default way; oldest first. I want my choice remembered (or a place to specify it in the settings).

tboeckel commented 5 years ago

Try snapshotting the main window. This will save the mail list sorting mode as well. I know this is not very intuitive, but this the only way to let NList object save/restore their sort columns.

ghost commented 5 years ago

Thanks. I'd be happy with that solution, but I don't see an option in the menus or settings to do that. Can you tell me how?

tboeckel commented 5 years ago

Simply via MUI's standard ways to snapshot a window: either via the window title bar buttons or via the popup menu in the window title bar. If none of these are available you need to configure them in MUI prefs, either globally for all applications or just for YAM. yam

ghost commented 5 years ago

Is it possible with MUI 3.8? If possible, I'd appreciate instruction. I can't figure it out.

tboeckel commented 5 years ago

MUI Preferences_542x304x32 See MUI 3.8 screenshot.

Please note one important difference in MUI's configuration handling. When you run MUI prefs alone and configure something, then these settings apply to all MUI applications. When you run MUI prefs from within a MUI application, then the settings apply to that single MUI application only.

ghost commented 5 years ago

Thanks for the distinction, I didn't know. I have made the change for MUI within the application but still the application forgets my sort order. As you can see from the screenshot, the 2017 emails are on top, but before I quit, 2019 emails were on top. It seems it's not sticking.

I tried setting it in MUI globally also. I've attached my SnoopDOS log below. Would you mind telling me if anything seems wrong? It was recorded as I re-applied the settings in MUI (application level) and exited YAM.

IMAGE 2019-07-16 14:49:14

Count Process Name Action Target Name Options Res.


1 ramlib Load LIBS:muilocale.library OK
2 ramlib Load LIBS:muiconfig.library OK
3 ramlib Load LIBS:mui/Settings.mui OK
4 ramlib Load LIBS:mui/Popframe.mui OK
5 ramlib Load LIBS:mui/Framedisplay.mui OK
6 ramlib Load LIBS:mui/Popimage.mui OK
7 ramlib Load LIBS:mui/Busy.mcc OK
8 ramlib Load LIBS:mui/Busy.mcp OK
9 ramlib Load LIBS:mui/Crawling.mcc OK
10 ramlib Load LIBS:mui/Listtree.mcc OK
11 ramlib Load LIBS:mui/Listtree.mcp OK
12 ramlib Load LIBS:mui/ListtreeName.mcc OK
13 ramlib Load LIBS:mui/MagicWB.mcc OK
14 ramlib Load LIBS:mui/TheBar.mcc OK
15 ramlib Load LIBS:cybergraphics.library Fail 16 ramlib Load cybergraphics.library Fail 17 ramlib Load LIBS:mui/Guigfx.mcc OK
18 ramlib Load LIBS:guigfx.library OK
19 ramlib Load LIBS:cybergraphics.library Fail 20 ramlib Load cybergraphics.library Fail 21 ramlib Load LIBS:mathtrans.library OK
22 ramlib Load LIBS:render.library OK
23 ramlib Load LIBS:mui/Newstring.mcc OK
24 ramlib Load LIBS:mui/Newstring.mcp OK
25 ramlib Load LIBS:mui/Numericbutton.mui OK
26 ramlib Load LIBS:mui/NListtree.mcp OK
27 ramlib Load LIBS:mui/NBitmap.mcc OK
28 ramlib Load LIBS:cybergraphics.library Fail 29 ramlib Load cybergraphics.library Fail 30 ramlib Load LIBS:mui/NListviews.mcp OK
31 ramlib Load LIBS:mui/TheBar.mcp OK
32 ramlib Load LIBS:gadgets/colorwheel.gad OK
33 ramlib Load LIBS:gadgets/gradientslider OK
34 ramlib Load LIBS:mui/Boopsi.mui OK
35 ramlib Load LIBS:cybergraphics.library Fail 36 ramlib Load cybergraphics.library Fail 37 ramlib Load LIBS:mui/NListtree.mcc_old OK
38 ramlib Load LIBS:mui/NListtree.mcp_old OK
39 ramlib Load LIBS:mui/NFloattext.mcc OK
40 ramlib Load LIBS:mui/TextEditor.mcp OK
41 ramlib Load LIBS:mui/BetterString.mcp OK
42 ramlib Load LIBS:mui/HotkeyString.mcc OK
43 ramlib Load LIBS:mui/Textinput.mcp OK
44 ramlib Load LIBS:mui/Popplaceholder.mcc OK
45 ramlib Load LIBS:mui/Textinput.mcc OK
46 ramlib Load LIBS:vapor_toolkit.library OK
47 ramlib Load LIBS:cybergraphics.library Fail 48 ramlib Load cybergraphics.library Fail 49 ramlib Load LIBS:CManager.library Fail 50 ramlib Load CManager.library Fail 51 ramlib Load LIBS:mui/Textinputscroll.mc OK
52 ramlib Load LIBS:mui/Settingsgroup.mui OK
53 ramlib Load LIBS:mui/Popasl.mui OK
54 Yam Open env:mui/YAM.prefs Read OK
55 Yam Open env:mui/YAM.prefs Write OK
56 Yam Open envarc:mui/YAM.prefs Read OK
57 Yam Open envarc:mui/YAM.prefs Write OK
58 ramlib Load LIBS:cybergraphics.library Fail 59 ramlib Load cybergraphics.library Fail 60 Yam Open Space:Programs/YAM/.folders Write OK
61 Yam ChangeDir Space:Programs/YAM
62 Yam ChangeDir Space:Programs/YAM
63 Yam Open env:mui/YAM.cfg Write OK
64 Yam Open envarc:mui/YAM.cfg Write OK
65 Yam Open env:mui/YAM.prefs Read OK
66 Yam Open env:mui/YAM.prefs Write OK
67 Yam Open envarc:mui/YAM.prefs Read OK
68 Yam Open envarc:mui/YAM.prefs Write OK
69 Yam Open env:mui/YAM.cfg Write OK
70 Yam Open envarc:mui/YAM.cfg Write OK
71 Yam Delete T:YAMr00000034-p0.txt OK
72 Yam Delete T:YAMm00000034-p1.1 OK
73 Yam Delete T:YAMm00000034-p2.2 OK
74 Yam Open env:mui/YAM.cfg Write OK
75 Yam Open env:mui/YAM.prefs Read OK
76 Yam Open env:mui/YAM.prefs Write OK
77 Yam ChangeDir Space:Programs/YAM
78 Yam ChangeDir SYS:

tboeckel commented 5 years ago

Oh dear, I think I am getting old. I told you something absolutely wrong. :( A folder's sort order is set from the folder settings. Just do right click on a folder and choose "Edit...". The folder edit window will then open and let you choose both primary and secondary sort order. You also configure a maximum age of mails and lots of other things here.

Damn, I really need to use YAM more often again...

Sorry for leading you on the wrong path.

ghost commented 5 years ago

Oh, this is great. Thank you, it works! Please, no need to apologise. I would not have found this option without your help. And I learned a bit extra along the way ;)