[racket] DRRacket right-click menu fragility in Linux.

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Apr 18 08:39:42 EDT 2013

This disables check syntax tooltips. Does that help?

--- a/collects/drracket/private/syncheck/gui.rkt
+++ b/collects/drracket/private/syncheck/gui.rkt
@@ -805,7 +805,7 @@ If the namespace does not, they are colored the unbound
color.

             ;; syncheck:add-mouse-over-status : text pos-left pos-right
string -> void
             (define/public (syncheck:add-mouse-over-status text pos-left
pos-right str)
-              (when arrow-records
+              (when (and #f arrow-records)
                 (add-to-range/key text pos-left pos-right
                                   (make-tooltip-info text pos-left
pos-right str)
                                   #f #f)))



On Thu, Apr 18, 2013 at 7:28 AM, Laurent <laurent.orseau at gmail.com> wrote:

> Yes, apparently.
>
> In DrRacket, deactivating syntax check does not change the problem.
>
>
> On Thu, Apr 18, 2013 at 1:52 PM, Robby Findler <
> robby at eecs.northwestern.edu> wrote:
>
>> If you run "gracket" does the right click menu work better there?
>>
>> Robby
>>
>>
>> On Thu, Apr 18, 2013 at 6:45 AM, Laurent <laurent.orseau at gmail.com>wrote:
>>
>>> Are there any news about that bug? I miss the right-click menu very
>>> much...
>>>
>>> Laurent
>>>
>>>
>>> On Wed, Dec 5, 2012 at 5:30 AM, Neil Toronto <neil.toronto at gmail.com>wrote:
>>>
>>>> Could what you're experiencing have anything to do with tooltips? It
>>>> seems my right-click menu doesn't stay up whenever there's a tooltip out.
>>>> Which is, like, every time I want it.
>>>>
>>>> Neil ⊥
>>>>
>>>>
>>>> On 12/04/2012 07:55 PM, Ray Racine wrote:
>>>>
>>>>> Yea, I didn't want to make a big deal out of it, but the up/down button
>>>>> change did not fix the issue.   In fact I'd say no impact positive or
>>>>> negative.
>>>>>
>>>>> It seems to happen when there is additional drawing 'complexity' in
>>>>> co-occurrence with the pop up drawing area.  I.e. the pop up menu is
>>>>> drawing where arrows are drawn or error highlighting is occurring etc.
>>>>> Also maybe when the pop up menu area is near the 'edge' of the Dr
>>>>> window
>>>>> and or pane area.  But again the problem is not consistently
>>>>> reproducible yet happens more often then not.  Its not a once in a blue
>>>>> moon that thing.  Sometimes an attempt to right click pop up  menu will
>>>>> fail numerous times in a row then succeed for no apparent reason.
>>>>>
>>>>> On Dec 4, 2012 9:07 PM, "Robby Findler" <robby at eecs.northwestern.edu
>>>>> <mailto:robby at eecs.**northwestern.edu <robby at eecs.northwestern.edu>>>
>>>>> wrote:
>>>>>
>>>>>     On Tue, Dec 4, 2012 at 6:11 PM, Stephen Chang <stchang at ccs.neu.edu
>>>>>     <mailto:stchang at ccs.neu.edu>> wrote:
>>>>>      > On Fri, Nov 2, 2012 at 9:33 PM, Robby Findler
>>>>>      > <robby at eecs.northwestern.edu
>>>>>     <mailto:robby at eecs.**northwestern.edu<robby at eecs.northwestern.edu>>>
>>>>> wrote:
>>>>>      >> I've pushed a fix to this. Thanks to Matthew for looking into
>>>>> it and
>>>>>      >> sorting it out and sorry for the delay.
>>>>>      >
>>>>>      > I'm using git head and I'm still seeing this problem (Ubuntu
>>>>>     11.10). I
>>>>>      > can't reliably reproduce it but in case it helps, it most
>>>>> recently
>>>>>      > happened when I selected tack arrows and now I can't bring up
>>>>> the
>>>>>     menu
>>>>>      > to untack the arrows anymore.
>>>>>      >
>>>>>
>>>>>     The particular fix Matthew pointed me to is popping up the menu on
>>>>> a
>>>>>     mouse down event, not a mouse up event.
>>>>>
>>>>>     http://git.racket-lang.org/**plt/blobdiff/**
>>>>> 27aa99944657c5827eee3772f715df**7dd971d1e0..**
>>>>> 0377bda9474f8848a97509ace89817**4c83361006:/collects/**
>>>>> framework/private/keymap.rkt<http://git.racket-lang.org/plt/blobdiff/27aa99944657c5827eee3772f715df7dd971d1e0..0377bda9474f8848a97509ace898174c83361006:/collects/framework/private/keymap.rkt>
>>>>>
>>>>>     So I guess there's something else going on, too (because that's the
>>>>>     code that pops up the menu with the check syntax items).
>>>>>
>>>>>     Robby
>>>>>
>>>>>
>>>>>
>>>>> ____________________
>>>>>    Racket Users list:
>>>>>    http://lists.racket-lang.org/**users<http://lists.racket-lang.org/users>
>>>>>
>>>>>
>>>> ____________________
>>>>  Racket Users list:
>>>>  http://lists.racket-lang.org/**users<http://lists.racket-lang.org/users>
>>>>
>>>
>>>
>>> ____________________
>>>   Racket Users list:
>>>   http://lists.racket-lang.org/users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130418/0f08ed0c/attachment.html>

Posted on the users mailing list.