Project

General

Profile

Actions

Bug #5222

closed

Dialogs on icon item with invalid/empty file should print an error message

Added by westor (GR) about 3 years ago. Updated about 3 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
02/04/2021
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

I was trying to execute this code without icon file location but the AdiIRC didn't print any error message, it just doing nothing so its hard to "understand" what wrong you did.

Example Code:

dialog -l hashes {
  title "Hash Table Manager - v1.0 (/hash_manager)" 
  size -1 -1 297 240
  option dbu
  button "Close this window", 1, 70 221 160 18
  list 2, 2 10 90 150, size hsbar vsbar
  list 3, 103 10 90 150, size hsbar vsbar
  list 4, 204 10 90 150, size hsbar vsbar
  box "Tables", 5, 1 3 93 182
  box "Items", 6, 102 3 93 199
  box "Datas", 7, 203 3 93 200
  icon 8, 3 162 21 19, noborder
  icon 9, 69 162 21 19, noborder
  icon 10, 37 162 21 19, noborder
}

alias hashes { dialog -md hashes hashes }

It should return:

* /dialog: 'hashes' error loading icon on 8 id (line 208, script1.ini)

- Thanks!

Actions #1

Updated by Per Amundsen about 3 years ago

Seems to work as expected, I get an error.

Actions #2

Updated by Per Amundsen about 3 years ago

  • Status changed from New to Invalid
Actions

Also available in: Atom PDF