On Saturday, January 14, 2017 8:00:03 PM EST Robert Jonsson wrote: > Hi Tim, > > 2017-01-12 3:49 GMT+01:00 termtech <[email protected]>: > > On Wednesday, January 11, 2017 11:22:47 PM EST Robert Jonsson wrote: > >> Hi guys, remember me? :-o > >> > >> Managed to put in some MusE time and I have a quick poll question. > >> > >> I've discovered that on my system, if I switch to the Dark theme, MusE > >> is no longer working correctly. > >> What happens is that the arranger no longer works right, (or at all). > >> Easy way to see it is that the play point no longer is moveable. > >> For whatever reason it also affects closing of certain LV2 > >> plugin-guis, like Calf Equalizer, MusE vanishes when you try to close > >> its gui in this state. > >> > >> My question is if this happens for others or is my system broken? > >> > >> I've narrowed it down to the setting of forground and background > >> colors in the QWidget block in the *.qss theme stylesheet. > >> Without this block it works but base colors are of course not set, > >> making the theme fairly broken.. I've been unable to find a work > >> around. > >> > >> Regards, > >> Robert > > > > [cc'ing users for info.] > > > > [Sigh] > > That's what I've been trying to tell everyone but it gets lost > > > > in the noise. > > Ah, vaguely recall that but didn't realize the relation or implication.. > > > This problem happens when you simply choose a Style. > > Several of them cause it here. (Oxygen for ex.) > > It can even happen upon installation and first usage. > > > > The bug is NOT stylesheet related. It is an MDI + Style problem. > > The MusE Arranger uses MDI, thus it breaks. > > Indeed it can be fixed by selectin a different theme, Fusion seems > nicest on my system, so all is not lost. > > Hmm, still something must be related to the stylesheets as it works in > either (I think) when the stylesheet for QWidget isn't there. > > > This is a Qt problem and last I checked it hasn't been fixed yet. > > I really must file a report... > > > > Want to see for yourself? Open Qt5Creator and create > > > > an MDI form and add a sub window, or two, and then > > preview the form using different styles. > > > > Guaranteed, a few of the styles will cause the sub windows > > > > to NOT FUNCTION ! No resizing, no response from mouse. > > Sounds like a very good test case to pass on but I can't recreate the > problem though... > > I started with a QWidget or QMainWindow and added a QMdiArea, on this > i added two sub windows and did a > Tools->Form Editor->Preview In->Oxygen (or any other style). > > On my system (kubuntu 16.10) this seems to work as expected, I can > move and expand the sub windows. > > Is there something else I should try?
Hm, I'm on 16.04 and Oxygen and Breeze are definitely broken with that exact test. The sub windows do not respond at all to the mouse. Maybe there's more than one thing going on here, maybe my MDI problem plus some weirdness when switching stylesheets in MusE affecting both of us? I'll try to take a look. My plan would be to experiment to rearrange how we set stylesheet then style, maybe reverse the order. Maybe apply the style twice just to be sure. Hopefully there's a way to work around this. Really must solve this. Today I should have that drums update I spoke of in another thread. Stay tuned. Tim. > > Regards, > Robert > > > Someone, please let's tell Qt about this. > > I'm tired of this damn bug. It'll ruin our whole 3.0 release party. > > People will be like... huh? it's frozen... > > > > I was not aware of the LV2 gui relation. Will investigate. Thanks. > > > > Workaround: > > In Appearance settings, hit Apply once, or twice. > > (The problem tends to 'toggle' on/off if you do that.) > > If no luck, choose another Style and hit Apply. > > You will now likely get XCB errors in the terminal whenever > > > > the mouse moves across Splitter handles. To cure that > > you must restart MusE. But alas, now the Arranger might be > > frozen again, so go to Appearance and keep trying Styles and > > hitting 'Apply' until the Arranger is unfrozen. Note that simply > > hitting 'Cancel' or 'OK' is like 'Apply' - it may 'toggle' the problem. > > > > Usually you don't need to do this every time you start - > > > > it usually stays working if you can get it to behave. > > > > I find the nicest looking is Oxygen or System, but they may > > > > require these tricks, while others like Gtk seem to work fine ! > > > > Still, those two stylesheets you wrote are awesome. > > The dark looks cool, and the Ardour looks eerily similar. > > > > Tim. ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Lmuse-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmuse-developer
