Set focus is unavaliable when using X-Perl UnitFrames #695


  • Declined
  • Defect
Closed
  • _ForgeUser4554571 created this issue Aug 15, 2010

    Description

    UI crashes when trying to use set focus while X-Perl UnitFrames is active. Alot of people use set focus on different occasions, a rogue might gain some from using set focus for their Tricks of the Trade with some sort of Macro.

    Installed Addon Folders

    Atlas
    Atlas_Battlegrounds
    Atlas_DungeonLocs
    Atlas_OutdoorRaids
    Atlas_Transportation
    AtlasLoot
    AtlasLoot_BurningCrusade
    AtlasLoot_Crafting
    AtlasLoot_OriginalWoW
    AtlasLoot_WorldEvents
    AtlasLoot_WrathoftheLichKing
    AtlasLootFu
    Auc-Advanced
    Auc-Filter-Basic
    Auc-ScanData
    Auc-Stat-Histogram
    Auc-Stat-iLevel
    Auc-Stat-Purchased
    Auc-Stat-Simple
    Auc-Stat-StdDev
    Auc-Util-FixAH
    Bartender4
    BeanCounter
    Blizzard_AchievementUI
    Blizzard_ArenaUI
    Blizzard_AuctionUI
    Blizzard_BarbershopUI
    Blizzard_BattlefieldMinimap
    Blizzard_BindingUI
    Blizzard_Calendar
    Blizzard_CombatLog
    Blizzard_CombatText
    Blizzard_DebugTools
    Blizzard_GlyphUI
    Blizzard_GMChatUI
    Blizzard_GMSurveyUI
    Blizzard_GuildBankUI
    Blizzard_InspectUI
    Blizzard_ItemSocketingUI
    Blizzard_MacroUI
    Blizzard_RaidUI
    Blizzard_TalentUI
    Blizzard_TimeManager
    Blizzard_TokenUI
    Blizzard_TradeSkillUI
    Blizzard_TrainerUI
    BonusScanner
    Cartographer
    Cartographer_Battlegrounds
    Cartographer_Coordinates
    Cartographer_Foglight
    Cartographer_GroupColors
    Cartographer_GuildPositions
    Cartographer_InstanceLoot
    Cartographer_InstanceMaps
    Cartographer_InstanceNotes
    Cartographer_LookNFeel
    Cartographer_Notes
    Cartographer_POI
    Cartographer_Waypoints
    Cartographer_ZoneInfo
    DBM-ChamberOfAspects
    DBM-Coliseum
    DBM-Core
    DBM-EyeOfEternity
    DBM-GUI
    DBM-Icecrown
    DBM-Naxx
    DBM-Onyxia
    DBM-Party-WotLK
    DBM-PvP
    DBM-Ulduar
    Enchantrix
    Enchantrix-Barker
    GearScore
    Informant
    Omen
    OmniCC
    OmniCC_Options
    Recount
    RoguePowerBars
    Stubby
    XPerl
    XPerl_ArcaneBar
    XPerl_CustomHighlight
    XPerl_Options
    XPerl_Party
    XPerl_PartyPet
    XPerl_Player
    XPerl_PlayerBuffs
    XPerl_PlayerPet
    XPerl_RaidAdmin
    XPerl_RaidFrames
    XPerl_RaidHelper
    XPerl_RaidMonitor
    XPerl_RaidPets
    XPerl_Target
    XPerl_TargetTarget
    XPerl_Tutorial

  • _ForgeUser4554571 added the tags New Defect Aug 15, 2010
  • _ForgeUser1474348 posted a comment Aug 19, 2010

    NO, IT NEVER WORKS. Please use /focus, macro and keybind.

    If you still want use that, please remove X-Perl to using the default one. And no, no other Unitframe addon works, ever, only Blizzard's one can.

    Then blame Blizzard about this problem, please.


    Edited Aug 19, 2010
  • MysticalOS posted a comment Sep 20, 2010

    maybe we can just hide the menu command on the frame? not sure, i know it taints the UI if xperl tries to set focus. somehow it needs to be handled better than just having a broken menu item that taints the UI that users expect to work.


    Edited Sep 20, 2010
  • MysticalOS edited description Sep 20, 2010
  • MysticalOS removed a tag New Sep 20, 2010
  • MysticalOS added a tag Accepted Sep 20, 2010
  • _ForgeUser4348076 posted a comment Sep 20, 2010

    It doesn't solve the problem, but I'm happy with the workaround I'm using which I posted in one of the other many tickets for this issue (although it's not exactly user friendly, admittedly). TBH I cant's see Blizz changing this, so removing the menu item is probably the only thing to do :( Great addon btw, and I certainly wouldn't remove it just because of one tiny little issue such as this.

  • _ForgeUser1474348 posted a comment Sep 21, 2010

    If it possible to hide that stupid option of "Set focus", ok, but I don't care. :)

  • MysticalOS removed a tag Accepted Oct 5, 2010
  • MysticalOS added a tag Declined Oct 5, 2010
  • MysticalOS closed issue Oct 5, 2010
  • _ForgeUser1474348 removed a tag Declined Oct 8, 2010
  • _ForgeUser1474348 added a tag Accepted Oct 8, 2010
  • _ForgeUser1474348 reopened issue Oct 8, 2010
  • _ForgeUser1474348 posted a comment Oct 8, 2010

    Throw this ticket back to Accepted...

    I tried Aurora101's method but it needed other shit for ClearFocus. (Else you can't just clear your focus target by press same key)

    I found there is some piece of code for removing "Set Focus" on rightclick menu(and put that back?) at Unitframe in XPerl.lua : "HideSetFocus()", "XPerl_ShouldHideSetFocus" variable and setting the variable in XPerl_ShowGenericMenu function. I try messed with them but I still don't get how it works... (Is it was for fix the set focus get blocked problem? or just some useless code...?)

    EDIT : Never mind, I found how to use them to removed "Set focus" and it's already removed on my workaround of X-Perl...... but I don't know is it really a good idea for that... :(


    Edited Oct 8, 2010
  • MysticalOS posted a comment Oct 9, 2010

    i know zek had something partially done in there. i asked him about it and he din'te ven remember what it was for heh. I didn't mess with any of that personally it's an issue blizzard knows about that i wish they'd just fix already

  • _ForgeUser1474348 posted a comment Oct 9, 2010

    @ mysticalos: It's about 2 years(or more?) when Setfocus() got protected... I don't think Blizzard want to fix it, ever... (And they don't know how to prevent those shitty usage and just protected it.) Yeah, because it didn't broken anythings about set focus, you still can using /focus, keybinds and Macro when 3rd party addons are get tainted... and they're working fine as hell...

    Don't expect them will fix that piece of shit.

    I will commit it to stop all shit about complain it's not work/taint until Blizzard / someone know how to make it works again, that's all... :( (Well, I still not sure, but it's 2 years passed and Blizzard and no one knows how to really fix it... I tired about this shit.)

    EDIT : r404 commited... and this ticket still remain opened...


    Edited Oct 9, 2010
  • _ForgeUser1474348 removed a tag Accepted Oct 9, 2010
  • _ForgeUser1474348 added a tag Started Oct 9, 2010
  • _ForgeUser1474348 removed a tag Started Oct 10, 2010
  • _ForgeUser1474348 added a tag Accepted Oct 10, 2010
  • _ForgeUser1474348 posted a comment Oct 10, 2010

    Ok, my attempt by using Zek's code to hide "Set focus" option isn't work and make a mess...now I know why no one want give a shit on it... :3

    I found Pitbull 4 Unitframe has been disabled "Set focus" and "Clear focus" option on right click dropdown menu on their frame...but those code looks like too complicated to me... :\

  • _ForgeUser1474348 removed a tag Accepted Oct 29, 2010
  • _ForgeUser1474348 added a tag Declined Oct 29, 2010
  • _ForgeUser1474348 closed issue Oct 29, 2010
  • _ForgeUser1474348 posted a comment Oct 29, 2010

    Because Zek decided don't want to mess around with SetFocus so this ticket closed.

    Until someone really want and knows how to messing with the menu modifying and fix + fully test, else any tickets about this kind of problem will just closed with Declined.

    Sorry. :(


    Edited Oct 29, 2010

To post a comment, please login or register a new account.