# Defold menus not working properly linux

**URL:** <https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228>\
**Category:** Questions\
**Created:** [January 6, 2020, 6:06am UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228 "2020-01-06T06:06:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![enriquealexy](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/enriquealexy/32/19392_2.png) [@enriquealexy](https://forum.defold.com/u/enriquealexy)\
**Post date:** [January 6, 2020, 6:06am UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/1 "2020-01-06T06:06:14Z")

</div>

Hello, I am using defold in arch linux, very interested on the game engine but found out when trying to open any of the mane tabs at the top they dont stay open for me to clikc on anyhting i have to leave the mouse click to the menu to stay open

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [January 6, 2020, 8:26am UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/2 "2020-01-06T08:26:39Z")

</div>

I have not heard of this problem before. @vlaaad or @mats.gisselson do you recognise this?

---

<div class="post-metadata">

**Author:** ![enriquealexy](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/enriquealexy/32/19392_2.png) [@enriquealexy](https://forum.defold.com/u/enriquealexy)\
**Post date:** [January 6, 2020, 2:52pm UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/3 "2020-01-06T14:52:56Z")

</div>

SO, after a bit of testing i found out that this only happens when i am using a window manager I a usual desktop (Gnome) it worked perfectly, tried i3 same problem, and my main window manager Qtile and same problem.

---

<div class="post-metadata">

**Author:** ![rama](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/rama/32/18329_2.png) [@rama](https://forum.defold.com/u/rama)\
**Post date:** [January 6, 2020, 6:18pm UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/4 "2020-01-06T18:18:03Z")

</div>

using arch too with awesomewm and never had this issue, sorry can’t help.  
the only problem i have is the ui keeps changing the size of the panes every time i start the editor, that’s all.

---

<div class="post-metadata">

**Author:** ![enriquealexy](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/enriquealexy/32/19392_2.png) [@enriquealexy](https://forum.defold.com/u/enriquealexy)\
**Post date:** [January 6, 2020, 8:15pm UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/5 "2020-01-06T20:15:12Z")

</div>

I think is because the wm I use is tiled (Qtile)

---

<div class="post-metadata">

**Author:** ![markus.gustavsson](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/markus.gustavsson/32/12961_2.png) [@markus.gustavsson](https://forum.defold.com/u/markus.gustavsson)\
**Post date:** [January 7, 2020, 6:13am UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/6 "2020-01-07T06:13:46Z")

</div>

Hello!  
I have tried the editor on Arch before and I also had problems when using dwm but it worked fine with Plasma. I do not know exactly what the reason is. It is probably a JavaFx problem. We currently have no workaround for this other than using a window manager where it works. Sorry.

---

<div class="post-metadata">

**Author:** ![enriquealexy](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/enriquealexy/32/19392_2.png) [@enriquealexy](https://forum.defold.com/u/enriquealexy)\
**Post date:** [January 7, 2020, 2:33pm UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/7 "2020-01-07T14:33:37Z")

</div>

Oh OK, I have no problem just wanted to make sure it wasn’t something wrong on my end thanks!

---

<div class="post-metadata">

**Author:** ![awkravchuk](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/awkravchuk/32/30376_2.png) [@awkravchuk](https://forum.defold.com/u/awkravchuk)\
**Post date:** [November 15, 2022, 6:27pm UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/8 "2022-11-15T18:27:28Z")

</div>

Looks like there is a workaround (at least it helped my i3-based Manjaro installation): [https://bugs.openjdk.org/browse/JDK-8251240?focusedCommentId=14362084&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14362084](https://bugs.openjdk.org/browse/JDK-8251240?focusedCommentId=14362084&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14362084)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [November 15, 2022, 8:59pm UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/9 "2022-11-15T20:59:31Z")

</div>

Which of the solutions did you try? Setting `GDK_DISPLAY=1` or `Djdk.gtk.version=2`?

---

<div class="post-metadata">

**Author:** ![awkravchuk](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/awkravchuk/32/30376_2.png) [@awkravchuk](https://forum.defold.com/u/awkravchuk)\
**Post date:** [November 15, 2022, 9:25pm UTC](https://forum.defold.com/t/defold-menus-not-working-properly-linux/64228/10 "2022-11-15T21:25:06Z")

</div>

The latter, GDK\_DISPLAY does not seem to work.
