Project

General

Profile

Actions

Bug #6197

open

Mouse pointer focus point issue

Added by Ton Machielsen over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/28/2018
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
(All models)
Platform:
MacOS
Debug Log:
I read the instructions above:

Description

CHIRP daily-20181014
GTK 2.24.32
PyGTK 2.24.0
Python 2.7.15
OSX10.14

Whenever a new window opens, the window geometry is off.

Repro:

  • Start Chirp from command line. Several warnings will show on the console:
    2018-10-28 13:14:18.144 python2.7[5084:8031799] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
    /usr/local/Cellar/chirp/20181014/libexec/lib/python2.7/site-packages/chirp/ui/mainapp.py:2045: Warning: invalid cast from 'GtkMenuBar' to 'GtkWindow'
    macapp.set_menu_bar(menu_bar)
    /usr/local/Cellar/chirp/20181014/libexec/lib/python2.7/site-packages/chirp/ui/mainapp.py:2045: GtkWarning: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
    macapp.set_menu_bar(menu_bar)
    
  • Open a file. In the File dialog you have to click appx. 1,5 line above the file you want to load to select the file. Also, only the top half of the Cancel and Open buttons are displayed. The rest falls outside of the window. Grabbing the resize control of the window solves this issue.
  • Once the file displays in the main creen, the main screen has the same misalignment, however, you now have to click 1,5 line BELOW the line you want to work on. This misalignment is there for everything in the window, so channels, but also tabs and top buttons. Again, once you resize the window, everything falls back in the correct place. When clicking the lines, the following message shows:
    Would activate ((1,), )
    
  • Make changes and close without saving. A new tab openes with the message "File is modified, save changes before closing?" This window again has the Yes, No and Cancel buttons misplaced (only top half is shown) and misaligned. Resizing the window solves the issue again.

Once you know that resizing the window solves the issue, the issue becomes nothing more than an annoyance, but still i think it's a bug or a dependencies issue.


Related issues

Has duplicate Bug #6029: MacBook Pro doesn't display correctlyClosed08/15/2018

Actions

No data to display

Actions

Also available in: Atom PDF