Jump to content

midora

Members
  • Posts

    1,782
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by midora

  1. Or think about to change the width of the Tools panel to match the width of the History or Layer panel. Or be radical and do it for all panels πŸ˜‰
  2. Embedded means the file contains the color profile as opposed to that the color profile is stored in a separate file or does not exist at all.
  3. The story behind the following animation The cats sitting on a fence in early builds of Windows 8
  4. Did you check that Menu->Image->Resize... shows 72dpi? As long as the source file contains a valid dpi value you should see it there.
  5. VS proposes to use a switch expression var cipn = property switch { BooleanProperty or UriProperty => ControlInfoPropertyNames.Footnote, _ => ControlInfoPropertyNames.Description, }; I guess I should take the time to have a look to all the new c# features. But on the other side I have to debug now Xamarin code on iOS and should not forget the old stuff πŸ˜‰
  6. I was surprised that switch allows to test for a class type... public void SetPropertyDescription(Property property) { ControlInfoPropertyNames cipn; switch (property) { case BooleanProperty: case UriProperty: cipn = ControlInfoPropertyNames.Footnote; break; default: cipn = ControlInfoPropertyNames.Description; break; } var descriptionText = Context.MapKeyToText(property.Name + ".Description", ""); Info.SetPropertyControlValue(property.Name, cipn, descriptionText); }
  7. Because ControlInfoPropertyNames.Description is used to set the text of the UriProperty allow ControlInfoPropertyNames.Footnote (as used by BooleanProperty). Or maybe allow Footnote for all properties (in addition to Description just o be consistent). In general I would prefer that .ButtonText sets the text of BooleanProperty and UriProperty and Description would only be used for the description. But it's a little bit late now πŸ˜‰
  8. As long as you can get different colors for the active and inactive window title bar. If the only difference is the thin window border color then it's really bad.
  9. One issue is the width of the popup. The other one the overall width of the control panel.
  10. The width of the dialog controls is fixed for all save plugins. But terms like 'unsigned' could be abbreviated.
  11. You have to write your own thumbnail shell extension for the file type and install it. Like here 'GIF Animations and Images' FileType Plugin
  12. I'm getting analyzer warnings like the following one. TargetFramework is net6.0-windows and VS is up-to-date. Any idea? Warning CS8032 An instance of analyzer System.Text.Json.SourceGeneration.JsonSourceGenerator cannot be created from C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.2\analyzers\dotnet\cs\System.Text.Json.SourceGeneration.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. That's a PropertyBasedEffect plugin.
  13. @Kamikazeyour wording is kamikaze. You are using free software.
  14. Just to say, in the moment I'm using the above 'feature' to detect the 'DialogResult'. I know that's a bad way to do it and I would prefer to get a clean solution for PropertyBasedEffects. Maybe a virtual method OnConfigClosed( DialogResult result ) or OnConfigClosed( PropertyBasedEffectConfigToken finalToken, DialogResult result ). BTW: For Tools Effects I would like to get EffectRenderingSchedule.DoNotRender πŸ˜‰ Means there should be OnSetRenderInfo but no OnRender
  15. That's worth two 🍺🍺 @toe_head2001. So let's 🍻. I will check it out with the new 4.3.8 beta.
  16. Is the OnSetRenderInfo call after clicking OK intentional? There are no following OnRender calls... It doesn't hurt but I'm curious πŸ˜‰
  17. Layer names must not be unique. So 'Import From File' has no issue with the names. If the imprted image is larger than the current one then the canvas will be resized to fit both images.
  18. I will provide a 🍺 to the one taking the challenge πŸ˜‰
  19. There is a PropertyControlType.FileChooser but sometimes you need just a folder so maybe PropertyControlType.FolderChooser would be useful.
  20. Save the effect in the Effect folder. 'Effects/Tools/Watch and Zip' allows you to set the folder to watch. All .pdn files in this folder (and all subfolders) will be zipped on file create and on file change while paint.net is running.
  21. If Rick decides to store more information in the pdn file then the plugin must be adapted (no surprise). You may also save as .ora that's zip based too. You can also save as pdn in a watched folder and write a script which reacts on changes to the folder and copies away a zipped file. You can also create diff files this way.
  22. Please have in mind that there are different keyboard layouts. I's already an issue that ctrl++ is not working on a lot of keyboards. Supporting special characters should always be implemented by figuring out which key combination produces the key on the current keyboard layout. That's not so difficult.
×
×
  • Create New...