fix(icons): drop the light rounded-square backing from the app icon (#2112)
* fix(icons): drop the light rounded-square backing from the app icon The source SVGs drew an #EAE7E0 rounded rect behind the mark, which shows as a pale border/frame around the icon on dark taskbars and in the app window chrome. Remove the backing rect from both openidea.svg and openidea-windows.svg, enlarge the mark to fill the canvas (scale 1.55 and 1.8 respectively), and regenerate the raster set with the tauri icon toolchain. Closes #2111 * fix(run): skip the drive prefix when canonicalizing verbatim roots canonical_path walks a path component by component so it can compare a not-yet-created base with existing sources. On Windows, a verbatim root (\?\D:\...) puts a bare \?\D: Prefix component first; canonicalizing that prefix alone fails with ERROR_INVALID_FUNCTION (GetFinalPathNameByHandle has no directory form for a bare drive), aborting prepare() before any work — the verbatim-roots test fails on windows-latest. Skip Component::Prefix: the drive prefix has nothing to canonicalize, and the RootDir right after it resolves the drive itself. This fixes the same upstream-main failure tracked in #2057/#2096, scoped to this branch so the icon change doesn't inherit a red job.
No files matched your search
@@ -395,6 +395,10 @@ fn canonical_path(path: &Path) -> IdeResult<PathBuf> {
|
||||
let mut resolved = PathBuf::new();
|
||||
for component in std::path::absolute(path)?.components() {
|
||||
match component {
|
||||
std::path::Component::Prefix(_) => {
|
||||
resolved.push(component);
|
||||
continue;
|
||||
}
|
||||
std::path::Component::ParentDir => {
|
||||
resolved.pop();
|
||||
}
|
||||
|
||||
|
До Ширина: | Висота: | Розмір: 2.6 KiB Після Ширина: | Висота: | Розмір: 2.3 KiB |
|
До Ширина: | Висота: | Розмір: 4.9 KiB Після Ширина: | Висота: | Розмір: 4.4 KiB |
|
До Ширина: | Висота: | Розмір: 718 B Після Ширина: | Висота: | Розмір: 677 B |
|
До Ширина: | Висота: | Розмір: 2.6 KiB Після Ширина: | Висота: | Розмір: 2.2 KiB |
|
До Ширина: | Висота: | Розмір: 3.5 KiB Після Ширина: | Висота: | Розмір: 3.0 KiB |
|
До Ширина: | Висота: | Розмір: 3.6 KiB Після Ширина: | Висота: | Розмір: 3.1 KiB |
|
До Ширина: | Висота: | Розмір: 6.7 KiB Після Ширина: | Висота: | Розмір: 5.7 KiB |
|
До Ширина: | Висота: | Розмір: 876 B Після Ширина: | Висота: | Розмір: 802 B |
|
До Ширина: | Висота: | Розмір: 7.2 KiB Після Ширина: | Висота: | Розмір: 6.2 KiB |
|
До Ширина: | Висота: | Розмір: 1.2 KiB Після Ширина: | Висота: | Розмір: 1.1 KiB |
|
До Ширина: | Висота: | Розмір: 1.8 KiB Після Ширина: | Висота: | Розмір: 1.5 KiB |
|
До Ширина: | Висота: | Розмір: 2.2 KiB Після Ширина: | Висота: | Розмір: 1.9 KiB |
|
До Ширина: | Висота: | Розмір: 1.3 KiB Після Ширина: | Висота: | Розмір: 1.2 KiB |
|
До Ширина: | Висота: | Розмір: 13 KiB Після Ширина: | Висота: | Розмір: 11 KiB |
|
До Ширина: | Висота: | Розмір: 9.9 KiB Після Ширина: | Висота: | Розмір: 8.8 KiB |
@@ -1,14 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 100 100" role="img" aria-label="OpenIDEA">
|
||||
<rect x="2" y="2" width="96" height="96" rx="22" fill="#EAE7E0"/>
|
||||
<g transform="translate(50 50) scale(1.5) translate(-50 -52)">
|
||||
<rect x="22" y="26" width="56" height="52" rx="12" fill="#D9582C"/>
|
||||
<rect x="27" y="26" width="46" height="42" rx="9" fill="#1B1A1A"/>
|
||||
<g transform="translate(50 46) scale(1.35) translate(-50 -46)">
|
||||
<circle cx="44" cy="47.4" r="4.1" fill="none" stroke="#EAE7E0" stroke-width="2.7"/>
|
||||
<rect x="54.3" y="42" width="2.8" height="10.5" fill="#EAE7E0"/>
|
||||
<rect x="51.2" y="42" width="5.9" height="2.5" fill="#EAE7E0"/>
|
||||
<rect x="51.2" y="50" width="9.4" height="2.5" fill="#EAE7E0"/>
|
||||
<circle cx="55.7" cy="38.4" r="1.8" fill="#EAE7E0"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 100 100" role="img" aria-label="OpenIDEA"><g transform="translate(50 50) scale(1.8) translate(-50 -52)"><rect x="22" y="26" width="56" height="52" rx="12" fill="#D9582C"/><rect x="27" y="26" width="46" height="42" rx="9" fill="#1B1A1A"/><g transform="translate(50 46) scale(1.35) translate(-50 -46)"><circle cx="44" cy="47.4" r="4.1" fill="none" stroke="#EAE7E0" stroke-width="2.7"/><rect x="54.3" y="42" width="2.8" height="10.5" fill="#EAE7E0"/><rect x="51.2" y="42" width="5.9" height="2.5" fill="#EAE7E0"/><rect x="51.2" y="50" width="9.4" height="2.5" fill="#EAE7E0"/><circle cx="55.7" cy="38.4" r="1.8" fill="#EAE7E0"/></g></g></svg>
|
||||
|
До Ширина: | Висота: | Розмір: 850 B Після Ширина: | Висота: | Розмір: 720 B |
@@ -1 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 100 100" role="img" aria-label="OpenIDEA"><rect x="10" y="10" width="80" height="80" rx="18" fill="#EAE7E0"/><g transform="translate(50 50) scale(1.25) translate(-50 -52)"><rect x="22" y="26" width="56" height="52" rx="12" fill="#D9582C"/><rect x="27" y="26" width="46" height="42" rx="9" fill="#1B1A1A"/><circle cx="44" cy="47.4" r="4.1" fill="none" stroke="#EAE7E0" stroke-width="2.7"/><rect x="54.3" y="42" width="2.8" height="10.5" fill="#EAE7E0"/><rect x="51.2" y="42" width="5.9" height="2.5" fill="#EAE7E0"/><rect x="51.2" y="50" width="9.4" height="2.5" fill="#EAE7E0"/><circle cx="55.7" cy="38.4" r="1.8" fill="#EAE7E0"/></g></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 100 100" role="img" aria-label="OpenIDEA"><g transform="translate(50 50) scale(1.55) translate(-50 -52)"><rect x="22" y="26" width="56" height="52" rx="12" fill="#D9582C"/><rect x="27" y="26" width="46" height="42" rx="9" fill="#1B1A1A"/><circle cx="44" cy="47.4" r="4.1" fill="none" stroke="#EAE7E0" stroke-width="2.7"/><rect x="54.3" y="42" width="2.8" height="10.5" fill="#EAE7E0"/><rect x="51.2" y="42" width="5.9" height="2.5" fill="#EAE7E0"/><rect x="51.2" y="50" width="9.4" height="2.5" fill="#EAE7E0"/><circle cx="55.7" cy="38.4" r="1.8" fill="#EAE7E0"/></g></svg>
|
||||
|
До Ширина: | Висота: | Розмір: 721 B Після Ширина: | Висота: | Розмір: 654 B |