taskWeeChat - Tasks: task #11840, mouse and cursor related tasks

 
 

task #11840: mouse and cursor related tasks

Submitter:  None
Submitted:  Mon 20 Feb 2012 11:48:38 AM UTC
Votes:  70  
 
Category:  None Should Start On:  Mon 20 Feb 2012 12:00:00 AM UTC
Should be Finished on:  Mon 20 Feb 2012 12:00:00 AM UTC Priority:  5 - Normal
Status:  None Privacy:  Public
Percent Complete:  0% Assigned to:  None
Originator Name:  * Nei Originator Email:  * -email is unavailable-
Open/Closed:  Open Planned Release:  None
IRC nick: 
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Thu 06 Feb 2014 01:34:52 PM UTC, comment #2: 
  • keyboard support to jump between highlighted parts of the screen, like: URL, Nicks, Channels, ...
Anonymous
Mon 14 May 2012 08:12:41 PM UTC, comment #1: 

+1

Nils G <nils_2>
Project Member
Mon 20 Feb 2012 11:48:38 AM UTC, original submission:  

Hi FlashCode,

here are my thoughts SO FAR :-)

  • is it possible to differentiate click on the nick name (prefix) in chat window? bol is "", but bol is also "" if click on 1st letter of chat text
  • better drag and drop support, e.g. click in middle of 1st line, drag to middle of 3rd line; want to receive (select) from--to region
  • hilighting or adding markup to the buffer, e.g. hilight all possible URLs, or hilight current selection, or hilight currently selected (with keyboard/cursor) URL see screenshot on my script page
    • selection should update during drag
    • selection must work with /cursor, maybe something like start_selection, end_selection
  • alternatively a way to get text layout, to copy everything in a free layout window. that's what my patch and script does
  • double- or triple click support? example usage: double-click on URL to open, double-click on nick to query (but single-click on nick opens nick menu)
    • also: double-click and drag to start word selection (select text by word boundaries)
  • better keyboard navigation in /cursor mode, e.g. bind M-{b,f}, C-{a,e}
  • resize split windows interactively with /cursor or mouse drag
  • selection and cursor positioning for input_text area, I think positioning should be somehow possible with the current API
  • publish button down and button up events to scripts, so they can do different things (menu script does select on down, execute on up)
  • wish item: dynamic switch between 1000 and 1002 mode during drag, for better xterm compatibility (see my mouse-var.pl script how to do it, basically switch to 1002 on ' ' and back to 1000 on '#')

some sample how coords works, maybe you can help me come up with a plan how to port it? the API and my "api" are thought up in other ways :-)

  • button down -> create copy window (most similar to this: /cursor mode), hilight URLs
    • start drag: starts to select text, hilight as drag goes
      • button up: selected text is copied, copy win closes
    • button up
      • nothing: IF there was a URL on the position, the URL is copied. copy win closes
      • button down
        • start drag (i.e. double click with start drag): starts to select text BY WORDS, hilight as drag goes (a lot of terminals have this feature)
          • button up: selected text is copied, copy win closes
        • button up (i.e. double click): IF there was a URL, lauch browser, copy win closes

the list is structured as a tree, you have a different choice for each level you go down, hope you can understand what I mean?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #26733:  0003-docs-for-mouse-events.patch added by None (1021B - text/x-patch - sample doc for english user guide according to add-mouse-events.patch)
file #26732:  0002-add-mouse-events.patch added by None (3KiB - text/x-patch - make bare mouse events accessible, for example to calculate complex gesture. by binding buttonX-event-(down|drag) to a hsignal)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joelina (Voted in favor of this item)
  • -email is unavailable- added by nils_2 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 70 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-11 joelina Carbon-Copy- Added joelina
    2012-10-10 None Attached File- Added 0003-docs-for-mouse-events.patch, #26733
    2012-10-10 None Attached File- Added 0002-add-mouse-events.patch, #26732

    Back to the top


    Powered by Savane 3.9