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

 
 

task #11840: mouse and cursor related tasks

Submitted by:  None
Submitted on:  Mon 20 Feb 2012 11:48:38 AM UTC  
Votes:  70  
 
Category: NoneShould Start On: Mon 20 Feb 2012 12:00:00 AM UTC
Should be Finished on: Mon 20 Feb 2012 12:00:00 AM UTCPriority: 5 - Normal
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Originator Name: NeiOriginator Email: -unavailable-
Open/Closed: OpenPlanned Release: None
IRC nick: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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 (3kB - 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
  • -unavailable- added by joelina (Voted in favor of this item)
  • -unavailable- added by nils_2 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 70 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Sep 2013 11:02:17 AM UTCjoelinaCarbon-Copy-=>Added joelina
    Wed 10 Oct 2012 04:14:26 PM UTCNoneAttached File-=>Added 0003-docs-for-mouse-events.patch, #26733
    Wed 10 Oct 2012 02:17:15 PM UTCNoneAttached File-=>Added 0002-add-mouse-events.patch, #26732

    Back to the top


    Powered by Savane 3.1-cleanup