Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

form_text_input mouse-cursor

Hey guys,

after using a form_text_input the mouse-cursor is visible and in the middle of the screen. That could distract our participants. Does anybody know, how I can make the cursor invisible?



  • Hi Artur,

    I can't seem to find a solution: one line that sort seems to be handy:
    which hides the mouse if executed, but it seems that the mouse is called when the text display is executed, which would , I think call for some sort of a custom function, maybe @eduard knows ho this might work

  • Hi,

    One solution (a little ugly though), is to put a mouse response after the form. In that mouse_response change the timeout to 0 and unselect the box for Visible mouse cursor.

    Does that help?


    Buy Me A Coffee

  • Hi All,

    Some time ago I had a similar problem, and (with Eduard's help) we fixed it by adding the following lines at the beginning of the the inline script (on the run sequence) that produces every trial:

        ### Hide Mouse
        ms = mouse()

    If you only use the standard OpenSesame objects, you can simply add an inline_script containing the mentioned lines at the beginning of your trial loop.

    Hope that helps!

  • Brilliant!

    Buy Me A Coffee

  • This doesn't solve the problem of the visibility of the cursor during the text input item though, when I tried these lines they only hide the mouse before or after the text input item, but not during. Guess that is not quite essential though

  • Oh shit,

    Yes, I haven't read the discussion properly (obviously). I'll have a look later today or tomorrow, whether it is something that can be changed.


    Buy Me A Coffee

  • Hi Artur,
    I had the same problem before.
    The inline script should be placed after the form containing text_input.
    Hope that works!


  • Ok,

    The only way I found to fix it, is to modify the source code of Opensesame (just writing a wrapper function does not work as the mouse object is invoked quite deep inside).

    So on your computer you have to find following file: libopensesame/widgits/ In this file you need to comment the lines 173 #self.mouse.show_cursor() and 198 #self.mouse.hide_cursor()

    This should do the trick. However, this changes the mouse visibility for all forms. Therefore, you won't see a mouse in multiple choice items as well (which could be a little annoying). I'll have a look whether the mouse functionality in forms can be improved in future releases.

    GOod luck,


    Buy Me A Coffee

  • That is great Eduard, thanks for looking into it, attached a text file with the code, and full link;
    \YOUR FOLDER HERE \ opensesame_3.1.9-py2.7-win32-1\opensesame_3.1.9-py2.7-win32-1\Lib\site-packages\libopensesame\widgets

  • Hi guys,

    Just checking, this isn't an issue if I have the form at the end of the experiment right? I just realised I need a quick way to patch demographic questions into my experiments, and so I am thinking I will add age/gender forms to the end. It's an eye-tracking experiment and I don't have a tracker with me so I can't check on my own if the form introduces problems with the cursor (mouse pilot makes the cursor visible anyway)


Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games