• 0

    posted a message on Poppins - Official Thread
    Quote from Phanx »

    Sorata, what would I need to change to swap the right-click and middle-click behaviors on the popbuttons? Poppins' behavior is backwards from Numen, so I'd like to switch them to what I'm used to.

    In PopButtons.lua change
    self:SetAttribute("onmouseupbutton3", "mub")

    to
    self:SetAttribute("onmouseupbutton2", "mub")

    I'll add an option for soon.
    Posted in: General AddOns
  • 0

    posted a message on ButtonFacade (was LibButtonSkin-1.0)
    When trying to enable the backdrop on Vol Classic I get this error:
    ButtonFacade-0.1Alpha\\LibButtonFacade\\LibButtonFacade.lua:512: attempt to perform arithmetic on field 'Width' (a nil value)
    ButtonFacade-0.1Alpha\\LibButtonFacade\\LibButtonFacade.lua:567: in function <...Ons\\ButtonFacade\\LibButtonFacade\\LibButtonFacade.lua:518>
    ButtonFacade-0.1Alpha\\LibButtonFacade\\LibButtonFacade.lua:651: in function `Skin'
    ButtonFacade-0.1Alpha\\LibButtonFacade\\LibButtonFacade.lua:660: in function `Skin'
    ButtonFacade-0.1Alpha\\ButtonFacade.lua:107: in function `SkinSkin'
    ButtonFacade-0.1Alpha\\ButtonFacade.lua:146: in function <Interface\\AddOns\\ButtonFacade\\ButtonFacade.lua:146>
    (tail call): ?:
    <in C code>: ?
    <string>:\"safecall Dispatcher[2]\":9: in function <[string \"safecall Dispatcher[2]\"]:5>
    (tail call): ?:
    AceConfigDialog-3.0\\AceConfigDialog-3.0.lua:705: in function <...nfig-3.0\\AceConfigDialog-3.0\\AceConfigDialog-3.0.lua:526>
    (tail call): ?:
    <in C code>: ?
    <string>:\"safecall Dispatcher[3]\":9: in function <[string \"safecall Dispatcher[3]\"]:5>
    (tail call): ?:
    AceGUI-3.0\\AceGUI-3.0.lua:217: in function `Fire'
    ...ns\\Ace3\\AceGUI-3.0\\widgets\\AceGUIWidget-DropDown.lua:68: in function <...ns\\Ace3\\AceGUI-3.0\\widgets\\AceGUIWidget-DropDown.lua:64>:
    ...ns\\Ace3\\AceGUI-3.0\\widgets\\AceGUIWidget-DropDown.lua:96: in function <...ns\\Ace3\\AceGUI-3.0\\widgets\\AceGUIWidget-DropDown.lua:90>:
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    Quote from jjsheets »

    GetSpellCount returns the number of reagents. One of those rare times when WoWWiki doesn't have a global function sorted in the main list. Pass the name of the spell as the only argument. E.g: GetSpellCount("Vanish")

    Thanks, added reagent counts for spells :)

    Quote from Phanx »

    2. Drag and drop on the popup buttons is weird. I can't just rearrange actions like I can on normal buttons; dropping an action onto button B just overwrites whatever was on button B, instead of putting button B's action on the cursor. Not sure if this is due to the nature of popup buttons or not; InfiniBar2 had a similar issue on normal buttons that jjsheets was able to resolve.

    Was able to fix this by moving it to PreClick instead of PostClick. Edit: Fixed this completely.

    Quote from Baraius »

    I think you answered this with response to number 1. But in case, not I've attached a screenshot. (Please excuse the cropping via MS Paint. :-))

    Ah I understand what you mean now. You can always hold shift when dragging a stickyframe to disable the... stickyness.
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    Quote from bloodstrike »

    Hey, just have two requests here for you - 1) Reagent/Item counts on the buttons, and 2) Shortened keybinding text. Right now my poppins button is trying to write SHIFT-1 across the top of a button that is much smaller than that... s-1 would work just fine. And if possible now that we're talking about it, options to set the size of the font being used for counts and keybindings.

    keep up the good work!


    1. Since you can't get this information from blizzard functions I'll make a module for it eventually.

    2. I'll do this eventually.

    Quote from Baraius »

    I would like to second the request for being able to adjust the sticky frames padding. I just switched over to BT4 and really like the Vol Classic skin.

    I installed Poppins essentially so I could I could have a Numen that supported ButtonFacade. I got the horizontal padding more or less working. (Misc bug: Sliding is really really slow for me. I was trying to hit the -8 padding that I worked out on on BT4, but the sliders seem to be designed to be single clicked, at least that's all I could get to work.)

    However, there are huge spaces between the stickied buttons (really noticeable with the Vol Classic skin). That was weird enough that I decided to grit my teeth with Numen for now. Is this easy or even possible to fix?

    Misc suggestion for the future:

    I drag over say Strength of Earth Totem (Rank 4). Then later I get Rank 5. Clique has this nice feature where after you drag you can edit the spell name and remove the Rank so you always are casting the highest rank. Do you think you could do something similar for Poppins? (My apologies if that's what it does already.)

    Thanks much!
    -Baraius

    1. Vol doesn't change the button size, it changes the texture size which is why it doesn't change how big the sticky frames are. I'm currently trying to workout the best way to fix this.

    2. The sliding is slow atm because it currently resets ALL the buttons and then re-setups all the buttons everytime you change an option. I'll eventually make only update only the button that is being changed.

    3. Can you explain this better? Maybe with a screen shot.

    4. If you drag a max-rank spell into Popppins it will detect that it is a max-rank spell and you won't need to update the spell when you learn a new rank.
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    Quote from jjsheets »

    Sorata, I just want to pop in and mention that I have made some changes/optimizations to the macro parser in IB2 since you last PMed me. If you haven't already, you may want to take a look at them.

    Also... Kudos on being the first Actionbar addon besides IB2 to officially support ButtonFacade! :)

    Thanks, It was actually very easy to add support for ButtonFacade. I added the optimizations for the macro parser a few days ago.

    Quote from Phanx »

    All of the errors/issues I reported in my last post are fixed. However, upon actually being able to set up some buttons, I've noticed a few things.

    1. Everything has way way too much padding. Setting padding to zero is still about a quarter-button-width apart. Sticky frames are a similar distance apart. This may be due to the Vol II skin, but it would be nice to be able to have the buttons reasonably close to each other. Negative padding please!

    2. Drag and drop on the popup buttons is weird. I can't just rearrange actions like I can on normal buttons; dropping an action onto button B just overwrites whatever was on button B, instead of putting button B's action on the cursor. Not sure if this is due to the nature of popup buttons or not; InfiniBar2 had a similar issue on normal buttons that jjsheets was able to resolve.

    1. Sure.

    2. I'll check this out, it was picking up the actions you were replacing at one point.
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    Quote from StormFX »

    If you disembed, which I do, WAU removes the references to the included externals. Since LibStickyFrames is on the SVN as a library, I suggest making sure it's included as a WAU dependency (however that's done). LibMacroParser should either be referred to directly via the TOC or be committed to the SVN as a library with the WAU reference as well.

    Note: Throwing those up into the root fixes it, obviously.

    Thanks for pointing that out, I've uploaded a fix for that. I've actually modified LibStickyFrames quite abit (which would effect backwards compatibility hence 2.0) and LibMacroParser is a copy of jjsheets macro parser for InfiniBar-2.0 which I've turned into a Lib and I don't really want to upload them just yet.
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    Quote from Phanx »

    r72369. Buttons snap to the center of the screen and cannot be moved. Popup buttons are permanently in "move" mode with the green overlay and numbers. I cannot drop spells, items, or macros onto them. I cannot delete groups. Removing saved variables did not solve any of these problems. BugSack captured the following errors multiple times each:

    <snip>

    These all occured while creating one button, creating 5 popbuttons on it, creating one group, and trying to move the button. At no times did either the button or any of its popbuttons have any actions on them.

    Fixed being unable to remove groups but I'm not getting any other problems or errors, try r72420 and tell me if you are still getting these errors.
    Posted in: General AddOns
  • 0

    posted a message on Understanding Problem, need help ...
    I think :SetBackdrop is what you are looking for.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Poppins - Official Thread
    Quote from thegriffgeeks »

    Hey Sorata. One of the character these errors are showing up on has Poppins enabled, but nothing is in the buttons. And the errors not generated right away. I started out with no errors last night. After playing for a bit I saw that Bug Sack said I had errors. I looked and there they were. I'm not sure what the trigger is. It is a shaman. I'm going to play my hunter today who has the buttons populated, and did get those errors I posted. I will keep an eye on Bug Sack to see if I catch when those show.

    In one of the updates I put a check in on the UpdateCooldown function to make sure that none of the values were ever nil so hopefully that will fix it. If it doesn't then its possibly the TotemTimer module thats causing it (though I did a lot of testing on it when I was making it and I didn't get any errors).
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    Was able to reproduce the position reset bug and I fixed it along with the macro icon bug.
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    I really can't reproduce the bug with the buttons reseting to the middle of the screen. Can you try reseting your saved variables and see if that will solve it?

    Quote from Elarenda »

    Hmm, Macro's put onto the buttons lose their icon and become a "?". They still work, however. r72093

    dammit it was showing before, I dont remember changing any code that would affect it but I seem to have broken it.
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    Quote from Peoii »

    With the latest update:

    I had to delete all my existing buttons, and recreate my layout, as none of my poppins appeared initially.

    Furthermore, every time I reload my UI, they're all moved to the center position on the screen. I have 3 poppins all attached to one another vertically, with popups to the left side.

    I have no idea what is causing this, but thought I should report it.

    Try updating to r72230 (incase you havn't) and try again.
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    A few updates:
    - When you "snap" buttons to another button it will now anchor to that button and you can drag them as a group.
    - Middle clicking a popup button now sets without casting.

    Working on:
    - Let buttons share settings.
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    Quote from thegriffgeeks »

    I'm not sure if Poppins is the real generator of these errors; posting here just in case. I use OmniCC for cooldown counting.

    I'm not able to reproduce this error, is anyone else getting this?
    Posted in: General AddOns
  • 0

    posted a message on Poppins - Official Thread
    Quote from Phanx »

    Another thing I thought of: is it, or will it be, possible to link multiple buttons together for the purposes of easy scaling and moving as a group?

    I\\\'ve got an idea for how to make the buttons move as a group but i\\\'ll have to think about how to implement sharing of settings.
    Posted in: General AddOns
  • To post a comment, please or register a new account.