Re: [E-devel] Fixing EFL and input focus on Maemo5/Fremantle

2009-11-29 Thread The Rasterman
On Sun, 29 Nov 2009 10:54:41 -0200 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

 On Sun, Nov 29, 2009 at 4:00 AM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Sat, 28 Nov 2009 18:01:18 -0200 Gustavo Sverzut Barbieri
  barbi...@profusion.mobi said:
 
  what i don't get is... efl doesnt set take_focus modes on its windows... so
  why is it getting a take focus request?
 
 dunno. Just seems that you'll not get the virtual keyboard unless you
 do that. I need to try patches to see if it really work out, Valerio
 is about to test some things as well as he is the one that is putting
 some effort on it.

do you have info on what really this is for and why? right now, i don't get
it where this is meant to be, and why. the qt patches imply it's for
take_focus handling - and qt uses this focus mode last i checked. gtk and efl
don't (use passive focus where wm does the focus set).


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Fixing EFL and input focus on Maemo5/Fremantle

2009-11-29 Thread Laszlo KREKACS
On Sun, Nov 29, 2009 at 2:01 PM, Carsten Haitzler ras...@rasterman.com wrote:
 On Sun, 29 Nov 2009 10:54:41 -0200 Gustavo Sverzut Barbieri
 barbi...@profusion.mobi said:
 dunno. Just seems that you'll not get the virtual keyboard unless you
 do that. I need to try patches to see if it really work out, Valerio
 is about to test some things as well as he is the one that is putting
 some effort on it.

 do you have info on what really this is for and why? right now, i don't get
 it where this is meant to be, and why.

Is it the same bug (or related) to the one, when you change window (and back),
the elementary.entry just loose the focus, and the virtual keyboard cant send
any character to it anymore. (and I could not find a function to force the
focus on the entry. I have to restart my application).

Im suffering from this on openmoko (shr).

Best regards,
 Laszlo

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Fixing EFL and input focus on Maemo5/Fremantle

2009-11-28 Thread Gustavo Sverzut Barbieri
Hi all,

Valerio from Maemo community and developer of Python-EFL based
Bluemaemo noticed that all EFL applications are broken with regard to
focus on Maemo5 (aka Fremantle) platform. Actually, lots of people
noticed it, but Valerio investigated the problem and solutions people
were using to solve it on other platforms and found a very descriptive
comment by Qt folks:

http://qt.gitorious.org/+qt-maemo-developers/qt/qt-maemo/commit/fbf22e64599b220cf95ca90d27d0eb6cdeaa91fe

// according to the ICCCM, the XSetInputFocus() should be optional for
non-modal windows
// see also 
http://mail.gnome.org/archives/wm-spec-list/2007-March/msg1.html
// seems like the Maemo5 WM is broken in that regard and always needs
an explicit
// XSetInputFocus() call.

So my suggestion is us to work around and add that to Ecore_Evas using
X backend.   We can even leave this always enabled as it will not
break the standard, as it says optional.

Suggestions, opinions?

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Fixing EFL and input focus on Maemo5/Fremantle

2009-11-28 Thread Tom Haste
Sorry if this is sidetracking a tad, but we also need a focus theme
for elementary (and E i guess). I know with my nokia 770 there was a
single button that was used like a left click. I imagine the n900 is
quite the same.

Anyway, if anyone has any suggestions on a focus theme, id gladly make
it up. Also, try to think of something different to the old focus
look. ;)

-Toma

On 11/29/09, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote:
 Hi all,

 Valerio from Maemo community and developer of Python-EFL based
 Bluemaemo noticed that all EFL applications are broken with regard to
 focus on Maemo5 (aka Fremantle) platform. Actually, lots of people
 noticed it, but Valerio investigated the problem and solutions people
 were using to solve it on other platforms and found a very descriptive
 comment by Qt folks:

 http://qt.gitorious.org/+qt-maemo-developers/qt/qt-maemo/commit/fbf22e64599b220cf95ca90d27d0eb6cdeaa91fe

 // according to the ICCCM, the XSetInputFocus() should be optional for
 non-modal windows
 // see also
 http://mail.gnome.org/archives/wm-spec-list/2007-March/msg1.html
 // seems like the Maemo5 WM is broken in that regard and always needs
 an explicit
 // XSetInputFocus() call.

 So my suggestion is us to work around and add that to Ecore_Evas using
 X backend.   We can even leave this always enabled as it will not
 break the standard, as it says optional.

 Suggestions, opinions?

 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: barbi...@gmail.com
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
Sent from my mobile device

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Fixing EFL and input focus on Maemo5/Fremantle

2009-11-28 Thread The Rasterman
On Sat, 28 Nov 2009 18:01:18 -0200 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

what i don't get is... efl doesnt set take_focus modes on its windows... so why
is it getting a take focus request?

 Hi all,
 
 Valerio from Maemo community and developer of Python-EFL based
 Bluemaemo noticed that all EFL applications are broken with regard to
 focus on Maemo5 (aka Fremantle) platform. Actually, lots of people
 noticed it, but Valerio investigated the problem and solutions people
 were using to solve it on other platforms and found a very descriptive
 comment by Qt folks:
 
 http://qt.gitorious.org/+qt-maemo-developers/qt/qt-maemo/commit/fbf22e64599b220cf95ca90d27d0eb6cdeaa91fe
 
 // according to the ICCCM, the XSetInputFocus() should be optional for
 non-modal windows
 // see also
 http://mail.gnome.org/archives/wm-spec-list/2007-March/msg1.html //
 seems like the Maemo5 WM is broken in that regard and always needs an explicit
 // XSetInputFocus() call.
 
 So my suggestion is us to work around and add that to Ecore_Evas using
 X backend.   We can even leave this always enabled as it will not
 break the standard, as it says optional.
 
 Suggestions, opinions?
 
 -- 
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: barbi...@gmail.com
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel