Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# CHANGELOG
## COMPASS v1.8.9 (26 October 2025)
## COMPASS v1.8.10 (23 November 2025)

### Improvements

- Add a button to the codex edit window to clear the rating.
- Change the default tag color from gray to Same as Parent.

### Fixes

- Fix a crash when moving an item without thumbnail to a different collection
- Potentially fix a crash when opening the file selector dialog
## COMPASS v1.8.9 (26 October 2025)

### Improvements

Expand Down
2 changes: 1 addition & 1 deletion Deployment/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "COMPASS"
#define MyAppVersion "1.8.9"
#define MyAppVersion "1.8.10"
#define MyAppPublisher "Paul De Smul"
#define MyAppURL "https://www.compassapp.info"
#define MyAppExeName "COMPASS.exe"
Expand Down
17 changes: 10 additions & 7 deletions src/COMPASS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<OutputType>WinExe</OutputType>
<TargetFramework>net9.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<!-- Some user have crash when opening trying to pick a file with the windows file explorer
Setting CET compatibility to false is suggested in https://github.com/dotnet/wpf/issues/10305-->
<CETCompat>false</CETCompat>
<RootNamespace>COMPASS</RootNamespace>
<AssemblyName>COMPASS</AssemblyName>
<ApplicationIcon>COMPASS.ico</ApplicationIcon>
Expand Down Expand Up @@ -39,32 +42,32 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="8.4.0" />
<PackageReference Include="Autofac" Version="9.0.0" />
<PackageReference Include="Autoupdater.NET.Official" Version="1.9.2" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageReference Include="DotNetSeleniumExtras.WaitHelpers" Version="3.11.0" />
<PackageReference Include="FuzzySharp" Version="2.0.2" />
<PackageReference Include="gong-wpf-dragdrop" Version="4.0.0" />
<PackageReference Include="HtmlAgilityPack" Version="1.12.4" />
<PackageReference Include="itext" Version="9.3.0" />
<PackageReference Include="itext.bouncy-castle-adapter" Version="9.3.0" />
<PackageReference Include="itext" Version="9.4.0" />
<PackageReference Include="itext.bouncy-castle-adapter" Version="9.4.0" />
<PackageReference Include="log4net" Version="3.2.0" />
<PackageReference Include="Magick.NET-Q8-AnyCPU" Version="14.9.0" />
<PackageReference Include="Magick.NET.SystemDrawing" Version="8.0.11" />
<PackageReference Include="Magick.NET-Q8-AnyCPU" Version="14.9.1" />
<PackageReference Include="Magick.NET.SystemDrawing" Version="8.0.12" />
<PackageReference Include="MaterialDesignThemes" Version="4.9.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="Ookii.Dialogs.Wpf" Version="5.0.1" />
<PackageReference Include="OpenCvSharp4.Extensions" Version="4.11.0.20250507" />
<PackageReference Include="OpenCvSharp4.Windows" Version="4.11.0.20250507" />
<PackageReference Include="PDFtoImage" Version="5.1.1" />
<PackageReference Include="PDFtoImage" Version="5.2.0" />
<PackageReference Include="Selenium.Support" Version="4.38.0" />
<PackageReference Include="Selenium.WebDriver" Version="4.38.0" />
<PackageReference Include="SharpCompress" Version="0.41.0" />
<PackageReference Include="System.Drawing.Common" Version="9.0.10" />
<PackageReference Include="VirtualizingWrapPanel" Version="2.1.1" />
<PackageReference Include="WpfAnimatedGif" Version="2.0.2" />
<PackageReference Include="ZXing.Net" Version="0.16.11" />
<PackageReference Include="ZXing.Net.Bindings.Windows.Compatibility" Version="0.16.13" />
<PackageReference Include="ZXing.Net.Bindings.Windows.Compatibility" Version="0.16.14" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Tag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public Color BackgroundColor
set => _serializableBackgroundColor = value;
}

private Color? _serializableBackgroundColor = Colors.DarkGray;
private Color? _serializableBackgroundColor;
public Color? SerializableBackgroundColor
{
get => _serializableBackgroundColor;
Expand Down
2 changes: 1 addition & 1 deletion src/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
// app, or any theme specific resource dictionaries)
)]

[assembly: AssemblyVersion("1.8.9")]
[assembly: AssemblyVersion("1.8.10")]
[assembly: System.Runtime.Versioning.SupportedOSPlatform("windows")]


7 changes: 7 additions & 0 deletions src/ViewModels/CodexEditViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ public bool ShowLoading

#region Methods and Commands

private RelayCommand? _clearRatingCommand;
public RelayCommand ClearRatingCommand => _clearRatingCommand ??= new(ClearRating);
private void ClearRating()
{
_tempCodex.Rating = 0;
}

private RelayCommand? _browsePathCommand;
public RelayCommand BrowsePathCommand => _browsePathCommand ??= new(BrowsePath);
private void BrowsePath()
Expand Down
7 changes: 6 additions & 1 deletion src/ViewModels/CodexViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,14 @@ public static void MoveToCollection(CodexCollection targetCollection, List<Codex
tempCodex.SetImagePaths(targetCollection);

if (Path.Exists(toMove.CoverArt))
{
File.Copy(toMove.CoverArt, tempCodex.CoverArt, true);
if (Path.Exists(toMove.CoverArt))
}

if (Path.Exists(toMove.Thumbnail))
{
File.Copy(toMove.Thumbnail, tempCodex.Thumbnail, true);
}

//Delete codex in original collection
MainViewModel.CollectionVM.CurrentCollection.DeleteCodex(toMove);
Expand Down
9 changes: 8 additions & 1 deletion src/Windows/CodexEditWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,14 @@
Grid.Column="1" Grid.Row="2" Margin="2,0"/>

<TextBlock Text="Rating:" Grid.Column="3" Grid.Row="1"/>
<materialDesign:RatingBar Value="{Binding TempCodex.Rating, Mode=TwoWay}" Margin="5" Grid.Column="4" Grid.Row="1"/>
<StackPanel Orientation="Horizontal" Grid.Column="4" Grid.Row="1">
<materialDesign:RatingBar Value="{Binding TempCodex.Rating, Mode=TwoWay}" Margin="5" />
<Button Command="{Binding ClearRatingCommand}" Opacity="0.8"
ToolTip="Clear rating" Height="18"
Style="{StaticResource IconBtn}" Margin="5 0"
tools:AP.IconKind="Clear"
Visibility="{Binding TempCodex.Rating, Converter={StaticResource ToVisibilityConverter}}"/>
</StackPanel >

<TextBlock Text="Favorite:" VerticalAlignment="Stretch" Grid.Column="3" Grid.Row="2" Margin="3,0,3,0"/>
<CheckBox IsChecked="{Binding TempCodex.Favorite, Mode=TwoWay}" VerticalAlignment="Bottom"
Expand Down
4 changes: 2 additions & 2 deletions versionInfo.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>1.8.9</version>
<url>https://github.com/DSPAUL/COMPASS/releases/download/v1.8.9/COMPASS_Setup_1.8.9.exe</url>
<version>1.8.10</version>
<url>https://github.com/DSPAUL/COMPASS/releases/download/v1.8.10/COMPASS_Setup_1.8.10.exe</url>
<mandatory>false</mandatory>
</item>
Loading