Menu

#1370 Font distortion when Calender viewer is opened

Release_1.3.24
closed
None
windows
1
2013-03-06
2013-02-11
bwDraco
No

The font may become distorted in several contexts when the Calender viewer is opened:

  • On a new configuration (without a pre-existing taskcoach.ini), the font for the time in the Calender viewer is enlarged and stretched.
  • On an older configuration inherited from version 1.3.7, opening the Calender viewer causes the font used in Tasks and Categories lists to become enlarged and stretched. This persists even after closing the Calender viewer.

This applies to both the 1.3.23 release and the pre-release build 1.3.25.6025.

1 Attachments

Discussion

  • bwDraco

    bwDraco - 2013-02-11

    Additional attachments are here, including an old TaskCoach.ini file (inherited from version 1.3.7) and a screenshot of the bug with this configuration file.

    Regarding "pre-release build 1.3.25.6025": I meant 1.3.23.6025, sorry.

     

    Last edit: bwDraco 2013-02-11
  • Jérome Laheurte

    A fix was made and checked into the source code repository of Task Coach. The fix will be part of the next release. You will get another notification when that release is available with the request to install the new release and confirm that your issue has indeed been fixed.

    If you like, you can download a recent build from http://www.fraca7.net/TaskCoach-packages/latest_bugfixes.py to test the fix.

    Because a fix has been made for this bug report, the priority of this report has been lowered to 1 and its resolution has been set to 'Fixed'.
    Thanks, Task Coach development team

     
  • Jérome Laheurte

    The ini file helped very much; thanks.

     
  • Jérome Laheurte

    This bug should be fixed in the latest release of Task Coach. Can you please install the latest release of Task Coach and confirm that this bug has indeed been fixed?

    Thanks, Task Coach development team

     
  • bwDraco

    bwDraco - 2013-02-17

    Not fixed. Fonts are still distorted in the Calender viewer with a new configuration. An error is reported upon closing; the error log is attached. These are the relevant lines:

    Traceback (most recent call last):
      File "taskcoachlib\thirdparty\wxScheduler\wxSchedulerPaint.pyo", line 37, in CalcMin
      File "taskcoachlib\thirdparty\wxScheduler\wxSchedulerPaint.pyo", line 902, in CalcMinSize
      File "taskcoachlib\thirdparty\wxScheduler\wxSchedulerPaint.pyo", line 882, in _CalcMinSize
      File "taskcoachlib\thirdparty\wxScheduler\wxSchedulerPaint.pyo", line 842, in DoPaint
      File "taskcoachlib\thirdparty\wxScheduler\wxSchedulerPaint.pyo", line 593, in _paintDaily
      File "taskcoachlib\thirdparty\wxScheduler\wxSchedulerPaint.pyo", line 564, in _paintDailyHeaders
      File "taskcoachlib\thirdparty\wxScheduler\wxDrawer.pyo", line 640, in DrawHours
      File "wx\_gdi.pyo", line 2150, in GetWeight
    wx._core.PyAssertionError: C++ assertion "Ok()" failed at ..\..\src\msw\font.cpp(1059) in wxFont::GetWeight(): invalid font
    
     

    Last edit: bwDraco 2013-02-17
  • Jérome Laheurte

    I'll fix this. BTW what do you exactly mean by "distorted" ? They're as big as intended (in order to take up all available space).

     
  • bwDraco

    bwDraco - 2013-02-18

    The fonts seem to be out of proportion, rather than just increased in size, and are so large that characters may overlap on a windows that is not maximized.

     

    Last edit: bwDraco 2013-02-18
  • Jérome Laheurte

    Aaah yes the aspect ratio is all wrong. Didn't notice because my viewer has the exact aspect ratio that makes it OK...

     
  • Jérome Laheurte

    • status: fixed-and-released --> open
    • platform_s: --> windows
    • milestone: --> Release_0.72.0
     
  • Jérome Laheurte

    • assigned_to: Jérome Laheurte
    • milestone: Release_0.72.0 --> Release_1.3.24
     
  • bwDraco

    bwDraco - 2013-02-21

    The bug seems to be fixed in build 6056. Thanks.

     
  • Jérome Laheurte

    • status: open --> fixed
     
  • Jérome Laheurte

    This bug should be fixed in the latest release of Task Coach. Can you please install the latest release of Task Coach and confirm that this bug has indeed been fixed?

    Thanks, Task Coach development team

     
  • bwDraco

    bwDraco - 2013-03-06

    Verified fixed in 1.3.26.

     
  • Jérome Laheurte

    • status: fixed-and-released --> closed
     

Log in to post a comment.