Skip to content

Commit

Permalink
Added v3.4.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jgmdev committed Aug 27, 2024
1 parent 011f741 commit 1cfeb70
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions blog/2024-08-27-v344-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
slug: pragtical-v344-release
title: Pragtical v3.4.4 Release
authors: jgmdev
---

This is a **SCALE bug fix** release! Release explanation slightly adapted from
[#152](https://github.com/pragtical/pragtical/pull/152)

Since new renwindow api (that allows initializing windows directly in Lua) the
main window creation was moved to core.init but, the scale detection code was
still been performed before. This meant that loading the default system style
was using the incorrect scale causing issues that would only be resolved by
manually re-scaling the interface.

Previously, tried to wrongly fix the issue by delegating the responsibility to
the scale plugin but that wasn't the correct solution (didn't notice what
explained on first paragraph until later 😓). Now we defer style loading until
main window is created and the default system scale properly detected, this
ensures that the correct scale is set before performing any style calculations
that rely on it.

Now besides updating scale on the displaychanged event it also updates it when
the window is resized, but we limited the amount of scale checks on resize to
prevent crashes on X11.

Hopefully these changes finally tackle the scale issues 😄

Downloads on [GitHub](https://github.com/pragtical/pragtical/releases/tag/v3.4.4).

## Changes Log

### Fixes

* Adjust scale retrieveal on startup
([#152](https://github.com/pragtical/pragtical/pull/152))

* When scale changes rescale item sizes on LogView
([#154](https://github.com/pragtical/pragtical/pull/154))

* Updated widgets to latest with smaller rescale fix
([#155](https://github.com/pragtical/pragtical/pull/155))

* Rescale the EmptyView icons font on instantiation
([#156](https://github.com/pragtical/pragtical/pull/156))
2 changes: 1 addition & 1 deletion src/components/GetPragtical/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState, useEffect } from "react";
import clsx from 'clsx';
import styles from './styles.module.css';

const LATEST='v3.4.3';
const LATEST='v3.4.4';

function GetDownloadsMap(version) {
return [
Expand Down

0 comments on commit 1cfeb70

Please sign in to comment.