KawaiiBASIC / classilla

Automatically exported from code.google.com/p/classilla
0 stars 0 forks source link

Command-shortclick of messages: don't load in view pane #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Suggested by Mathias:

> > So this is a bigger scope change, then. If Command is held down when
> > short-clicking, do NOT load the message in the view pane. Right?
> >
> > Ironically, that sounds simpler, but might actually be more complicated to
> > write since I have to make sure the key event gets to that handler. But
> > let me make sure I understand first.
>
> Yes, now you understood correctly. Other possibility would be if someone
> "half klicks" at the text the message is loaded in the "view pane" if
> someone holds it at the "letter/mail symbol" than it is not loaded, if
> that is easier to write?

No, not really, and the Command key idea makes sense -- I just have to make
sure it's doable with the current event code. I think it is, but I don't know
for sure, so I'll look at it. Note of course that layout is still top priority
for 9.3.0, so this might slip for 9.3.1 if I can't figure out a good way to
do it, but I agree that such a feature would be useful. 

Original issue reported on code.google.com by classi...@floodgap.com on 6 Apr 2011 at 1:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
For everyone who did not follow our private mail discussion about this:
The idea was to be able to handle mails without the need to load them in the 
"view pane" before. If you have a huge size of mails to sort, or several big 
mails, or if you just have spam to move to the trash or spam folder it is 
annoying that every single mail gets loaded before you can move/delete or do 
anything with it.

Original comment by wit...@gmx.net on 6 Apr 2011 at 1:53

GoogleCodeExporter commented 9 years ago
Looking at this to see if it was a simple tweak I could make for 9.2.3, this 
code already *is* in Classilla/Mozilla 1.3.1! Under 
msgMail3PaneWindow.js::TreeOnMouseDown(), if you right-click, it triggers this:

    // Detect right mouse click and change the highlight to the row
    // where the click happened without loading the message headers in
    // the Folder or Thread Pane.
    if (event.button == 2)
    {
      gRightMouseButtonDown = true;
      ChangeSelectionWithoutContentLoad(event, event.target.parentNode);
    }
    else
      gRightMouseButtonDown = false;

Mathias, is there a way you can try this to verify it works?

Original comment by classi...@floodgap.com on 3 Jul 2011 at 6:58

GoogleCodeExporter commented 9 years ago
That one workes quite well. If I use "crtl - klick" I can use the popupmenu 
appearing without getting the messages loaded. BUT I still cannot mark/select 
them and use the drag&drop possibilities. That works only for the popup menue. 
A improvement, and good possibility, but maybe you can change the next click to 
let the message selected as well?

That would mean to implement all the normal drag&drop possibilities after 
someone did a "crtl - klick" and a 2nd click. And for returning to n"normal 
mode" a 3rd klick. Or you could change it to "crtl - klick" for selecting 
without loading, and "crtl - klick" with holding down the mouse button for 
appereance of the recent popup?

Original comment by wit...@gmx.net on 4 Jul 2011 at 6:05

GoogleCodeExporter commented 9 years ago
Let's see what we can do with this for 9.3.1 also.

Original comment by classi...@floodgap.com on 17 Jan 2012 at 11:14

GoogleCodeExporter commented 9 years ago
Hmm, this is going to be more involved than I thought. There isn't direct 
support for this in the code, besides the fact that JavaScript can't detect the 
Command key.

Original comment by classi...@floodgap.com on 21 Feb 2012 at 2:53

GoogleCodeExporter commented 9 years ago
Dropping for 9.3.1 because I can't find an easy way to feed Cmd to JavaScript. 
Have to think about how to rejigger events.

Original comment by classi...@floodgap.com on 8 Oct 2012 at 7:35