Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5940] Windows: buttons created for Windows will exhibit strange behavior when hover cursor over them

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2018-12-03T21:30:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
Reporterjohns@cim-rf.com
AssigneeShak Hossain
Created2018-09-26T19:47:30.000+0000
Updated2018-12-03T21:30:32.000+0000

Description

Using titanium SDK 7.3.1.GA Create a button as shown below: var oBtnCfg = Titanium.UI.createButton({ top: 10%', left: '10%', width: 100, height: 100, backgroundImage: '/images/settings.png' }); Now when I build and run the app and I hover the mouse cursor over the button, the button will disappear. This is very confusing to users. So the issue is the hover functionality built in causes buttons created with images in background to disappear, until you move the cursor away from the button. The image appears in button fine as long as you don't hover mouse over the button.

Attachments

FileDateSize
button1.png2018-09-26T19:41:36.000+000054735
button2.png2018-09-26T19:41:44.000+0000121740
buttonIssue.mp42018-09-27T12:49:13.000+00003903160
winclnt1.png2018-09-27T22:24:02.000+000077072

Comments

  1. Sharif AbuDarda 2018-09-26

    Hello, We tried to reproduce the issue with a simple button with a background image. The issue is not reproducible. the button background image is showing when the mouse is navigated over it. Can you provide a video demonstration of the issue? Thanks.
  2. johns@cim-rf.com 2018-09-27

    Hi Sharif, Adding video of issue. [^buttonIssue.mp4]
  3. Sharif AbuDarda 2018-09-27

    Hello, Which platform are you building your app? Is it Windows Phone or Store apps or Android?
  4. johns@cim-rf.com 2018-09-27

    It is for Windows. !winclnt1.png|thumbnail!
  5. Sharif AbuDarda 2018-11-28

    Hello, Please test this on SDK 7.5.0.GA and let us know. Thanks.

JSON Source