Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

Slack CSS is no more working on webkit 5.5.1 (default on Ubuntu 16.04) #584

Closed
shevek opened this issue Jun 14, 2017 · 37 comments
Closed

Slack CSS is no more working on webkit 5.5.1 (default on Ubuntu 16.04) #584

shevek opened this issue Jun 14, 2017 · 37 comments

Comments

@shevek
Copy link

shevek commented Jun 14, 2017

ScudCloud Version

Paste the output for scudcloud --version below:

ScudCloud 1.60
Python 3.5.2
Qt 5.5.1
PyQt 5.5.1
SIP 4.17

Distro and Desktop info

  • Distribution: Ubuntu
  • Version/Release: something recent
  • Desktop environment: xfce

Expected behavior

It works

Actual behavior

Rendering is completely AFU'd, ti's all white, the input box is at the top, the main screen is half off the bottom, ...

Affects all teams, all channels.

Steps to reproduce

  1. Open scudcloud
@novalu
Copy link

novalu commented Jun 14, 2017

Same here with these: scudcloud --version

ScudCloud 1.60
Python 3.5.2
Qt 5.6.1
PyQt 5.5.1
SIP 4.17

Distro and desktop info

  • Distribution: Kubuntu
  • Version/Release: 16.04
  • Desktop environment: KDE

Fragment of screen

@tadas-s
Copy link

tadas-s commented Jun 14, 2017

Same here:

selection_033

$ scudcloud --version
ScudCloud 1.60
Python 3.5.2
Qt 5.5.1
PyQt 5.5.1
SIP 4.17

@jbrocher
Copy link

Same here :

ScudCloud 1.60
Python 3.5.2
Qt 5.5.1
PyQt 5.5.1
SIP 4.17

image

@raelgc
Copy link
Owner

raelgc commented Jun 14, 2017

Thank all for reporting this issue.

I remember a similar issue in the past. Usually this breaks other clients too, so they revert the change in some hours.

I restarted Scudcloud here, and I'm not seeing this issue.

Still an issue for you?

@phlegx
Copy link

phlegx commented Jun 14, 2017

@raelgc I just started scudcloud again and yes it is still an issue (or maybe an issue again) for me.

@jbrocher
Copy link

Still broken here too ! =/

@smunaut
Copy link

smunaut commented Jun 14, 2017

Still broken here too.

@hungry
Copy link

hungry commented Jun 14, 2017

Still broken here as well.

@pfogel
Copy link

pfogel commented Jun 14, 2017

Same for me as well - broken after restarting. Not sure if this is relevant but I applied some updates this morning before opening Scudcloud. Yesterday everything was fine. The updates were:

Upgrade: libqt5test5:amd64 (5.5.1+dfsg-16ubuntu7.2, 5.5.1+dfsg-16ubuntu7.5), libqt5dbus5:amd64 (5.5.1+dfsg-16ubuntu7.2, 5.5.1+dfsg-16ubu
ntu7.5), libqt5sql5-sqlite:amd64 (5.5.1+dfsg-16ubuntu7.2, 5.5.1+dfsg-16ubuntu7.5), libqt5widgets5:amd64 (5.5.1+dfsg-16ubuntu7.2, 5.5.1+d
fsg-16ubuntu7.5), libqt5xml5:amd64 (5.5.1+dfsg-16ubuntu7.2, 5.5.1+dfsg-16ubuntu7.5), libqt5printsupport5:amd64 (5.5.1+dfsg-16ubuntu7.2, 
5.5.1+dfsg-16ubuntu7.5), libqt5gui5:amd64 (5.5.1+dfsg-16ubuntu7.2, 5.5.1+dfsg-16ubuntu7.5), libqt5core5a:amd64 (5.5.1+dfsg-16ubuntu7.2, 
5.5.1+dfsg-16ubuntu7.5), libqt5opengl5:amd64 (5.5.1+dfsg-16ubuntu7.2, 5.5.1+dfsg-16ubuntu7.5), libqt5network5:amd64 (5.5.1+dfsg-16ubuntu
7.2, 5.5.1+dfsg-16ubuntu7.5), libqt5sql5:amd64 (5.5.1+dfsg-16ubuntu7.2, 5.5.1+dfsg-16ubuntu7.5)

@guibueno
Copy link

guibueno commented Jun 14, 2017

Broken here too.

ScudCloud 1.54
Python 3.5.2
Qt 5.5.1
PyQt 5.5.1
SIP 4.17

@skelband
Copy link

Same here with 1.60 on Linux Mint.
All White, with the formatting all over the place.

@raelgc
Copy link
Owner

raelgc commented Jun 14, 2017

Hm, I think I've found the reason why it's not broken in my system: I've installed (to test) KDE Neon some days ago. So my Qt and PyQt was upgraded to 5.7.

@raelgc
Copy link
Owner

raelgc commented Jun 14, 2017

There is a package to update only the qt-webkit in Ubuntu 16.04: http://repo.paretje.be/pool/universe/q/qtwebkit-ng/libqt5webkit5_0.0.0+tp5-1~ubuntu16.04.1_amd64.deb

@guibueno
Copy link

It worked for me, @raelgc

@cajogos
Copy link

cajogos commented Jun 15, 2017

Yep, installing that package fixed it for me on Ubuntu 16.04 @raelgc

@raelgc
Copy link
Owner

raelgc commented Jun 15, 2017

I'll try get the source package and try to build it on Launchpad, in order to get everyone using the PPA receive it as automatic upgrade.

@raelgc
Copy link
Owner

raelgc commented Jun 15, 2017

Hm, this package has some deep Qt dependencies. Works fine with Ubuntu and Unity (and probably all other GTK desktop environments). But I'm wondering if, forcing the upgrade using the PPA can break Qt environments dependencies using other versions.

@raelgc
Copy link
Owner

raelgc commented Jun 15, 2017

Hm, finally I got able to build it for xenial-backports. Are you guys all in 16.04.2?

@n8willis
Copy link

n8willis commented Jun 15, 2017

Has anyone tried dropping in the qtwebkit update on Ubuntu 16.10? Because this certainly is affecting my 16.10 system; I'm not super excited about the idea of plugging in a standalone .deb for a single package (too many bad memories of RPM hell), but if there's no other way and Slack isn't reverting the change ....

@raelgc — as implied, I at least am on 16.10 :)

@raelgc
Copy link
Owner

raelgc commented Jun 15, 2017

@n8willis What is great about the solution proposed package is it's only an update for qtwebkit.

You can find zesty version here: http://repo.paretje.be/pool/universe/q/qtwebkit-ng/libqt5webkit5_5.212.0-alpha-1~ubuntu17.04.1_amd64.deb

But I was not able to find a yakkety version.

Anyway, sometimes I wonder if we should change to an Electron base. Sure, more memory usage, but at least, an updated and more stable web container.

@vinsgithub
Copy link

thanks very much @raelgc . updating qt-webkit on my Ubuntu 16.04 fixed the problem.

@n8willis
Copy link

@raelgc I'm clear on what the proposed solution is; what I don't like is dropping in a single DEB acquired from outside the repository, because that has a tendency to interfere with smooth repo-based updates of dependent packages & libraries further down the line.

Are you saying there's no hope of it building for yakkety?

@raelgc
Copy link
Owner

raelgc commented Jun 16, 2017

@n8willis yeap, I suffered from bad packages in the past too.

There is no built package for yakkety, but I think I can install yakkety in a VM and build it using the sources.

@n8willis
Copy link

@raelgc Cool; happy to test it if it builds. A yakkety DEB is far preferable to a Xenial or Zesty one, that's for sure!

@tigerand
Copy link

this is really not a great solution. the package for a particular release should be built against, and depend upon, libraries available for/from that release. how could i have installed scudcloud package for xenial release when it should depend on libraries i don't have and aren't available? the install should have failed with unmet dependencies. having to download (and trust!) some arbitrary package off the web, then install it with dpkg -i, well, that's no way to go through life, son! -from Animal House

@raelgc
Copy link
Owner

raelgc commented Jun 17, 2017

@tigerand To explain: Slack updated their internal CSS and webkit (the HTML engine Scudcloud uses) include in Xenial cannot handle this new CSS properly.

I'm pointing, for now, for a package that has builds for xenial and zeist. This package will update the webkit in your system.

I'm balancing the pros and cons about put it in the PPA. I'm afraid that, while I can fix Scudcloud for some users, I can break other systems relying in the same technology.

I'm totally open for other ideas.

@smunaut
Copy link

smunaut commented Jun 17, 2017

Upgrading to Qt 5.7.1 fixed it for me as well on Gentoo ( from Qt 5.6.x were it was broken ).

@skelband
Copy link

I can report that installing the DEB package does the trick for me on Linux Mint 18 (Sarah).
Many thanks.

@TragicWarrior
Copy link

@raelgc , Is there a suitable qtwebkit package for 16.04.2? I see the one posted for 16.04.1 and 17.04.1.

@raelgc
Copy link
Owner

raelgc commented Jun 20, 2017

@TragicWarrior You can use it on 16.04.2 too.

@raelgc raelgc changed the title Oh wow they really f**ked it up now (CSS?) Slack CSS is no more working on webkit 5.5.1 (default on Ubuntu 16.04) Jun 23, 2017
@hajderr
Copy link

hajderr commented Jun 24, 2017

Same problem here on Debian Jessie. Not sure if it'd be wise for me to upgrade the Qt lib though.

@Richard-ES
Copy link

Solved the issue on Linux Mint 18.1 Serena (Ubuntu 16.1) by installing the 16.04 DEB package (!): http://repo.paretje.be/pool/universe/q/qtwebkit-ng/libqt5webkit5_0.0.0+tp5-1~ubuntu16.04.1_amd64.deb Got a slightly odd message that implied I'd already installed it, but it worked! Thanks to everyone who's been commenting on this as the "white screen" issue has been bugging me for a couple of weeks now.

@raelgc
Copy link
Owner

raelgc commented Jun 28, 2017

@Richard-ES Thanks for sharing that the package worked on Debian too. Maybe it'd be a good idea build it to the PPA.

@guillaumeparis2000
Copy link

@raelgc the package given by @Richard-ES doesn't work on Debian, it need more dependencies that doesn't exist in Debian.

@raelgc
Copy link
Owner

raelgc commented Jun 28, 2017

Dependencies are an issue for the long chain in qt-webkit. Wondering if we should try build a flatpak/snappy version of it.

@DanMossa
Copy link

DanMossa commented Jul 7, 2017

The package given by @raelgc worked for me on ubuntu 16.04

@raelgc
Copy link
Owner

raelgc commented Sep 6, 2017

Ok, finally I got able to create a source package for the updated webkit and upload it to the PPA. For those who didn't install the deb file, this will fix:

sudo apt update && sudo apt dist-upgrade

@raelgc raelgc closed this as completed Sep 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests