Bug 11092 - pressed style does not work if alternative windowStyle is given at Window() creation
: pressed style does not work if alternative windowStyle is given at Window() c...
Status: RESOLVED INVALID
Product: SqueezePlay
Classification: Unclassified
Component: UI
: unspecified
: PC Other
: -- normal (vote)
: 7.4.0
Assigned To: Ben Klaas
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-15 09:45 UTC by Ben Klaas
Modified: 2009-09-08 09:18 UTC (History)
4 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klaas 2009-02-15 09:45:22 UTC
I have a window of the style 'button' I am creating with an optional window style "helptitle"

 local window = Window("button", menuItem.text, 'helptitle')

the helptitle style has the same format as a standard 'button' style window titlebar, but replaces rbutton from a now playing button to a help button

        s.helptitle            = _uses(s.minititle, {
                rbutton  = {
                        img = helpButton,
                },
        })
        s.pressed.helptitle = _uses(s.helptitle, {
                rbutton = {
                        img = helpButtonPressed,
                },
        })

the base style changes to a help button, but the pressed style does not take effect on press--displays the now playing button.
Comment 1 Blackketter Dean 2009-07-22 09:01:53 UTC
Moving to the product SqueezePlay because this bug appears to apply to any player based on that application code.  Feel free to move it back if it's specific to the original product.
Comment 2 Richard Titmuss 2009-07-27 01:13:36 UTC
Reset priority before triage.
Comment 3 Wadzinski Tom 2009-07-30 09:53:26 UTC
Reassigning to Ben to determine priority. Where does this come up in the app?
Comment 4 Ben Klaas 2009-08-03 05:18:12 UTC
this bug is not really valid any more with the skin window style refactoring