-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview in 6.070 GUI issues #498
Comments
In Settings > Preview, please uncheck ChordPro should now use its built-in PDF viewer. |
I'm using dev 6.070 and don't see this. No Settings > Preview. |
(The smell increases. Not that it matters for this case, but can you upgrade to the release version?) Try this:
It should say something similar to
|
it says Using external PDF viewer. |
This is what I was afraid of... I fear that Ubuntu does not provide a complete wxWidgets build. Can you find out what wxWidgets packages are installed, and what wx libraries there are in lib? |
ldconfig -p -v |grep wx > wxliblist.txt And list of available ubuntu wx apts: |
Can you add |
Added. reinstalled chordpro; no difference. screen stdout: |
Does If so, can you, try to rebuild libwx-perl from source? |
I've set up an Unbuntu 24.04.1 LTS and I can reproduce the problem. I'll see what I can do. |
Okay, the problem: Ubuntu 24.04.1 LTS ships with wxWidgets but does not install the WebView component. As a result, the system provided Alien::wxWidgets and wxPerl do not have DocView. I think this will work:
Download Wx-3.004.tar.gz from https://github.com/sciurius/wxPerl/releases/tag/R3.004
Now wxChordPro should be fully functional (using the embedded PDF viewer). |
This may be easier:
Now proceed with downloading, building and installing |
And this may be best:
|
I had an issue that seems related to this. I am on Pop OS 22.04 LTS. If I tried to run chordpro with libalien packages installed through apt it would run, but it would open pdfs in firefox (even though my default browser is brave). So I followed the instructions on chordpro's website. I installed What finally fixed the issue was running the I will test this again on a different machine to make sure that this is reproducable. I will let you know how that went in a few days. |
Thanks for the headsup. Do you have information on what wx packages and libraries are installed on Pop OS when you install libwx-perl ? |
Here are outputs of running |
Perfect. So installing libwx-perl adds libalien-wxwidgets-perl (as it should) and the required wx libraries except for webview.
Wx::Media is provided by Wx, and the default version of Wx gives this (and some other) errors when building against wxWidgets later than 3.0. |
I installed chordpro today on another system with Pop OS 22.04 LTS. I ran into all the same issues as the first time. Installing Wx-3.005 with
For Pop OS the file That got Chordpro installed and running with build in pdf viewer on Pop OS. *As of now, these are not available in default repositories, but I got them from Kicad repos. |
Os Ubuntu 24.04
With chordpro file loaded pressing preview opens firefox but firefox complains it cannot find the file
/tmp/filename. It even displays the filename in error message. If I go to tmp the file is there and able to be
opened and read in a pdf viewer.
If I remove firefox from the system then preview opens in default pdf viewer program.
I would think that chordpro would check the environment and use the default browser. In my case BROWSER=vivaldi.
That is an environment variable set for use in abc2svg.
The text was updated successfully, but these errors were encountered: