ahlstromcj / sequencer64

A major reboot of Seq24. Current release 0.97.0 (2021-05-13), native JACK MIDI, Song recording, playlists, and a Windows/Qt version. For fresher code, see the Seq66 project. Note that trigger and mute-group-in-MIDI-file formats have evolved! Back up your work!
GNU Affero General Public License v3.0
235 stars 29 forks source link

Crash every time I click on the menu #185

Open unfa opened 4 years ago

unfa commented 4 years ago

I'm running Manjaro Linux with KDE.

Almost any action in the GUI result in an instant crash of Seq64.

** (seq64:198203): WARNING **: 21:26:44.821: Invalid borders specified for theme pixmap:
        /usr/share/themes/Breath/gtk-2.0/../assets/line-h.png,
borders don't fit within the image
Trace/breakpoint trap (core dumped)
mxmilkiib commented 4 years ago

See #126 and #154. The -git of breeze should work, though I've not used that theme for a while now.

ahlstromcj commented 4 years ago

Try a different theme. Had a problem like that with a breeze theme. The menu separators are not handled correctly by the theme.

On Mon, Nov 25, 2019, 15:40 unfa notifications@github.com wrote:

I'm running Manjaro Linux with KDE.

Almost any action in the GUI result in an instant crash of Seq64.

(seq64:198203): WARNING : 21:26:44.821: Invalid borders specified for theme pixmap: /usr/share/themes/Breath/gtk-2.0/../assets/line-h.png, borders don't fit within the image Trace/breakpoint trap (core dumped)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/sequencer64/issues/185?email_source=notifications&email_token=AB45LKCG2DLEMJ4WRFTR4GLQVQZ3TA5CNFSM4JROPBOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H35TBTA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB45LKG5O5DPD3UHBJMVSWTQVQZ3TANCNFSM4JROPBOA .

mxmilkiib commented 4 years ago

Aah, Breath, not Breeze, though it is a fork.

unfa commented 4 years ago

I installed breeze-git from AUR - no luck. I changed the system-wide GTK2 and GTK3 theme to Adwaita and it no longer crashes.

unfa commented 4 years ago

I've just learned there's a QT GUI, so I thought I'll try that instead (no GTK - no problem, right?).

The QT version looks amazing, though it crashes every time I close the pattern editor or preferences dialog window.

If that's not a known problem I'll report in a separate issue.

ahlstromcj commented 4 years ago

I will look into that soon. Is this the master branch or midi_control branch? Thanks!

-------- unfa 17:19 Mon 25 Nov --------

I've just learned there's a QT GUI, so I thought I'll try that instead (no GTK - no problem, right?).

The QT version looks amazing, though it crashes every time I close the pattern editor or preferences dialog window.

If that's not a known problem I'll report in a separate issue.

— You are receiving this because you commented. Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.

References

Visible links

  1. https://github.com/ahlstromcj/sequencer64/issues/185?email_source=notifications&email_token=AB45LKBOUGFOWQOVQVPMZZDQVR2Q5A5CNFSM4JROPBOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFELYLY#issuecomment-558414895
  2. https://github.com/notifications/unsubscribe-auth/AB45LKBSOT4TZ77B7RLINK3QVR2Q5ANCNFSM4JROPBOA

-- Q: What's the difference between Bell Labs and the Boy Scouts of America? A: The Boy Scouts have adult supervision.

mxmilkiib commented 4 years ago

Sorry, I should have been specific; breeze-gtk-git , which is the GTK version of the theme that sequencer64 would be using.

But it was marked resolved in 5.15.0, and extra/breeze-gtk is 5.17 now, so I'm slightly confused.

I've created a bug report for breath-gtk.

ahlstromcj commented 4 years ago

Thank you!

On Fri, Nov 29, 2019, 11:20 Milk Brewster notifications@github.com wrote:

Sorry, I should have been specific; breeze-gtk-git , which is the GTK version of the theme that sequencer64 would be using.

But it was marked resolved in 5.15.0, and extra/breeze-gtk is 5.17 now, so I'm slightly confused.

I've created a bug report https://gitlab.manjaro.org/artwork/themes/breath-gtk/issues/9 for breath-gtk.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/sequencer64/issues/185?email_source=notifications&email_token=AB45LKDZ36ANSTLBYSJOHG3QWE6OLA5CNFSM4JROPBOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPG6JQ#issuecomment-559836966, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB45LKD47PRWOLO4FCLCCA3QWE6OLANCNFSM4JROPBOA .

ahlstromcj commented 4 years ago

What version are you running at the moment, from master?

-------- unfa 17:19 Mon 25 Nov --------

I've just learned there's a QT GUI, so I thought I'll try that instead (no GTK - no problem, right?).

The QT version looks amazing, though it crashes every time I close the pattern editor or preferences dialog window.

If that's not a known problem I'll report in a separate issue.

— You are receiving this because you commented. Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.

References

Visible links

  1. https://github.com/ahlstromcj/sequencer64/issues/185?email_source=notifications&email_token=AB45LKBOUGFOWQOVQVPMZZDQVR2Q5A5CNFSM4JROPBOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFELYLY#issuecomment-558414895
  2. https://github.com/notifications/unsubscribe-auth/AB45LKBSOT4TZ77B7RLINK3QVR2Q5ANCNFSM4JROPBOA

-- You are confused; but this is your normal state.

fpesari commented 4 years ago

I ran into the same problem on openSUSE.

It can be avoided by launching sequencer64 with a different GTK2 theme than Breeze, for example Raleigh:

GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-2.0/gtkrc seq64

I think this thread as well as #154 should be closed because of #126.

Breeze is very popular also due to the high number of Plasma users around. I think that leaving things as they are could be problematic because some people could dismiss sequencer64 as broken. Perhaps detecting if Breeze is the theme and switching to Raleigh (which is the default GTK2 theme and thus should always be already installed) could be a better fix for the short-term.

ahlstromcj commented 4 years ago

I've currently disabled horizontal menu separators via a function call user_settings :: hide_menu_separator_fudge(). Will later try to incorporate theme detection or see if a try/catch can work. Check out the midi_control branch, not yet ready to make it 0.96.7.