Activity log for bug #1529457

Date Who What changed Old value New value Message
2015-12-27 10:11:56 TestMechanic bug added bug
2015-12-27 10:19:46 TestMechanic description In the new sikuli 1.1 there is a nice feature that automatically names your images. For example class screenDialog1: button_OK = If you put your cursor after "=" and take a image the name will aromatically generated -> button_OK.png That excellent idea however there is a problem In a bigger UI map you will definitely have more dialogues screen with different buttons... like this: class screenDialog1: button_OK = "button_OK.png" class screenDialog2: button_OK = now if you put your cursor on after "=" on the second button_OK and try to get image you will mess up your UI map without even knowing it. The problem is that sikuli will again generate "button_OK.png" and will replace the first one. There is no warning and even no visual change in in the first button until you reload sikuli. Suggested fix: - when image already exist just pop up dialogue for user to enter different name or - in old 1.0 sikuli there was automatic indexation 1,2,3 etc or - if you are in a class you may compose image name like this: screenDialog1.button_OK Happy holidays Neven In the new sikuli 1.1 there is a nice feature that automatically names your images. For example class screenDialog1:     button_OK = If you put your cursor after "=" and take a image the name will aromatically generated -> button_OK.png That excellent idea however there is a problem In a bigger UI map you will definitely have more dialogues screen with different buttons... like this: class screenDialog1:     button_OK = "button_OK.png" class screenDialog2:     button_OK = now if you put your cursor on after "=" on the second button_OK and try to get image you will mess up your UI map without even knowing it. The problem is that sikuli will again generate "button_OK.png" and will replace the first one. There is no warning and even no visual change in in the first button until you reload sikuli. Suggested fix: - when image already exist just pop up dialogue for user to enter different name or - in old 1.0 sikuli there was automatic indexation 1,2,3 etc or - if you are in a class you may compose image name like this: screenDialog1.button_OK.png Happy holidays Neven
2016-01-13 09:46:05 RaiMan summary Auto generated images names causes a problem [request] IDE: Auto generated image names using image = should not overwrite.
2016-01-13 09:46:47 RaiMan sikuli: status New In Progress
2016-01-13 09:46:54 RaiMan sikuli: importance Undecided Medium
2016-01-13 09:46:57 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2016-01-13 09:47:02 RaiMan sikuli: milestone 2.0.0
2019-11-18 17:58:34 RaiMan sikuli: milestone 2.0.0 2.0.1
2019-11-18 17:58:47 RaiMan summary [request] IDE: Auto generated image names using image = should not overwrite. [check] IDE: Auto generated image names using image = should not overwrite.