Bug #330

Invalid link in About dialog in Windows 7

Added by Boris - over 8 years ago. Updated about 6 years ago.

Status:Closed Start date:10/15/2012
Priority:Normal Due date:
Assignee:Kosta A. % Done:

100%

Category:-
Target version:-
Chirp Version:daily Platform:Windows
Model affected:(All models)

Description

There's a link in the About CHIRP dialog - http://chirp.danplanet.com
It doesn't work in the Windows 7. It's occuring the message: Could not show link / No application is registered as handling this file.
But the Windows 7 opens http://chirp.danplanet.com (ex. via Run dialog) successful.

Associated revisions

Revision 2343:c614f783248a
Added by Kosta A. about 6 years ago

[PATCH] Fix Link in About Dialog
The URL link in the about dialog is now functional. Tested in both
Ubuntu and Windows 8.1, verified working.
Replaced the MessageBox dialog for the 'Documentation' help menu item
with a hotlink to the website. The URL link in the MessageBox was non-
functional on Windows and overall it did not provide much information
outside of the link anyhow.
Bug #330

Revision 2354:8fb4923cc3d5
Added by Jens Jensen about 6 years ago

[mac] fix crash at startup on mac

fix startup crash on mac due to changes in bug #330

History

Updated by Robert Terzi over 7 years ago

(py) GTK under windows isn't configured to launch URLs in either the current chirp daily (.exe) build or when running from source.

On Linux, clicking the link will launch the web browser correctly.

This might be a problem with pyGTK, or GTK under windows. GTK should use whatever the default browser is under Windows which is platform specific code.

Updated by Kosta A. about 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Kosta A.
  • % Done changed from 0 to 100

This appears to be a limitation of GTK with the stock URL handling in about dialog markup.

A patch has been sent to the mailing list to resolve the issue which was verified against Ubuntu and Windows 8.

Updated by Kosta A. about 6 years ago

  • Status changed from In Progress to Resolved

This has now been resolved by r2343.

Updated by Jens Jensen about 6 years ago

looks like r2343 broke mac startup:

Traceback (most recent call last):
File "chirp.hg/chirpw", line 127, in <module>
a = mainapp.ChirpMain()
File "/Users/jjensen/build/chirp.hg/chirpui/mainapp.py", line 1741, in init
self._init_macos(mbar)
File "/Users/jjensen/build/chirp.hg/chirpui/mainapp.py", line 1704, in _init_macos
macapp.insert_app_menu_item(documentationitem, 0)
TypeError: insert_app_menu_item() argument 1 must be gtk.Widget, not None

submitted a patch to the list to fix

Updated by Kosta A. about 6 years ago

  • Status changed from Resolved to In Progress

Looks like a rename of the action from "document" to "gethelp" caused
the issue.

I have reopened the issue until the patch gets committed for macos.

Updated by Kosta A. about 6 years ago

  • Status changed from In Progress to Resolved

Resolved by r2354

Updated by Kosta A. about 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF