[Users] [Bug 3370] Making the Message View setting stick despite Enter

Pierre Fortin pf at pfortin.com
Fri Jan 23 16:25:43 CET 2015


On Fri, 23 Jan 2015 14:16:22 +0000 noreply at thewildbeast.co.uk wrote:

>--- Comment #2 from Walid <exp15 at outlook.com> ---

>Please make the Message View (hide) setting remain unchanged when Enter
>is pressed. 

>The current behavior is very counter-intuitive. 
What do you consider "intuitive"?

>It is undesirable.
This is a personal opinion which I don't agree with...  however...

>I suggest that pressing Enter should, instead, open the message in a new
>window.

I prefer to use:

.claws-mail/menurc:
  (gtk_accel_path "<Actions>/Menu/View/OpenNewWindow" "<Alt>Up")
  (gtk_accel_path "<Actions>/Menu/File/Close" "<Alt>Down")
(off-topic: understanding focus-under-mouse also helps):

How about this? (pseudo-code):

if not "<Actions>/Menu/View/OpenNewWindow":  # no key mapping
    if Prefs->OpenInNewWindowOnEnter == True:  # new preference
        open_msg_in_new_window()  # new
    else:
        open_msg_in_main_window()  # current action
else:
    # follow existing rules


Pierre



More information about the Users mailing list