[e-users] e17 and eclipse - focus problem

7 views
Skip to first unread message

Mehturt

unread,
Feb 6, 2012, 10:36:36 AM2/6/12
to enlighten...@lists.sourceforge.net
Hi everyone,
I am using Eclipse 3.7.1 with E17 (rev 67696) on Debian and I am
having strange focus issues with quickfix window.
Suppose there are 2 errors in the code which I need to quick fix; I
position mouse over 1st error, quickfix window appears, I select the
fix, so far so good.
I position mouse over 2nd error, quickfix window appears but when I
try to select the fix, the window disappears. The workaround is to
switch to another window (using alt+tab) and back, then the quickfix
works again.
Is this a known issue, if yes, is there a workaround for this?
I tried to search around whether it's eclipse problem or not but did
not find anything. My friend who is using eclipse with Gnome3 does
not see this problem, that's why I assumed it might be E17's fault.
Thank you for any information on this..
m.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
enlightenment-users mailing list
enlighten...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

David Seikel

unread,
Feb 6, 2012, 10:43:39 AM2/6/12
to enlighten...@lists.sourceforge.net
On Mon, 6 Feb 2012 16:36:36 +0100 Mehturt <meh...@gmail.com> wrote:

> Hi everyone,
> I am using Eclipse 3.7.1 with E17 (rev 67696) on Debian and I am
> having strange focus issues with quickfix window.
> Suppose there are 2 errors in the code which I need to quick fix; I
> position mouse over 1st error, quickfix window appears, I select the
> fix, so far so good.
> I position mouse over 2nd error, quickfix window appears but when I
> try to select the fix, the window disappears. The workaround is to
> switch to another window (using alt+tab) and back, then the quickfix
> works again.
> Is this a known issue, if yes, is there a workaround for this?
> I tried to search around whether it's eclipse problem or not but did
> not find anything. My friend who is using eclipse with Gnome3 does
> not see this problem, that's why I assumed it might be E17's fault.
> Thank you for any information on this..

I vaguely recall that Java has hard coded assumptions about the window
manager it is running on, and those only include GNOME or KDE. E17 has
some workarounds for that silliness, but they may not be enough.

Mind you, I might be wrong, or the flavour of Java you are using might
be different. It could also be different enough to break E17's
workarounds.

--
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.

Austin Morgan

unread,
Feb 6, 2012, 11:18:07 AM2/6/12
to Enlightenment users discussion & support
I am running e17 on gentoo with eclipse indigo rc1 and not seeing this issue.

Austin

----- Reply message -----
From: "Mehturt" <meh...@gmail.com>
To: <enlighten...@lists.sourceforge.net>
Subject: [e-users] e17 and eclipse - focus problem
Date: Mon, Feb 6, 2012 9:36 am


Hi everyone,
I am using Eclipse 3.7.1 with E17 (rev 67696) on Debian and I am
having strange focus issues with quickfix window.
Suppose there are 2 errors in the code which I need to quick fix; I
position mouse over 1st error, quickfix window appears, I select the
fix, so far so good.
I position mouse over 2nd error, quickfix window appears but when I
try to select the fix, the window disappears. The workaround is to
switch to another window (using alt+tab) and back, then the quickfix
works again.
Is this a known issue, if yes, is there a workaround for this?
I tried to search around whether it's eclipse problem or not but did
not find anything. My friend who is using eclipse with Gnome3 does
not see this problem, that's why I assumed it might be E17's fault.
Thank you for any information on this..

m.

Mehturt

unread,
Feb 6, 2012, 11:49:10 AM2/6/12
to Enlightenment users discussion & support
On Mon, Feb 6, 2012 at 5:18 PM, Austin Morgan
<admo...@morgancomputers.net> wrote:
> I am running e17 on gentoo with eclipse indigo rc1 and not seeing this issue.

That is strange, are you using any non-default focus settings in e17?
My problem is that after 1st quick-fix the focus does not return to
the editor, e.g. if the quick-fix adds an import, I cannot save the
change (via ctrl+s or clicking on the save icon), it's greyed-out.
In the meantime I also tried to set wm name (via wmname utility) to
either Compiz, Sawfish or LG3D prior to running eclipse, but the
behavior is the same.

Austin Morgan

unread,
Feb 7, 2012, 8:04:56 AM2/7/12
to Enlightenment users discussion & support
As I can not find the focus settings. I am going to assume that I have
the defaults. My focus currently follows my mouse, and requires me to
click on the title bar to change z ordering. I do not use Compiz,
Sawfish or LG3D.

Austin Morgan

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!


The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!

http://p.sf.net/sfu/learndevnow-d2d

Jeremy Quandt

unread,
Mar 6, 2012, 9:36:12 PM3/6/12
to enlighten...@lists.sourceforge.net
I just wanted to add my 2 cents. I am using an Ubuntu 11.10 machine, with the
ppa https://launchpad.net/%7Ehannes-janetzek/+archive/enlightenment-svn and I
work daily using Eclipse to code and I often have window focusing problems. For
java I have setup to use Sun's java (/usr/lib/jvm/java-6-sun/jre/bin/java).

I do have the GNOME Settings Daemon and a number of other Ubuntu stuff launched
on startup, namely just to get the GTK windows looking right in addition to the
network and proxy pieces working correctly. There is no ecomorph running or
compiz. Mouse focus is set to click to focus.

I really like e17, but the conflicts with Eclipse focusing is getting harder to
accept. I haven't been able to fully list steps to reproduce yet, but some of
the symptoms I have are as follows:

1.) Edit window looses focus (greyed out). If the text buffer has changed it
won't allow me to save. File context "Save All" is also disallowed even though
the buffer shows change. To save the file I have to close the tab for the file,
which will then prompt me to save the file. I then have to dig through my
project to reopen the file.

2.) Select text in an editor for a file, find and Replace window (I have mapped
to CTRL+F) when invoked will appear but the editor has lost focus so the "Find"
button will be greyed out until the editor window is selected and the Find &
Replace window is reselected.

3.) When debugging, the thread stack doesn't always allow switching a thread
(seems to ignore the click).

On a side note, Mono (debugger) also will crash when hovering over a variable in
the watch window. A tooltip usually displays extended values of the variable
(like a full string).

Not sure what else I can do to help, but I will try to see if I can get the
issue to be reproducible.


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

Reply all
Reply to author
Forward
0 new messages