Right Click not working in Defold Editor

#1

Right click is not working anywhere in the Defold Editor.

I started following the Side Scroller Tutorial. It tells me to add a Sprite Component by right clicking on the root of the Outline. Nothing happens. Nothing happens when I right-click on the Assets view or anywhere else.

Searching the forum, I don’t see anyone mentioning this issue. Is it a known problem?

I’m using Defold 1.2.168 on a MacBook running Mojave 10.14.6. Right click is working fine in every other program.

1 Like

#2

This is happening for me as well. Same MacOS version and Defold version.

0 Likes

#3

Same here. Mouse right click stopped working after I updated Defold from within the editor. It looks like it is because of the latest update. To solve the problem for now, I downloaded the version from the main website and installed it again, I won’t be clicking on the update until they have a build that fixes the mouse right click issue.

1 Like

#4

I downloaded mine from this page: https://defold.com/download/

What is the version number of the one that works for you?

0 Likes

#5

It is possible that the download link on the main website was updated just after I downloaded it.

This is build information:

[build]
version = 1.2.168
editor_sha1 = 39749b921d8e37b9a669f4096a3faa6d7252dec5
engine_sha1 = e22f6d2f81e7c53ebcbfefe703ff22ce5da252c0
time = 2020-04-28T07:54:00.238035
channel = editor-alpha

0 Likes

#6

Looks like you are right. I guess I’ll go and download an older version.
[build]
version = 1.2.168
editor_sha1 = 391d341ed522bcabdeb6b7eaa37151c0ac68d534
engine_sha1 = e22f6d2f81e7c53ebcbfefe703ff22ce5da252c0
time = 2020-05-21T20:47:46.737878
channel = editor-alpha

0 Likes

#7

That fixed it. I downloaded the same version you have.

If anyone else needs it, the dmg file is here: https://d.defold.com/archive/e22f6d2f81e7c53ebcbfefe703ff22ce5da252c0/editor-alpha/editor2/Defold-x86_64-darwin.dmg

0 Likes

#8

The latest release shown in github is https://github.com/defold/defold/releases and it was published on April 20th. I hope we didn’t download a compromised code. If anyone from the Defold team can shed light on this, that would be great.

0 Likes

#9

I tested on latest and it does work for me with High Sierra.

0 Likes

#10

This is the version that is working for me and oeloeloel . If you see the small blue link at the bottom right that says ‘Update Available’. If you download that update, it won’t work.

0 Likes

#11

I just let it update again and it’s still working for me.

It could be a bad build cached somehow. Or a change which is only broken in newer MacOS versions?

0 Likes

#12

It could be because I am running Mojave 10.14.6. I can’t seem to find a way to list what fixes are included in this mysterious update.

0 Likes

#13

It should be in the commit history.

https://github.com/defold/defold/commits/editor-dev
0 Likes

#14

Sure, we can see all commits and all branches. The thing that I am trying to figure out is what build resulted in this update. Maybe if we look at some of the Github actions in the repo.

0 Likes

#15

It would be under here I think https://github.com/defold/defold/actions?query=workflow%3A"CI+-+Editor+Only"

https://github.com/defold/defold/runs/697603004?check_suite_focus=true this one (the latest) matches the hash. You can see it under Release editor.

TIL the hash used is of the commit.

https://github.com/defold/defold/commit/391d341ed522bcabdeb6b7eaa37151c0ac68d534
0 Likes

#16

Yes, that’s it. Thanks. :+1:

0 Likes

#17

Not much has changed in the editor. We made a small fix for dark mode though… What does the editor log say? Help - show logs

1 Like

#18

Unfortunately, the logs don’t say much:

2020-05-24 11:30:28.240 6252 [Timer-1] INFO  editor.updater - {:line 283, :message "Checking for updates", :url "https://d.defold.com/editor2/channels/editor-alpha/update-v3.json"}
2020-05-24 11:30:28.497 6509 [Timer-1] INFO  editor.updater - {:line 290, :message "No update found"}
2020-05-24 11:30:33.587 11599 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe [git, --version],/usr/bin
2020-05-24 11:30:33.620 11632 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe may return 'git version 2.20.1 (Apple Git-117)'
2020-05-24 11:30:33.621 11633 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - remaining output:

2020-05-24 11:30:33.622 11634 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe [git, config, --system, --edit],/usr/bin
2020-05-24 11:30:33.640 11652 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe may return '/private/etc/gitconfig'
2020-05-24 11:30:33.641 11653 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - remaining output:

2020-05-24 11:30:33.729 11741 [clojure-agent-send-off-pool-0] INFO  editor.boot-open-project - {:line 394, :message "project loaded"}
2020-05-24 11:31:28.502 66514 [Timer-1] INFO  editor.updater - {:line 283, :message "Checking for updates", :url "https://d.defold.com/editor2/channels/editor-alpha/update-v3.json"}
2020-05-24 11:31:28.783 66795 [Timer-1] INFO  editor.updater - {:line 290, :message "No update found"}
0 Likes

#19

I’m unable to reproduce the problem as well. @jsguru right click doesn’t work in the Assets panel and not in the Outline?

0 Likes

#20

Hi @britzl, right click does not work on any panel. Are you also running MacOS Mojave 10.14.6?

0 Likes