Re: Mac & Screen Sharing / Keyboard Lock

Alan Ezust <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <CALy5K9rzk3ryPzXLEuXwJ-vJ6hk+AoZHKg20fJbJWPOgVbYRoQ@mail.gmail.com>
Hi David,

JRE 1.8.0_121 is kinda old. Try updating to a newer version of the JRE, one
that was released after whatever version of the OS is you are running.
Maybe there are bug fixes in the JRE that will handle these OS-specific
platform issues.



On Mon, Apr 8, 2019 at 10:30 AM David Filip <[email protected]> wrote:

> Steve,
>
> Thanks for the response, but while I agree is appears to be a window
> context problem, I have verified this problem occurs when there are no
> other windows open, from JEdit or otherwise.  Also, I use JEdit all the
> time, and Screen Sharing all the time, and have for many years, and through
> the years I’ve been doing this, this NEVER happened until I upgraded a
> bunch of servers from El Capitan to High Sierra + Mojave.
>
> I can always reproduce the problem by opening up a Screen Sharing session,
> launching JEdit on the remote server, typing or opening a file, and then
> changing the context to either the desktop or any other window on the
> remote server.  If I click the mouse within the JEdit window, I can see the
> highlight bar move within the editor window, and I see the JEdit menu
> options appear at the top, and the JEdit window bar “darkens”, so I know
> the window is being selected, but alas, the keyboard is completely
> unresponsive.  I can fix it by minimizing the JEdit window, and then
> double-clicking on the minimized icon to re-open the window, and then my
> keyboard works in the edit window … until I click somewhere else and then
> back, and then the keyboard is frozen again.
>
> I’m wondering if anyone out there with High Sierra / Mojave and at least
> two Mac’s can reproduce this, by screen sharing from one to the other.  Not
> sure that it matters, but I am opening Screen Sharing ON MOJAVE and opening
> a remote session ON HIGH SIERRA.
>
> Again, I never see any of this if I am on the same Mac at the “console”
> (local keyboard and display).  Also, I have seen it in various combinations
> between different servers, so it is not specific to just one Mac (I think I
> have 6 Macs, last time I took count …).
>
> Nonetheless, this problem is very annoying, and ALMOST getting me to look
> for another editor, after using JEdit for many years.  I said ALMOST ...
>
> Nonetheless, Steve Jakob, I acknowledge the many years of contributions
> you have made to the JEdit project, and even if this problem cannot be
> resolved, I will forgive you, and promise never to make you disappear from
> this world by my dark summons, or by any other means ... ;-)
>
> Thanks,
>
> Dave Filip
>
>
> > On Apr 5, 2019, at 10:18 AM, Steve Jakob <[email protected]>
> wrote:
> >
> > Hi David,
> >
> > I’ve never run jEdit remotely via MacOS screen sharing but I have
> experienced similar behaviour. It happens for me when jEdit opens another
> window and that new window has the focus, rendering the main editing window
> completely unresponsive. This happens most often when jEdit detects a
> change in an open file. Often it’s not clear what’s going on as the new
> window gets opened behind another application window or on another virtual
> desktop. Using Alt-Tab to switch to jEdit often seems to take me to the
> main editing window rather than the window with focus. In order to fix it I
> use Mission Control to show all open windows in order to find and close the
> offending window.
> >
> > Is it possible you’re having a similar “rogue window” problem?
> >
> > Steve Jakob
> >
> >
> >> On Apr 5, 2019, at 8:53 AM, David Filip <[email protected]> wrote:
> >>
> >> Greetings,
> >>
> >> I have started having a rather bizarre problem running JEdit - my
> favorite cross-platform delevlopment editor - on a Mac ... but only when
> using screen sharing (?!).  I believe this started when I upgraded from El
> Capitan to Mojave (on some Macs) and High Sierra (on some Macs that don't
> support Mojave).  I don't remember ever seeing this problem on El Capitan.
> >>
> >> JEdit works fine when I am sitting at the Mac connected keyboard and
> screen.  I have seen no issues since upgrading.
> >>
> >> However, if I use macOS Screen Sharing to a remote Mac, I can open
> JEdit on the remote Mac, begin editing a file, and everything is fine until
> I lose focus and click on another window.  Then, if I click back on my
> JEdit window -- still within screen sharing -- the keyboard is completely
> locked unresponsive, but only in the JEdit window.  Of course, I can change
> focus to any other window on the remote Mac and the keyboard works fine.
> >>
> >> What is even more bizarre is if I then physically go to the connected
> keyboard and screen of what was the remote Mac once this happens, the
> keyboard is also unresponsive within the JEdit window.  However, while
> still sitting at the connected keyboard and screen, I click on another
> window to change focus, and then click back on the JEdit window, I can once
> again type in JEdit.
> >>
> >> So ... I'm wondering if anyone else has experienced this?  Or if anyone
> out there has any ideas?
> >>
> >> I am running the latest JEdit (5.5.0) with the Oracle JRE 1.8.0_121.  I
> know it is easy to blame on macOS Screen Sharing, but I don't experience
> this with any other program, and regardless of the root cause, I'd love to
> find a work-around.
> >>
> >> My use case is that I manage five (5) Macs, each doing different
> things, an spend most of my day in front of a 4K monitor so that I can
> manage all of them, via Screen Sharing.
> >>
> >> Also, I originally had this problem running an older version of JEdit
> (I believe it was 5.3), so I upgraded (to 5.5.0) hoping it would help, but
> it did not.
> >>
> >> Any feedback or suggestions would be appreciated.
> >>
> >> Thanks,
> >>
> >> Dave.
> >>
> >>
> >>
> >> --
> >> -----------------------------------------------
> >> jEdit Users' List
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/jedit-users
> >
> >
> >
> > --
> > -----------------------------------------------
> > jEdit Users' List
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jedit-users
>
>
>
> --
> -----------------------------------------------
> jEdit Users' List
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jedit-users
>

-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.