[Dev] Disabled Mouse Cursor in Tizen 2.2

Carsten Haitzler c.haitzler at samsung.com
Wed Aug 13 05:59:11 GMT 2014


On 08/13/2014 12:39 PM, 박성진 wrote:
> Hello.
> as I remember, in Tizen 2.2 mobile, SW cursor has been disabled by default inside Xserver.
> Using SW cursor in Xserver will make damage events as the cursor needs to be updated.
> This can be tightly coupled with UI rendering performance.
> Thus the mouse cursor won't be shown even if the proper cursor image has been set by enlightenment window manager,

sw cursor causes damages? really? wow! thats... all kinds of wrong!

> If you want to display mouse cursor, you can do one of the followings:
> - implement H/W cursor related functions in your X video driver
>   and make sure that H/W cursor is being supported in your kernel.
> - enable S/W cursor with the following command.
>     # DISPLAY=:0 xsetroot -cursor_name left_ptr
>
> Best regards,
> Sung-Jin Park
>
> ------- Original Message -------
> Sender : Carsten Haitzler<tizen at rasterman.com> 
> Date   : 2014-08-13 12:04 (GMT+09:00)
> Title  : Re: [Dev] Disabled Mouse Cursor in Tizen 2.2
>
> On Wed, 13 Aug 2014 00:42:22 +0900 GyeongHwan Hong <redcarrottt at gmail.com> said:
>
>> Hello,
>> I appreciate your advise.
>> As you mentioned, I tried to remove all the contents of ~/.e.
>> I also tried to disable part of the contents with all number of cases.
>> As a result, I failed to make mouse cursor appear.
>>
>> I checked the original theme file in the source code of Enlightment in
>> Tizen 2.2, as well.
>> There are samsung.edc and default.edc on framework/uifw/e17/data/themes.
>> In Tizen 2.2, samsung.edc is set as default theme file, so I investigated
>> it.
>> samsung.edc is pointing a image file of mouse cursor.
>> Although default.edc is pointing dozens of image files, samsung.edc is
>> definitely pointing cursor image file and allowing to show the cursor.
>>
>> I guess that there is some code forbidding cursor's appearance in source
>> code of Enlightment, Xorg or Xorg drivers.
>>
>> Do you have anything else idea?
> you should go back to the default profile as well, as i said - make sure all
> modules are compiled. then you will get the ui you want. all the samsung mods
> there (samsung profile, theme) are hyper specific to just make a mobile ui and
> nothing else. no mouse cursor (normally), no window titlebars/borders. only "1
> window at a time" etc.
>
> if you want a "desktop env" ... you want to rebuild e to have all modules,
> ensure you are starting "out of the box without changes" and you'll get a
> regular wizard and desktop.
>
> tizen is not user friendly. it's product/oem friendly. unless it is a
> phone/mobile device you are making.. you want likely a regular windowed
> expeirence and that has basically been removed in tizen enlightenment. the best
> is to disable as many changes as possible to get back to that.
>
>> Regards,
>> Gyeonghwan Hong.
>>
>> -- 
>> Gyeonghwan Hong (RedCarrottt)
>> Embedded Software Lab.
>> Sungkyunkwan University
>> RedCarrottt at gmail.com
>>
>>
>>> On Tue, 12 Aug 2014 14:45:48 +0900, Carsten Haitzler wrote:
>>> Date: Tue, 12 Aug 2014 14:45:48 +0900
>>> From: Carsten Haitzler <c.haitzler at samsung.com>
>>> To: dev at lists.tizen.org
>>> Subject: Re: [Dev] Disabled Mouse Cursor in Tizen 2.2
>>> Message-ID: <53E9AA0C.8000807 at samsung.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> it may be the enlightenment theme that sets an invisible cursor (just is
>>> all alpha pixels) and that is done by the theme. maybe try make sure you
>>> have the std default theme as shipped - not the modified ones, and dont
>>> use anything but the default profile.
>>>
>>> you also want to make sure your build doesnt enable or disable any
>>> modules - remove those module configure options from the build so you
>>> get all modules by default. if $HOME has an empty ~/.e dir then you'll
>>> be launched into e's default startup wizard with mouse pointer and all.
>>> basically i'm sayng "rmove all the csutomizing tizen has done and go
>>> back to 'as shipped by upstream'" and you'll get what you want. :)
>>>
>>> of course that e is really old. really old.
>>>
>>> On 08/12/2014 02:36 PM, GyeongHwan Hong wrote:
>>> In Tizen 2.2, who is drawing mouse cursor icon on the screen, among
>>> graphic device driver, Xorg library, X server, X resource and Enlightment?
>>>
>>> As I investigated, all of those have functions about drawing mouse cursor.
>>> However, one of them may draw it in effect, as I think.
>>>
>>> Thanks,
>>> Gyeonghwan Hong.
>>>
>>>
>>>
>>> 2014-08-12 14:10 GMT+09:00 ??? <myungjoo.ham at samsung.com
>>> <mailto:myungjoo.ham at samsung.com>>:
>>>
>>>     This may be helpful: https://bugs.tizen.org/jira/i#browse/TIVI-515
>>>
>>>
>>>
>>>     (googled Tizen "-nocursor")
>>>
>>>
>>>
>>>     ------- *Original Message* -------
>>>
>>>     *Sender* : GyeongHwan Hong<redcarrottt at gmail.com
>>>     <mailto:redcarrottt at gmail.com>
>>>
>>>
>>>     *Date* : 2014-08-12 13:51 (GMT+09:00)
>>>
>>>     *Title* : [Dev] Disabled Mouse Cursor in Tizen 2.2
>>>
>>>
>>>
>>>     Hello.
>>>
>>>     I am porting Tizen 2.2 on my ODROID-U3 board.
>>>     I built source of all the packages in Tizen 2.2, made a image by
>>>     MIC and flashed on the device.
>>>     As almost porting, I can see GUI of Tizen such as lock screen,
>>>     launchpad and some basic apps.
>>>
>>>     When I plug a mouse to USB port of the board, however, any mouse
>>>     cursor is not shown on the screen, but I can click some button an
>>>     app icon or make a drag on the lock screen.
>>>
>>>     I checked that Xinput identified my mouse by xinput command.
>>>     I also set Xcursor themes on /usr/share/icons/ and configuration
>>>     file on /etc/X11/Xresources.
>>>
>>>     I am guessing the reason is that Xorg or Enlightment is modified
>>>     to interrupt behavior about mouse cursor, for touch screen devices.
>>>     I heard that there was a patch on xorg in Tizen 2.1 as below URL.
>>>     (In Tizen 2.2, this patch is integrated into
>>>     framework/uifw/xorg/server/xorg-server/mi/misprite.c)
>>>     This patch seems to disable a behavior drawing SW cursor.
>>>
>>>
>> https://build.tizen.org/package/view_file?file=0012-Add-a-feature-not-to-draw-sw-cursor.patch&package=xorg-server&project=Tizen%3AGeneric&rev=9506db4c8b3e9136288cbfb7fcce158b
>>>     I removed it off and put a rebuilt xorg-server package into the
>>>     device,
>>>     but mouse cursor still does not appear.
>>>
>>>     How can mouse cursor be shown?
>>>     Is there other code disabling mouse cursor?
>>>
>>>
>>>     Thanks,
>>>     Gyeonghwan Hong.
>>>
>>>
>>>     --
>>>     Gyeonghwan Hong (RedCarrottt)
>>>     Embedded Software Lab.
>>>     Sungkyunkwan University
>>>     RedCarrottt at gmail.com <mailto:RedCarrottt at gmail.com>
>>>
>>>
>>>
>>>     --
>>>
>>>     MyungJoo Ham (???), PHD
>>>
>>>     Frontier CS Lab, Software Center
>>>     Samsung Electronics
>>>     Cell: +82-10-6714-2858 <tel:%2B82-10-6714-2858>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Gyeonghwan Hong (RedCarrottt)
>>> Embedded Software Lab.
>>> Sungkyunkwan University
>>> RedCarrottt at gmail.com <mailto:RedCarrottt at gmail.com>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev at lists.tizen.org
>>> https://lists.tizen.org/listinfo/dev
>> --
>> The above message is intended solely for the named addressee and may
>> contain trade secret, industrial technology or privileged and
>> confidential information otherwise protected under applicable law
>> including the Unfair Competition Prevention and Trade Secret Protection
>> Act. Any unauthorized dissemination, distribution, copying or use of the
>> information contained in this communication is strictly prohibited. If
>> you have received this communication in error, please notify the sender
>> by email and delete this communication immediately.
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.tizen.org/pipermail/dev/attachments/20140812/a54d77a4/attachment.html
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: not available
>> Type: image/gif
>> Size: 13168 bytes
>> Desc: not available
>> URL: <
>> http://lists.tizen.org/pipermail/dev/attachments/20140812/a54d77a4/attachment.gif
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: signature.asc
>> Type: application/pgp-signature
>> Size: 819 bytes
>> Desc: OpenPGP digital signature
>> URL: <
>> http://lists.tizen.org/pipermail/dev/attachments/20140812/a54d77a4/attachment.asc
>>
>> 2014-08-12 14:37 GMT+09:00 <dev-request at lists.tizen.org>:
>>
>>> Send Dev mailing list submissions to
>>>         dev at lists.tizen.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>         https://lists.tizen.org/listinfo/dev
>>> or, via email, send a message with subject or body 'help' to
>>>         dev-request at lists.tizen.org
>>>
>>> You can reach the person managing the list at
>>>         dev-owner at lists.tizen.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Dev digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>    1. Re: Disabled Mouse Cursor in Tizen 2.2 (Carsten Haitzler)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Tue, 12 Aug 2014 14:45:48 +0900
>>> From: Carsten Haitzler <c.haitzler at samsung.com>
>>> To: dev at lists.tizen.org
>>> Subject: Re: [Dev] Disabled Mouse Cursor in Tizen 2.2
>>> Message-ID: <53E9AA0C.8000807 at samsung.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> it may be the enlightenment theme that sets an invisible cursor (just is
>>> all alpha pixels) and that is done by the theme. maybe try make sure you
>>> have the std default theme as shipped - not the modified ones, and dont
>>> use anything but the default profile.
>>>
>>> you also want to make sure your build doesnt enable or disable any
>>> modules - remove those module configure options from the build so you
>>> get all modules by default. if $HOME has an empty ~/.e dir then you'll
>>> be launched into e's default startup wizard with mouse pointer and all.
>>> basically i'm sayng "rmove all the csutomizing tizen has done and go
>>> back to 'as shipped by upstream'" and you'll get what you want. :)
>>>
>>> of course that e is really old. really old.
>>>
>>> On 08/12/2014 02:36 PM, GyeongHwan Hong wrote:
>>>> In Tizen 2.2, who is drawing mouse cursor icon on the screen, among
>>>> graphic device driver, Xorg library, X server, X resource and
>>> Enlightment?
>>>> As I investigated, all of those have functions about drawing mouse
>>> cursor.
>>>> However, one of them may draw it in effect, as I think.
>>>>
>>>> Thanks,
>>>> Gyeonghwan Hong.
>>>>
>>>>
>>>>
>>>> 2014-08-12 14:10 GMT+09:00 ??? <myungjoo.ham at samsung.com
>>>> <mailto:myungjoo.ham at samsung.com>>:
>>>>
>>>>     This may be helpful: https://bugs.tizen.org/jira/i#browse/TIVI-515
>>>>
>>>>
>>>>
>>>>     (googled Tizen "-nocursor")
>>>>
>>>>
>>>>
>>>>     ------- *Original Message* -------
>>>>
>>>>     *Sender* : GyeongHwan Hong<redcarrottt at gmail.com
>>>>     <mailto:redcarrottt at gmail.com>>
>>>>
>>>>     *Date* : 2014-08-12 13:51 (GMT+09:00)
>>>>
>>>>     *Title* : [Dev] Disabled Mouse Cursor in Tizen 2.2
>>>>
>>>>
>>>>
>>>>     Hello.
>>>>
>>>>     I am porting Tizen 2.2 on my ODROID-U3 board.
>>>>     I built source of all the packages in Tizen 2.2, made a image by
>>>>     MIC and flashed on the device.
>>>>     As almost porting, I can see GUI of Tizen such as lock screen,
>>>>     launchpad and some basic apps.
>>>>
>>>>     When I plug a mouse to USB port of the board, however, any mouse
>>>>     cursor is not shown on the screen, but I can click some button an
>>>>     app icon or make a drag on the lock screen.
>>>>
>>>>     I checked that Xinput identified my mouse by xinput command.
>>>>     I also set Xcursor themes on /usr/share/icons/ and configuration
>>>>     file on /etc/X11/Xresources.
>>>>
>>>>     I am guessing the reason is that Xorg or Enlightment is modified
>>>>     to interrupt behavior about mouse cursor, for touch screen devices.
>>>>     I heard that there was a patch on xorg in Tizen 2.1 as below URL.
>>>>     (In Tizen 2.2, this patch is integrated into
>>>>     framework/uifw/xorg/server/xorg-server/mi/misprite.c)
>>>>     This patch seems to disable a behavior drawing SW cursor.
>>>>
>>>>
>>> https://build.tizen.org/package/view_file?file=0012-Add-a-feature-not-to-draw-sw-cursor.patch&package=xorg-server&project=Tizen%3AGeneric&rev=9506db4c8b3e9136288cbfb7fcce158b
>>>>     I removed it off and put a rebuilt xorg-server package into the
>>>>     device,
>>>>     but mouse cursor still does not appear.
>>>>
>>>>     How can mouse cursor be shown?
>>>>     Is there other code disabling mouse cursor?
>>>>
>>>>
>>>>     Thanks,
>>>>     Gyeonghwan Hong.
>>>>
>>>>
>>>>     --
>>>>     Gyeonghwan Hong (RedCarrottt)
>>>>     Embedded Software Lab.
>>>>     Sungkyunkwan University
>>>>     RedCarrottt at gmail.com <mailto:RedCarrottt at gmail.com>
>>>>
>>>>
>>>>
>>>>     --
>>>>
>>>>     MyungJoo Ham (???), PHD
>>>>
>>>>     Frontier CS Lab, Software Center
>>>>     Samsung Electronics
>>>>     Cell: +82-10-6714-2858 <tel:%2B82-10-6714-2858>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Gyeonghwan Hong (RedCarrottt)
>>>> Embedded Software Lab.
>>>> Sungkyunkwan University
>>>> RedCarrottt at gmail.com <mailto:RedCarrottt at gmail.com>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev at lists.tizen.org
>>>> https://lists.tizen.org/listinfo/dev
>>> --
>>> The above message is intended solely for the named addressee and may
>>> contain trade secret, industrial technology or privileged and
>>> confidential information otherwise protected under applicable law
>>> including the Unfair Competition Prevention and Trade Secret Protection
>>> Act. Any unauthorized dissemination, distribution, copying or use of the
>>> information contained in this communication is strictly prohibited. If
>>> you have received this communication in error, please notify the sender
>>> by email and delete this communication immediately.
>>>
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: <
>>> http://lists.tizen.org/pipermail/dev/attachments/20140812/a54d77a4/attachment.html
>>> -------------- next part --------------
>>> A non-text attachment was scrubbed...
>>> Name: not available
>>> Type: image/gif
>>> Size: 13168 bytes
>>> Desc: not available
>>> URL: <
>>> http://lists.tizen.org/pipermail/dev/attachments/20140812/a54d77a4/attachment.gif
>>> -------------- next part --------------
>>> A non-text attachment was scrubbed...
>>> Name: signature.asc
>>> Type: application/pgp-signature
>>> Size: 819 bytes
>>> Desc: OpenPGP digital signature
>>> URL: <
>>> http://lists.tizen.org/pipermail/dev/attachments/20140812/a54d77a4/attachment.asc
>>> ------------------------------
>>>
>>> Subject: Digest Footer
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev at lists.tizen.org
>>> https://lists.tizen.org/listinfo/dev
>>>
>>>
>>> ------------------------------
>>>
>>> End of Dev Digest, Vol 12, Issue 35
>>> ***********************************
>>>
>

-- 
The above message is intended solely for the named addressee and may
contain trade secret, industrial technology or privileged and
confidential information otherwise protected under applicable law
including the Unfair Competition Prevention and Trade Secret Protection
Act. Any unauthorized dissemination, distribution, copying or use of the
information contained in this communication is strictly prohibited. If
you have received this communication in error, please notify the sender
by email and delete this communication immediately.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.tizen.org/pipermail/dev/attachments/20140813/81317d8c/attachment-0001.asc>


More information about the Dev mailing list