INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]   Go Down

Author Topic: Are Microsoft's Win11 auto-rounded corners possible for MC's main window?  (Read 3100 times)

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 11174

The only relevant option Windows exposes are "On" and "Small Radius", both of which I have exposed to the skin in the next build. Its only for the main frame right now, but I can probably apply it to other top-level windows as well.
Logged
~ nevcairiel
~ Author of LAV Filters

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8376
  • The color of Spring!

You have Glass enabled in that skin, which gives me somewhat of a transparent look with the background blur. The image seems excessively transparent for normal use (I guess it was testing), but its certainly working. Is that not what I should be seeing?

There's a lot of transparency because it wasn't working for me in testing so I kept upping the transparency amount to see if there was any difference. There may be a little transparency shown, but it's certain not enough transparency (and that's the issue) hence why transparency levels kept getting boosted in the images. This is what I see when using that test version...



Ignore the bottom part of the frame, it's using the old, working semi-transparent part as I was focused on the top. But it does show the differences in transparency between the bottom and top. Now the question is, why doesn't MC display the amount of transparency at those ridiculous amounts (or even half of those amounts)? That's really what has stonewalled me in trying to replicate Mica and MicaAlt with a MC skin, because I can't get it transparent enough (with noise and a gaussian blur in the image).
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 25.04 Plucky Puffin 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4.1 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 34 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

EnglishTiger

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1300

Sounds OK to me and if that new version is available by the weekend I'll locate the relevant instructions in one of the ModernCards skins and add them into test versions of all of the other Stock and Site Skins currently on my PC to see if there are any restrictions that mean they can't be applied certain types/categories of skin to so that I can add a fairly comprehensive  "Rounding Corners on The Windows Platform" section to the JRiver Standard View Skinning Guide, along with providing you any feedback on how successful, or otherwise, your making it all possible for us has been. Including if, for reasons probably known only to MS, it tries to round the corners on skins that don't have square corners.
Logged
Intel NUC13ANBi5 13th gen I5-1340P cpu

Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.

ET Skins, TrackInfo Plugins and Other Goodies - https://englishtiger.uk/index.html

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8376
  • The color of Spring!

I did some more testing with maximizing and all that, and going to ship this in the next build for the Modern Card skins. Give it a try once its here.

I assume this is only going to work with Windows 11? Because those still using Windows 10 may complain if their corners suddenly become rounded. ;D

It works fine as long as the image does not use transparency itself (as Windows stops the rounding then to avoid clashing)

Ooooof, bummer. :P While you're adding new skin options, I don't suppose there's some chance that adding support to display Mica material for, at least for the main four MainFrame sections? Maybe if the option is enabled it doesn't load the MainFrame images anymore instead loading Mica material overlayed with other images and fonts and whatnot? Or a way to get it to work with a third-party app like MicaForEveryone, which of course doesn't work at all with MC? It could be a nice replacement for the glass support, honestly. And it would eliminate my need to chase transparency levels to replicate Mica, which I already know I can't fully reproduce in image form.

It's a pipe dream, I know, but still, gotta ask. ;D
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 25.04 Plucky Puffin 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4.1 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 34 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

EnglishTiger

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1300

AD - If you click on the link in the OP on the right hand side of the page there is a a link to an article on using Mica/Mica alt in Win 11
If the Explorer Header Bar, which is what that using Mica article covers, is anything to go by it looks like you can combine Round Corners and Mica.
Logged
Intel NUC13ANBi5 13th gen I5-1340P cpu

Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.

ET Skins, TrackInfo Plugins and Other Goodies - https://englishtiger.uk/index.html

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8376
  • The color of Spring!

Indeed. ;)
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 25.04 Plucky Puffin 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4.1 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 34 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 11174

There's a lot of transparency because it wasn't working for me in testing so I kept upping the transparency amount to see if there was any difference. There may be a little transparency shown, but it's certain not enough transparency (and that's the issue) hence why transparency levels kept getting boosted in the images. This is what I see when using that test version...

Thats not at all how it looks for me, its very transparent ... except, I can't screenshot it. As soon as I try it turns solid white. Must be some DWM weirdness.
Logged
~ nevcairiel
~ Author of LAV Filters

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8376
  • The color of Spring!

Maybe a Windows thing or GPU thing? I'm using the latest Windows 11 24H2 with all the latest patches with an AMD 7800 XT GPU (also an AMD 580 a couple years ago when I first did that test skin), and it's always that white. :-\
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 25.04 Plucky Puffin 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4.1 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 34 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 11174

I'm on 24H2 as well except nvidia
Logged
~ nevcairiel
~ Author of LAV Filters

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8376
  • The color of Spring!

Was afraid of that, it could be a AMD vs. Nvidia thing. :-\

EDIT: Tested with my Intel N305 NUC with Intel integrated graphics and it's just white there too, hmmm.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 25.04 Plucky Puffin 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4.1 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 34 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

markf2748

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 990

As for the original topic of round corners, what if I just tell Windows to round the corners? Could make it a skin setting like Glass?
I guess that is what markf2748 was aiming for, in part?

Example of Modern Cards Dark on a darkish and light background. It works fine as long as the image does not use transparency itself (as Windows stops the rounding then to avoid clashing)
The skin is entirely unmodified here (for testing i'm just always applying it, ultimately it would get a simple condition in the skin)
(1) Based on your 2 screenshots in this post, which display anti-aliasing transparency pixels "outside adjacent" to the round corners, I would expect this to work nicely. Presumably, as you say, the new skin setting could be easily applied to any skin that itself does not draw round corners and does not invoke MC Transparency via GLASS::Data:Enabled.  Potentially a really nice option which addresses the Subject Title of this thread and should satisfy a lot of people.  Looking forward to trying it. 

I hope this solution will leave the Window control buttons fully customizable in the skin, as now. Note that I have seen several third party Win11 apps which appear to be using MS rounded corners but have nice small window control buttons.  Is that also a Microsoft setting?

(2) This thread also evolved to reflect my interest in having anti-aliasing pixels when the MC skin controls the corner rounding radius, without the special Microsoft settings and constraints for (1).   Since @ET has shown that GLASS::Data:Enabled applies to both top and bottom borders (i.e. includes all 4 main window corners), it would be beneficial to have MC transparency without blur.  With that, and using rounded corner opaque artwork for those regions, we can then have a graphics drawing program (such as Inkscape, Gimp, or others) automatically add the anti-aliasing transparency pixels into a png file. Those transparency pixels will presumably be rendered correctly by the skin and should provide smooth round corners in the absence of blur.  Not exactly intuitive, but I would expect it to work for the general rounded corner problem, adding design flexibility.

Even better would be full control of blur on an Entry by Entry basis for each bitmap, which is effective when the bitmap has transparency, i.e. a new Attribute.  :)

Thanks.
Logged
Pages: 1 [2]   Go Up