Bug SS-2344
2 votes

[LINUX] paste regions

Created by Davide on 5/14/2016 1:59 AM Last Updated by smath on 8/24/2016 12:25 AM
Logged: 0   (hrs)


Paste a region prompt the "save file" dialog ant then closes the application.

Linux Mint 17.3 + Cinnamon 2.8.6, latest mono complete from official repository.


Terminal LOG:

- [UserDir] Writer Region (0.6.5970.42814) [54 ms]
- [UserDir] Development Tools (0.1.5751.8979) [1 ms]
- [AppDir] HTML Export (1.13.5953.21875) [0 ms]
- [AppDir] Export to image (1.9.5953.21877) [0 ms]
- [AppDir] Picture Region (1.10.5953.21875) [3 ms]
- [AppDir] Plot Region (1.9.5953.21878) [3 ms]
- [AppDir] SMath Studio Files Plugin (1.9.5953.21877) [0 ms]
- [AppDir] Special Functions (1.11.5953.21874) [7 ms]
- [AppDir] Text Region (1.10.5953.21876) [1 ms]
- [AppDir] SMath Viewer Files Plugin (1.1.5953.21879) [2 ms]
- [AppDir] XMCD Files Plugin (1.12.5953.21876) [1 ms]
System.ObjectDisposedException: The object was used after being disposed.
  at System.IO.MemoryStream.CheckIfClosedThrowDisposed () [0x00000] in <filename unknown>:0
  at System.IO.MemoryStream.Read (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
  at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000] in <filename unknown>:0
  at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Xml.XmlInputStream:.ctor (System.IO.Stream)
  at System.Xml.XmlStreamReader..ctor (System.IO.Stream input) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Xml.XmlStreamReader:.ctor (System.IO.Stream)
  at System.Xml.XmlTextReader..ctor (System.IO.Stream input) [0x00000] in <filename unknown>:0
  at SMathFileType.SMathFileType. (System.IO.Stream , System.Collections.Generic.List`1 , SMath.Control.FileContext ) [0x00000] in <filename unknown>:0
  at SMath.Control.DataFiles.OpenFileTypeInternal (System.IO.Stream stream, SMath.Control.Worksheet worksheet, SMath.Control.FileContext context) [0x00000] in <filename unknown>:0
  at SMath.Control.DataFiles.OpenFileType (System.IO.Stream stream, SMath.Control.Worksheet worksheet, SMath.Control.FileContext context) [0x00000] in <filename unknown>:0
  at SMath.Control.ClipboardManager.GetRegions (SMath.Control.Worksheet worksheet, Int32 topCorrection) [0x00000] in <filename unknown>:0
  at SMath.Control.Worksheet.InsertManager (System.String value) [0x00000] in <filename unknown>:0
  at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in <filename unknown>:0
  at SMath.Control.WorksheetControl.OnKeyDown (System.Windows.Forms.KeyEventArgs e) [0x00000] in <filename unknown>:0
  at SMath.Control.Worksheet.OnKeyDown (System.Windows.Forms.KeyEventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0

    smath (Wednesday, August 24, 2016 12:25 AM) #


    Davide (Sunday, August 21, 2016 5:50 PM) #

Seems the issue is related to this bug in mono (not found in Xamarin's bug tracking system)