Skip to content

Skinning bug? #534

Description

@kamyk2000
  • Open-Shell: 4.4.160 released October 18th, 2020
  • OS: Windows 10 Pro version 20H2 (Os build 19042.630)

My question in a nutshell: Is this issue a result of my not understanding something correctly, or is it a bug?

Image3

I am working on a skin for open-shell, and I am very familiar with skinning and modding for various programs/games. I've been doing it for years. I am also a very quick learner. I am working on reskinning the sub-menus using a bitmap sized 34wx30h. My understanding of skinning open-shell so far includes the idea that when adding a bitmap that the slices x and y are arranged in such a way that the program reads:

Submenu_bitmap_slices_X=29,1,4
Submenu_bitmap_slices_Y=4,22,4

as sectioning the bitmap into pieces consisting of:

a row 29 pixels long and 4 in height (the top left section)
a row 29 pixels long and 22 pixels in height (the middle left section)
a row 29 pixels long and 4 pixels in height (the bottom left section)

a row 1 pixel long and 4 pixels in height (the top middle section)
a row 1 pixel long and 22 pixels in height (the middle section)
a row 1 pixel long and 4 pixels in height (the bottom middle section)

a row 4 pixels long and 4 pixels in height (the top right section)
a row 4 pixels long and 22 pixels in height (the middle right section)
a row 4 pixels long and 4 pixels in height (the bottom right section)

I am enumerating this to make certain I understand correctly. If I do understand correctly, then the program is supposed to repeat the middle sections as much as necessary, yes? So far everything has worked according to my understanding, until this bitmap, the one I am using for submenus.

I had a previous bitmap I made for the sub-menus that was identical except for the y being a total of 285 pixels, and my previous x and y were:

Submenu_bitmap_slices_X=29,1,4
Submenu_bitmap_slices_Y=4,277,4

This worked as expected with no hitches, but I thought the height was overkill, and more difficult to edit in order to add icon frames in the sub-menus as I wish to add an option both for a solid icon background as seen in the following picture, and an option for framed borders for the icons (ie. an empty frame around the icons).

Image8

If I am understanding everything correctly, then why is the result I am getting the one in the first picture where the middle vertical section is not repeating properly? Is there something I missed in figuring this all out? Some arbitrary minimal height requirement for that bitmap that I have found no reference to? Or is this a bug?

Before anyone asks, no I am not running WindowBlinds, it is just installed and disabled. Yes, I based my skin off of Gray Classic, I am editing the skin files with Resourcehacker, and I am editing the transparent bmps with Pixelformer which has support for 24 bit argb bitmaps. Additionally, I am not having this issue with any other part of creating this skin so far, and I have finished creating or modifying every bitmap with no issues, except for tweaking the sub-menus bitmap to my satisfaction. So, bug?, or I'm missing something? (Sorry if this post has information overkill, I try to be as thorough as possible when describing an issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions