masghar / transmission-remote-dotnet

Automatically exported from code.google.com/p/transmission-remote-dotnet
GNU General Public License v3.0
0 stars 0 forks source link

Crash on Right click #255

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Start Transmission Remote
2.Connect to server
3.Highlight torrent in list
4.Right Click

What is the expected output? What do you see instead?

Menu Popup.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: ContextMenu cannot be shown on an invisible control.
Parameter name: control
   at System.Windows.Forms.ContextMenu.Show(Control control, Point pos,
Int32 flags)
   at System.Windows.Forms.Control.WmContextMenu(Message& m, Control
sourceControl)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ListView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Transmission Remote
    Assembly Version: 3.20.0.0
    Win32 Version: 3.20.0.0
    CodeBase:
file:///C:/Program%20Files/Transmission%20Remote/Transmission%20Remote.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e
089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy
stem.Drawing.dll
----------------------------------------
Jayrock.Json
    Assembly Version: 0.9.8316.0
    Win32 Version: 0.9.10610.1056
    CodeBase: file:///C:/Program%20Files/Transmission%20Remote/Jayrock.Json.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50
a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System
.Xml.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.
Data.dll
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.W
eb.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

What version of the products are you using?
OS: Windows 7 Pro (x64)
Transmission: 1.92 (build 10363) The version in Ubuntu Server 10.04 LTS
Remote: 3.20 (rev 0)

Original issue reported on code.google.com by jlsw...@gmail.com on 30 Apr 2010 at 7:35

Attachments:

GoogleCodeExporter commented 9 years ago
Try latest svn build from http://elbandi.net/transmission-remote-dotnet/

Original comment by ml.ci...@gmail.com on 30 Apr 2010 at 9:01

GoogleCodeExporter commented 9 years ago
The latest svn sort of fixed the problem, it doesn't happen all the time now, 
and is
hard to replicate it, however it still errors out from time to time. It only 
seems to
happen when Transmission Remote is located on a secondary monitor.

Have attached dump log.

Will try to find a way to replicate the issue consistently.

Original comment by jlsw...@gmail.com on 30 Apr 2010 at 9:19

Attachments:

GoogleCodeExporter commented 9 years ago
I have no idea for where i sould search the bug :/

Original comment by elso.and...@gmail.com on 2 May 2010 at 11:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello,

I'm using
OS: Windows 7 Business (x64)
Transmission: 2.10 (build 11294) on QNAP TS-859 pro+ NAS
Remote: 3.24 (rev 0)

and I can confirm that it's only happen if Transmission Remote is used on a 
secondary monitor.

Further more I've found out that it's not only the secondary monitor. I think 
this problem corrosponds with Ultramon 3.10. If you maximize the window on the 
application started monitor and then use the button from Ultramon "Move it to 
other monitor". After this action Transmission dumps if you try to use a right 
mouseclick on a torrent.

I hope this helps to solve the problem.

Original comment by mi.erdm...@gmail.com on 19 Jan 2011 at 5:37

GoogleCodeExporter commented 9 years ago
So you can replicate the issue anytime? (i dont have 2 monitors, so i need 
someone, who test it)

Original comment by elso.and...@gmail.com on 19 Jan 2011 at 6:48

GoogleCodeExporter commented 9 years ago
Yes, I think it's possible. Everytime I do the described steps, Transmission 
Remote dumps.

Original comment by mi.erdm...@gmail.com on 23 Jan 2011 at 5:03

GoogleCodeExporter commented 9 years ago
Assuming you don't right click. I can click on torrents and the general tab 
does update properly.  But the other tabs remain blank when selected.  Proper 
coloring, no objects.  I can start and stop torrents and all configuration 
screens appear and disappear properly.  Right clicking on torrent list crashes 
app.
Moving window back to main monitor does not prevent crash when finally right 
clicking.  After moving app back to main monitor, speed and file tabs are still 
blank. Manually dragging app back and forth from monitor to monitor while 
maximized does not introduce instability.  Only if done while maximized and 
moved using ultramon easy switch button.

So it boils down to once the ultramon button is used to move a maximized client 
between monitors, it introduces an instability that remains for the remainder 
of the run time.  The instability prevents usage of right click menu, and 
prevents you from using any of the lower tabs besides General.

Original comment by idleb...@gmail.com on 30 Jan 2011 at 6:21

GoogleCodeExporter commented 9 years ago
Also, extending "<>" the app to both screens from the primary doesn't break it. 
 Taking the app maximized on the secondary display and extending to both 
screens breaks it.

Original comment by idleb...@gmail.com on 30 Jan 2011 at 6:23