New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

Projects
None yet
@shevek

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

This comment has been minimized.

Show comment
Hide comment
@novalu

novalu 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

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

This comment has been minimized.

Show comment
Hide comment
@tadas-s

tadas-s 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

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

This comment has been minimized.

Show comment
Hide comment
@jbrocher

jbrocher Jun 14, 2017

Same here :

ScudCloud 1.60
Python 3.5.2
Qt 5.5.1
PyQt 5.5.1
SIP 4.17

image

jbrocher commented Jun 14, 2017

Same here :

ScudCloud 1.60
Python 3.5.2
Qt 5.5.1
PyQt 5.5.1
SIP 4.17

image

@raelgc

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 14, 2017

Owner

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?

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

This comment has been minimized.

Show comment
Hide comment
@phlegx

phlegx Jun 14, 2017

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

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

This comment has been minimized.

Show comment
Hide comment
@jbrocher

jbrocher Jun 14, 2017

Still broken here too ! =/

jbrocher commented Jun 14, 2017

Still broken here too ! =/

@smunaut

This comment has been minimized.

Show comment
Hide comment
@smunaut

smunaut Jun 14, 2017

Still broken here too.

smunaut commented Jun 14, 2017

Still broken here too.

@hungry

This comment has been minimized.

Show comment
Hide comment
@hungry

hungry Jun 14, 2017

Still broken here as well.

hungry commented Jun 14, 2017

Still broken here as well.

@pfogel

This comment has been minimized.

Show comment
Hide comment
@pfogel

pfogel 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)

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

This comment has been minimized.

Show comment
Hide comment
@guibueno

guibueno Jun 14, 2017

Broken here too.

ScudCloud 1.54
Python 3.5.2
Qt 5.5.1
PyQt 5.5.1
SIP 4.17

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

This comment has been minimized.

Show comment
Hide comment
@skelband

skelband Jun 14, 2017

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

skelband commented Jun 14, 2017

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

@raelgc

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 14, 2017

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@raelgc
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

This comment has been minimized.

Show comment
Hide comment
@guibueno

guibueno Jun 15, 2017

It worked for me, @raelgc

guibueno commented Jun 15, 2017

It worked for me, @raelgc

@cajogos

This comment has been minimized.

Show comment
Hide comment
@cajogos

cajogos Jun 15, 2017

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

cajogos commented Jun 15, 2017

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

@raelgc

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 15, 2017

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 15, 2017

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 15, 2017

Owner

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

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

This comment has been minimized.

Show comment
Hide comment
@n8willis

n8willis 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 :)

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

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 15, 2017

Owner

@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.

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

This comment has been minimized.

Show comment
Hide comment
@vinsgithub

vinsgithub Jun 15, 2017

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

vinsgithub commented Jun 15, 2017

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

@n8willis

This comment has been minimized.

Show comment
Hide comment
@n8willis

n8willis Jun 16, 2017

@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?

n8willis commented Jun 16, 2017

@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

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 16, 2017

Owner

@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.

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

This comment has been minimized.

Show comment
Hide comment
@n8willis

n8willis Jun 16, 2017

@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!

n8willis commented Jun 16, 2017

@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

This comment has been minimized.

Show comment
Hide comment
@tigerand

tigerand Jun 16, 2017

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

tigerand commented Jun 16, 2017

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

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 17, 2017

Owner

@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.

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

This comment has been minimized.

Show comment
Hide comment
@smunaut

smunaut 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 ).

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

This comment has been minimized.

Show comment
Hide comment
@skelband

skelband Jun 19, 2017

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

skelband commented Jun 19, 2017

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

@TragicWarrior

This comment has been minimized.

Show comment
Hide comment
@TragicWarrior

TragicWarrior Jun 20, 2017

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

TragicWarrior commented Jun 20, 2017

@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

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 20, 2017

Owner

@TragicWarrior You can use it on 16.04.2 too.

Owner

raelgc commented Jun 20, 2017

@TragicWarrior You can use it on 16.04.2 too.

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

@hajderr

This comment has been minimized.

Show comment
Hide comment
@hajderr

hajderr Jun 24, 2017

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

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

This comment has been minimized.

Show comment
Hide comment
@Richard-ES

Richard-ES Jun 28, 2017

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.

Richard-ES commented Jun 28, 2017

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

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 28, 2017

Owner

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

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

This comment has been minimized.

Show comment
Hide comment
@guillaumeparis2000

guillaumeparis2000 Jun 28, 2017

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

guillaumeparis2000 commented Jun 28, 2017

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

@raelgc

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Jun 28, 2017

Owner

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

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

This comment has been minimized.

Show comment
Hide comment
@DanMossa

DanMossa Jul 7, 2017

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

DanMossa commented Jul 7, 2017

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

@raelgc

This comment has been minimized.

Show comment
Hide comment
@raelgc

raelgc Sep 6, 2017

Owner

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
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 Sep 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment