bambulab / BambuStudio

PC Software for BambuLab and other 3D printers
GNU Affero General Public License v3.0
1.71k stars 233 forks source link

Titlebar visible on Linux X11 #3313

Open hadess opened 6 months ago

hadess commented 6 months ago

Bambu Studio Version

git

Where is the application from?

Built from source by yourself or others

OS version

Flathub GNOME SDK 45

Additional system information

No response

Printer

N/A

How to reproduce

Launch BambuStudio

Actual results

It has 2 titlebars, the window manager one, and the application provided one.

image

Expected results

Just one titlebar.

I've managed to hack this changing the value of BORDERLESS_FRAME_STYLE in src/slic3r/GUI/MainFrame.cpp to (wxRESIZE_BORDER | wxBORDER_SIMPLE) but that makes the minimise and maximise buttons not work (the minimise button shouldn't appear on my GNOME system), and the window isn't resizable

image

Project file & Debug log uploads

N/A

Checklist of files to include

bambu123 commented 5 months ago

Windows has done special processing. But we don't have much energy to optimize Linux version.

astrolemonade commented 5 months ago

This happens not only on the flatpak version but also on the built from source version: image Orca Slicer inherits that too, unfortunately.

hadess commented 1 week ago

Orca Slicer inherits that too, unfortunately.

https://github.com/SoftFever/OrcaSlicer/issues/4411