EC - Spellbook draggable area is too big

looploop Posts: 300
1. Open a spellbook
2. Drag your mouse in the area to the right outside of the spellbook
3. Observe the spellbook drags

The overflow of the UI prevents you from interacting with things in the area to the right of the spellbook.

Expected:

Spellbook will only drag when clicking inside the spellbook.



Comments

  • Arnold7Arnold7 Posts: 1,279
    You sure you don’t mean CC.  Your backpack image looks like a CC image.  EC backpacks have a grid view.  I don’t use the book that way much anymore but I don’t have a problem like that when I do in EC.
  • GrimbeardGrimbeard Posts: 1,790
    Arnold7 said:
    You sure you don’t mean CC.  Your backpack image looks like a CC image.  EC backpacks have a grid view.  I don’t use the book that way much anymore but I don’t have a problem like that when I do in EC.



    You can set pack to classic style with EC
  • Arnold7Arnold7 Posts: 1,279
    Did not know that.  Thanks
  • MariahMariah Posts: 2,895Moderator
    I don't think they can make shaped areas, so the box for the spellbook will include the fastening tab halfway down the page, not just the page area.
    This is a problem that occurs with many unusual shaped items when in legacy mode, round bags  off the top of my head.
  • YoshiYoshi Posts: 3,322
    edited July 2023
    “They are able to make,
    there are many shapes they made 
    they just didn’t on some for speed

    they maybe forgot to go back and complete in full

    loop completely correct with bug report”
    Posts on this account have been pre filtered from personal comment or opinion in an effort to suppress conservative views in order to protect the reader.
  • YoshiYoshi Posts: 3,322
    edited July 2023
    "actually, it could be legit feature,

    they seem to square everything so as to interact with horizontal and verticle square hotbars, for uniform placement.
    if you drag anything near a hotbar you can see the outline"


    Posts on this account have been pre filtered from personal comment or opinion in an effort to suppress conservative views in order to protect the reader.
  • looploop Posts: 300
    It’s a bug. The spellbook is not snappable. The overflow only occurs on the right side and not the left side.

    This problem occurs elsewhere: https://forum.uo.com/discussion/8844/enhanced-client-legacy-container-retains-size-of-enhanced-container#latest

  • looploop Posts: 300
    edited July 2023
    Mariah said:
    I don't think they can make shaped areas, so the box for the spellbook will include the fastening tab halfway down the page, not just the page area.
    This is a problem that occurs with many unusual shaped items when in legacy mode, round bags  off the top of my head.
    Unrelated to the shape. The boundaries of the spellbook are correct on the left. They overflow on the right.

    Edit: Well, I should say, you’re absolutely right about the handling of the shapes. However, the spellbook graphic lends itself to being a rectangle (ignoring the tabs of the spellbook on the outer edges)
  • looploop Posts: 300
    For the record, I noticed this while opening my spellbook to mark a rune. Because the rune was too close to the right side of the spellbook, I couldn’t target it or see the rune’s tooltip when I hovered over it.
  • YoshiYoshi Posts: 3,322

    loop said:
    It’s a bug. The spellbook is not snappable.


    "ah yes sorry my mistake,
    actually wow it's really quite an overflow on the spellbook
    like over here"



    Posts on this account have been pre filtered from personal comment or opinion in an effort to suppress conservative views in order to protect the reader.
  • ForeverFunForeverFun Posts: 771
    The windows are rectangles.

    The problem appears to be an offset used on the left side.
    Notice you can't drag the book around underneath the left side strap that hangs mid-way down the book.

    The "clickable" area of the right side of the book is shifted right approximately the width/offset of the left strap area that isn't clickable.

    If you look at spellbook.* you can see what's happening here.  My guess is the intent was to have the strap areas that hang off the left and right of the "book" not to be interacted with.

    Feel free to post a fix, from your customizations @loop.


    side note:  the Y axis is slightly off too.

  • ForeverFunForeverFun Posts: 771
    In spellbook.lua, function Spellbook.UpdateSpells()


    		-- offset -120 on X axis clickable area ("straps" that hang on left and right are 60 width).
    WindowSetDimensions( this, (xSize * scale)-120, (ySize * scale)) -- was +0 on X

    -- ...

    DynamicImageSetTexture( this.."LegacyBook", texture, 0, 0 )





Sign In or Register to comment.