Author Topic: DC / DIB / Undrawable Canvas errors [MAJOR BUG] [EDITOR]  (Read 2881 times)

0 Members and 1 Guest are viewing this topic.

Offline Wafflem

  • Posts: 943
    • View Profile
DC / DIB / Undrawable Canvas errors [MAJOR BUG] [EDITOR]
« on: January 28, 2017, 09:37:14 PM »
Editor: V10.12.12-B

I have no idea how exactly to reproduce this behavior, but sometimes when I hold down to look for a terrain/object in their respective menus, I get some really nasty errors and the editor crashes:

Can't create compatible DC.
Can't allocate the DIB handle.
Canvas does not allow drawing.

The third one is the worst of all as a lot of the dialog boxes of this error pop up. I've attached pictures of all three errors.
YouTube: www.tinyurl.com/YTWafflem
Twitch: www.twitch.tv/Wafflem467

Have level designer's block right now? Have some of my incomplete levels for LOTS of ideas!

Offline GigaLem

  • The Dog That Brought Lemmings to Avalice
  • Posts: 1417
    • View Profile
Re: DC / DIB / Undrawable Canvas errors [MAJOR BUG] [EDITOR]
« Reply #1 on: January 28, 2017, 10:19:31 PM »
This did happen to me before when I scrolled too fast through the terrain menu.
My suggestion to Namida would be to make that when you select a tileset from the drop down menu it'll be forced to let you scroll through the tileset's pieces until you select through the drop down menu again.

Offline IchoTolot

  • Global Moderator
  • Posts: 3621
    • View Profile
Re: DC / DIB / Undrawable Canvas errors [MAJOR BUG] [EDITOR]
« Reply #2 on: January 28, 2017, 10:25:27 PM »
Nepster and I can confirm this bug.

We've discussed it in IRC and found out this happens on dragging, (mousewheel) scrolling and clicking the arrow buttons for a longer time period. So all scrollbar actions are bugged to an extent.

This bug did not occur to me until now as I pretty much only drag the bar and that's very quick ---> no longer search. So that could be a ~ workaround until it's fixed.


Offline Nepster

  • Posts: 1829
    • View Profile
Re: DC / DIB / Undrawable Canvas errors [MAJOR BUG] [EDITOR]
« Reply #3 on: January 28, 2017, 10:27:13 PM »
There seems to be some bug with the new scroll bar. With the current version, there seems to be no way to safely handle it: Arrow keys, moving the mouse wheel and dragging the scroll bar all trigger this bug.

I attached the editor version V10.12.11 that I had still lying around, if anyone needs to go back to a properly working editor.

Offline namida

  • Administrator
  • Posts: 12417
    • View Profile
    • NeoLemmix Website
Re: DC / DIB / Undrawable Canvas errors [MAJOR BUG] [EDITOR]
« Reply #4 on: January 29, 2017, 03:41:38 AM »
I did encounter this during testing, but thought I had fixed it before release. Seems not. Will investigate further, and if I can't have a fix by later today, I'll put the old version back up for download.

I believe (though do not have outright confirmation) that the bug is in fact related to the drawing backgrounds and 2x zooming of pieces change; not the scrollbar fixes.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12417
    • View Profile
    • NeoLemmix Website
Re: DC / DIB / Undrawable Canvas errors [MAJOR BUG] [EDITOR]
« Reply #5 on: January 29, 2017, 04:27:36 AM »
My guess was correct. I've uploaded a V10.12.12-C hotfix that should fix this issue. (This issue only affects V10.12.12 and V10.12.12-B, with the former being more prone to it than the latter. If you're still on V10.12.11, this update is not critical.) At least, I neither got errors nor (via task manager) saw NL Editor's memory usage spiralling out of control with this update.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12417
    • View Profile
    • NeoLemmix Website
Re: DC / DIB / Undrawable Canvas errors [MAJOR BUG] [EDITOR]
« Reply #6 on: January 31, 2017, 04:37:03 PM »
Has anyone had this issue on V10.12.12-C? If not, I'm going to close this topic, since it would appear to be fixed now.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12417
    • View Profile
    • NeoLemmix Website
Re: DC / DIB / Undrawable Canvas errors [MAJOR BUG] [EDITOR]
« Reply #7 on: February 02, 2017, 12:23:29 PM »
I'll take that as a no. If anyone does get such errors, please create a new topic to report them.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)