Giter Club home page Giter Club logo

Comments (8)

rjonaitis avatar rjonaitis commented on July 19, 2024

Which desktop environment and wxWidgets version you are using?

from limesuite.

guruofquality avatar guruofquality commented on July 19, 2024
  • I tried ubuntu and kubuntu LTS 14.04 (so KDE I guess unity).
  • libwxgtk-3.0-dev 3.0.0-2

from limesuite.

rjonaitis avatar rjonaitis commented on July 19, 2024

The issue here seams to be related to GTK3, when wxWidgets are compiled with gtk3, the application style is affected by OS native look CSS. In this case it looks like the elements are created and layouted first, which sets their initial size, and only during rendering the css kicks in, but does not accommodate the elements size with the updated style.

Current solution would be to use wxWidgets compiled with GTK2.
Another temporary solution could be add borders to elements inside wxStaticBoxSizers to artificialy increase their size, but that would mess up the layout in other environments.

from limesuite.

guruofquality avatar guruofquality commented on July 19, 2024

You are probably right about the CSS. But at least for Ubuntu LTS, both packages libwxgtk2.8 and libwxgtk3.0 are compiled against the same GTK (2.24). So I doubt its gtk3.

from limesuite.

rjonaitis avatar rjonaitis commented on July 19, 2024

libwxgtk2.8 is wxWidgets2.8, that version is too old to compile project, several defines and macros are not found in it. wxWidgets2.9 is the minimal version required to compile this project.

Did a fresh Ubuntu 14.04 LTS install.

  • Compiled wxWidgets3.0.2 from source with gtk2. Compiled lms7suite, looks normal.
  • Compiled wxWidgets3.0.2 from source with gtk3. Compiled lms7suite, looks normal, except scrollers background turns black.
  • Installed libwxgtk3.0-dev. Compiled lms7suite, looks normal.
  • Installed kubuntu-desktop, switched to KDE. launched previously compiled lms7suite, it gets distorted same as for you. Going back to Unity environment the lms7suite gets KDE style and so the distortions still appear.

So on the initial Ubuntu 14.04 LTS works good, but installing KDE environment messed something up.

from limesuite.

guruofquality avatar guruofquality commented on July 19, 2024

That was a good clue. I changed the GTK2 theme. The "gtk oxygen theme" causes the rendering problem.

screenshot

It seems like oxygen theme is the default. FWIW this is the first time I have seen a problem like this. Maybe we can ignore it for now and just take note. In any case, thanks for the help.

from limesuite.

rjonaitis avatar rjonaitis commented on July 19, 2024

Also one more problem is that the horizontal sliders used for parameter controls can become invisible depending on theme, it's just a minor inconvenience.
Anyway, later GUI will have to be modified to accomodate the new connection behaviour and device selections, I think this theme bug can be postponed until then.

from limesuite.

IgnasJarusevicius avatar IgnasJarusevicius commented on July 19, 2024

Closing old issue.

from limesuite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.