Home | News | Documentation | Download

drag_and_drop.C

Hi,
there is a strange problem with the drag_and_drop.C from the tutorial. If I simply run it, it doesn’t work. I mean the macro starts without errors, but the drag.n.drop itself doesn’t work (dragging from the list to the canvas has no effect). It starts working only when I open browser from the same window (menu->File->Browse…). When I close browser, it stops working again. I tried it also with another gui program, the effect is the same - it works only after starting browser. It looks like the DNDManager is not working properly unless I start Browser.

What can be the reason? I’m running linux Mint 17.3, ROOT 5.34/34 installed from Mint repositories.

Thanks,
Yuri.

Hi,

I see no problem with the v5-34-00-patches branch on CentOS7…
I’ll investigate and try to reproduce the problem

Cheers, Bertrand.

I checked it on other PCs.

Linux Mint 18.1 Serena
ROOT 5.34/30 (heads/v5-34-00-patches@v5-34-28-57-gec27989, Apr 05 2016, 13:55:00 on linuxx8664gcc) - everything works, no problems.

CentOS Linux release 7.2.1511 (Core)
ROOT 5.34/36 (v5-34-36@v5-34-36, Apr 05 2016, 10:25:45 on linuxx8664gcc)

  • the same problem, works only after starting browser.

Yuri.

So it looks like the issue has been fixed in more recent versions (I can reproduce the issue with 5.34.36 on CentOS)

Cheers, Bertrand.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.