Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#6227 closed defect (fixed)

Drop models on OMEdit does not work after a fresh installation

Reported by: ceraolo Owned by: adeas31
Priority: normal Milestone: 1.18.0
Component: OMEdit Version: v1.17.0-dev
Keywords: Cc:

Description

To load models onto OMEdit I often use drag&drop.

I've been noting for years that this feature does not work whenever I install a new version of OMEdit for a few days. Then, I don't know exactly when this occurs, it starts working again.

The issue can be repeated at any time. To see it one has to install a new version, e.g. a new nightly build, then try to drop a file onto OMEdit: a stop sign appears indicating that no dropping action cannot occur.
This issue has been seen in Windows versions

Change History (5)

comment:1 Changed 4 years ago by ceraolo

  • Summary changed from Drop models on OMEdit does not work wafter a fresh installation to Drop models on OMEdit does not work after a fresh installation

comment:2 Changed 4 years ago by casella

Gosh, this is weird.

On the same line, I just bought a small drone as a birthday present for my kid. It is controlled by an app on the smartphone, which communicates to the game controller with joysticks via bluetooth. Of course the bluetooth fails to connect. Eventually I found that I needed to enable geolocation on the cellphone to get bluetooth to connect. Mind you, not to control the drone (that would have made sense, as it navigates around), just to communicate with the joystick. I may as well have needed to give it my mother's birthday, or my bank account number. Software is just crazy these days.

comment:3 Changed 4 years ago by casella

  • Milestone changed from 1.17.0 to 1.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:4 follow-up: Changed 3 years ago by adeas31

  • Resolution set to fixed
  • Status changed from new to closed

This issue is fixed now via PR#18.

This only happens when we start OMEdit directly from the installer after the installation is finished by checking "Start OpenModelica Connection Editor (OMEdit)". The problem is that installer has elevated UAC rights and any program that it starts will get the same rights. This was causing the problem for drag n drop. Now I have fixed so it gets normal user rights.

comment:5 in reply to: ↑ 4 Changed 3 years ago by ceraolo

This only happens when we start OMEdit directly from the installer after the installation is finished by checking "Start OpenModelica Connection Editor (OMEdit)". The problem is that installer has elevated UAC rights and any program that it starts will get the same rights. This was causing the problem for drag n drop. Now I have fixed so it gets normal user rights.

Nice. I could have thought that it occurred when I clicked on that button; indeed I usually do this.
Well shot!

Note: See TracTickets for help on using tickets.