Ticket #1298 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Changing font in preferences is not applied to existing editors

Reported by: dolmen Owned by:
Priority: blocker Milestone:
Component: Preference System Version: 0.93
Keywords: font preference Cc:

Description

When the font is changed using the preference dialog, the new font is only applied to editors created after that change. Existing editors are not updated.

Change History

comment:1 Changed 2 years ago by bowtie

  • Priority changed from minor to blocker

r17563

As Prefs->Editor font dose not work, reduced default font size to 9, so as to see a normal line on a 1024x768 monitor

comment:2 Changed 2 years ago by sugar

Confirm this bug.
Padre - 0.92.
Cannot change font (size and type) via Tools->Preferences->Appearance, 'Editor font'. Settings are saved but visually nothing changes.

comment:3 Changed 2 years ago by adamk

  • Status changed from new to closed
  • Resolution set to fixed

All changes driven by the Preferences dialog are now applied via the Padre::Config::Apply system (so this logic can be shared with other subsystems such as Preferences Sync).

Added apply methods for editor_font and editor_currentline_color so the Preferences dialog can apply these settings correctly.

comment:4 Changed 2 years ago by bowtie

  • Status changed from closed to reopened
  • Version changed from 0.89 to 0.93
  • Resolution fixed deleted

Opps

Not Quite there yet, this is not being applied, but also neither is change of theme

hope this helps

comment:5 Changed 2 years ago by bowtie

  • Status changed from reopened to closed
  • Resolution set to fixed

fixed in r17983

Note: See TracTickets for help on using tickets.