SLADE icon indicating copy to clipboard operation
SLADE copied to clipboard

Various Linux redraw/display issues

Open kitchen-ace opened this issue 4 years ago • 4 comments

SLADE Version: 3.2.0 b2 Operating System:Linux 64-bit local build

Issue Details I'd prefer to use a locally-built version of SLADE instead of the flatpak version, but it has some weird display issues.

  • ~~Trying to view a text file usually doesn't update the contents window properly. (Of course right now when I'm trying to get a screenshot, it's working fine...)~~

  • ~~In the map editor, the Item Properties panel never updates. https://imgur.com/h0tvf8f.png~~

  • The list of open tabs in the normal editor rarely displays properly. This is an issue with the flatpak build as well. This wouldn't be so bad if there were a way to close tabs that were part of a wad without closing the wad, e.g. pressing ctrl-w to close the texture editor. https://imgur.com/C6s9e6a.png

kitchen-ace avatar Jul 27 '20 05:07 kitchen-ace

It looks like there's something else going on here, possibly to do with wxWidgets, what version of it are you using to build? Also, if you build the stable branch do you get the same thing?

sirjuddington avatar Jul 27 '20 23:07 sirjuddington

It looks like there's something else going on here, possibly to do with wxWidgets, what version of it are you using to build?

wxgtk3 3.0.5.1. It's built with both --enable-mediactrl and --enable-webview. I'm using the Arch Linux build of SLADE: https://aur.archlinux.org/packages/slade-git https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=slade-git

Also, if you build the stable branch do you get the same thing?

Ah, seems there is something going on with the Arch Linux package. (Though I have no idea what?) If I build from git myself as per this, the Item Properties and (probably) text display windows work fine, using stable or master.

The tab bar still has the same problem though.

With the Arch Linux package of the 3.1.x, text windows never displayed properly, so 3.2 is an improvement in that regard.

BTW I don't know that it matters, but when compiling, CMake warns Manually-specified variables were not used by the project: USE_WEBKIT_STARTPAGE.

kitchen-ace avatar Jul 28 '20 01:07 kitchen-ace

I don't know what's going on exactly, but now the Item Properties panel is working correctly no matter how I compile SLADE. The text display is probably the same. So I think it's safe to dismiss those problems as random Linux fuckery that has hopefully sorted itself out.

kitchen-ace avatar Jul 28 '20 03:07 kitchen-ace

And some more information on the tab bar:

If I start SLADE with no arguments (i.e. not loading a wad), the tab bar display is broken from the start.

If I start SLADE by loading one or more wads, it behaves normally at first. Opening the Texture Editor will cause it to stop working properly until I close SLADE. So will closing all tabs and then opening a new wad. There might be other triggers as well, but those two seem consistent on any recent version, including flatpak builds.

kitchen-ace avatar Jul 28 '20 03:07 kitchen-ace