mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 44
O
Ook Online OP
Ameglian cow
OP Online
Ameglian cow
O
Joined: Sep 2003
Posts: 44
Tested in v7.83 & v7.83 betas,
On Windows 7 with a 1920x1080 screen size.

When a custom window has a listbox the horizontal scroller will not resize correctly for very long lines.
This affects custom windows where the whole window is a listbox and windows where only a portion is a listbox.

Code
alias show_scroll_error {
  window -al @scroll
  aline @scroll $regsubex($str(a,800),/./g,\n $chr(32))
  window -b @scroll
  echo -s l: $line(@scroll,1)
}

Scroll to the right and you will see (on my system) the number 431 instead of 800
The echo confirms that the line does extend to 800.

Joined: Dec 2002
Posts: 3,897
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 3,897
Thanks for your bug report. This is actually by design. There are sanity checks with arbitrary limits like this one in most features in mIRC. In this case, the maximum scrollable horizontal width for any listbox is 9999 pixels. It could be increased to a maximum of 32767/65535 (depends on the Windows version), however considering the limit has been in place for decades, it's not something I would consider changing at this point.


Link Copied to Clipboard