Last modified: 2013-09-27 12:50:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36634, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34634 - Exception when resizing application window
Exception when resizing application window
Status: RESOLVED WONTFIX
Product: Huggle
Classification: Unclassified
Application (Other open bugs)
unspecified
All All
: Low normal
: 2.1.20
Assigned To: Peter Bena
:
Depends on:
Blocks: 34892
  Show dependency treegraph
 
Reported: 2012-02-23 18:54 UTC by Michael Movchin
Modified: 2013-09-27 12:50 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael Movchin 2012-02-23 18:54:35 UTC
Originally reported by Mike.R....@tiscali.cz, May 20, 2011
___________________________________________________________

If I resize the application window to a too small height, the following exceptions occur:
*When resizing:
 ArgumentOutOfRangeException: Hodnota -1 není platnou hodnotou pro argument Value. Hodnota Value musí být v rozsahu od 'minimum' do 'maximum'.
 Název parametru: Value
   v System.Windows.Forms.ScrollBar.set_Value(Int32 value)
   v Huggle.Main.DrawQueues()
   v Huggle.Main._Lambda$__377(Object a0, PaintEventArgs a1)
   v System.Windows.Forms.PaintEventHandler.Invoke(Object sender, PaintEventArgs e)
   v System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
   v System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   v System.Windows.Forms.Control.WmPaint(Message& m)
   v System.Windows.Forms.Control.WndProc(Message& m)
   v System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   v System.Windows.Forms.ContainerControl.WndProc(Message& m)
   v System.Windows.Forms.UserControl.WndProc(Message& m)
   v System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   v System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
*Afterwards:
 ArgumentOutOfRangeException: Hodnota -1 není platnou hodnotou pro argument Value. Hodnota Value musí být v rozsahu od 'minimum' do 'maximum'.
 Název parametru: Value
   v System.Windows.Forms.ScrollBar.set_Value(Int32 value)
   v Huggle.Main.DrawQueues()
   v Huggle.Processing.ProcessNewEdit(Edit Edit)
   v Huggle.Irc.ProcessIrcEdit(Object EditObject)
*After restarting the aplication:
 ArgumentOutOfRangeException: Hodnota -1 není platnou hodnotou pro argument Value. Hodnota Value musí být v rozsahu od 'minimum' do 'maximum'.
 Název parametru: Value
   v System.Windows.Forms.ScrollBar.set_Value(Int32 value)
   v Huggle.Main.DrawQueues()
   v Huggle.Main.QueueSelector2_SelectedIndexChanged()
   v Huggle.Main._Lambda$__410(Object a0, EventArgs a1)
   v System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   v System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   v System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
   v Huggle.Main.SetQueueSelectors()
   v Huggle.Main.Configure()
   v Huggle.Main.Initialize()
   v Huggle.LoginForm.Done()
   v Huggle.Misc.CallbackInvoke(Object TargetObject)

It all boils down to assignment of the value -1 to the property ScrollBar.Value; see [http://msdn.microsoft.com/en-us/library/system.windows.forms.scrollbar.value.aspx].

How to reproduce:
* Start the application and log in.
* Select "Show two queues" in the application menu. 
* Resize the application window so that only one item is visible in the bottom queue.

The bug cannot be reproduced with only one queue visible, and may be related to a bug I had reported on Wikipedia: http://en.wikipedia.org/wiki/Wikipedia:Huggle/Feedback#Bug_when_displaying_two_queues
___________________________________________________________

Moved from the Google Code Issues Tracker (http://code.google.com/p/huggle/issues/list)
Comment 1 Mike.Rosoft 2013-06-02 10:03:44 UTC
For the record, the other bug report has been archived and it can now be found at http://en.wikipedia.org/wiki/Wikipedia:Huggle/Feedback/Archive_16#Bug_when_displaying_two_queues
Comment 2 Peter Bena 2013-09-27 12:50:01 UTC
This is irrelevant bug for huggle 3

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links