Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763867 - www-client/chromium-87.0.4280.88: No window decoration in app mode
Summary: www-client/chromium-87.0.4280.88: No window decoration in app mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: https://crbug.com/1207965
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-05 12:56 UTC by madmaurice
Modified: 2022-02-19 12:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Screenshot of borderless window and terminal output (chromium.png,851.39 KB, image/png)
2021-01-05 12:57 UTC, madmaurice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description madmaurice 2021-01-05 12:56:20 UTC
After updating to chromium 87.0.4280.88 starting chromium in app mode or enabling "Use system title bar and borders" results in a borderless window

Reproducible: Always

Steps to Reproduce:
1. Install chromium-87.0.4280.88
2. Run chromium --app=https://example.org
3.
Actual Results:  
borderless window

Expected Results:  
window with borders

emerge --info (minus personal information):

Portage 3.0.12 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.3.0, glibc-2.32-r3, 5.4.80-gentoo-r1-x86_64 x86_64)
=================================================================
System uname: Linux-5.4.80-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-_i5-8265U_CPU_@_1.60GHz-with-gentoo-2.7
KiB Mem:     7645088 total,   4159792 free
KiB Swap:    4194300 total,   4153084 free
Timestamp of repository gentoo: Mon, 04 Jan 2021 20:05:13 +0000
Head commit of repository gentoo: 4d34d61973b507aa45e5e365c65bcd9b5ce0c765

Head commit of repository tlp: c4409992959bd3b98947a68462b91f50e9b1006d

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.7.9-r1::gentoo, 3.8.6-r1::gentoo, 3.9.0-r1::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            4.9.4-r1::gentoo, 6.5.0-r3::gentoo, 8.3.0-r3::gentoo, 9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: yes

<REDACTED>
    location: /home/<REDACTED>/.kk-overlay
    masters: gentoo

cpan_overlay
    location: /usr/local/portage/cpan_overlay
    masters: gentoo

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

madoverlay
    location: /home/<REDACTED>/.overlay
    masters: gentoo

tlp
    location: /var/db/repos/tlp
    sync-type: git
    sync-uri: https://github.com/dywisor/tlp-portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--ask --quiet-build --ask-enter-invalid"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ 	http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ 	rsync://mirror.eu.oneandone.net/gentoo/ 	ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth bzip2 cairo cli colord crypt cryptsetup cups dbus dri dts eds emacs emboss encode evo exif flac fortran gdbm gif git gnome gnome-keyring gpm gstreamer gtk gtk2 gtk3 gui iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio readline sdl seccomp split-usr ssl startup-notification svg sysprof systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wayland wifi wxwidgets x264 xattr xcb xml xv xvid zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" QEMU_SOFTMMU_TARGETS="arm aarch64 i386 x86_64 mips mips64 mipsel mips64el ppc riscv32 riscv64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 madmaurice 2021-01-05 12:57:26 UTC
Created attachment 681286 [details]
Screenshot of borderless window and terminal output
Comment 2 Stephan Hartmann (RETIRED) gentoo-dev 2021-01-05 13:40:02 UTC
We need some more information about your environment:
  - X11 or Wayland
  - USE flags for www-client/chromium
  - Last version worked?
Comment 3 madmaurice 2021-01-05 17:25:15 UTC
1. Wayland
2. 
www-client/chromium-87.0.4280.88::gentoo was built with the following:
USE="cups js-type-check (pic) pulseaudio system-ffmpeg system-icu tcmalloc wayland (-component-build) -custom-cflags -hangouts (-headless) -kerberos -official -proprietary-codecs (-selinux) -suid -vaapi -widevine" ABI_X86="(64)" L10N="-am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW"

3. www-client/chromium-86.0.4240.111-r1
Comment 4 Stephan Hartmann (RETIRED) gentoo-dev 2021-01-05 19:15:15 UTC
(In reply to madmaurice from comment #3)
> 1. Wayland
> 2. 
> www-client/chromium-87.0.4280.88::gentoo was built with the following:
> USE="cups js-type-check (pic) pulseaudio system-ffmpeg system-icu tcmalloc
> wayland (-component-build) -custom-cflags -hangouts (-headless) -kerberos
> -official -proprietary-codecs (-selinux) -suid -vaapi -widevine"
> ABI_X86="(64)" L10N="-am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419
> -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr
> -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr
> -uk -vi -zh-CN -zh-TW"
> 
> 3. www-client/chromium-86.0.4240.111-r1

Thanks and confirmed with current dev channel.
Comment 5 Stephan Hartmann (RETIRED) gentoo-dev 2021-07-05 08:38:28 UTC
Can you try patch from comment 23 in ${URL}?
Comment 6 madmaurice 2021-07-24 16:24:36 UTC
Hi, sorry for the hold up I did not find time to do a 10 hr build until now. The patch applies cleanly to the most recent chromium version available in the repository but leads to a build error:

../../chrome/browser/ui/browser_command_controller.cc:1024:34: error: ‘class ui::OzonePlatform’ has no member named ‘GetPlatformRuntimeProperties’; did you mean ‘GetPlatformProperties’?

I will test if it builds and runs with the first chunk removed.
Comment 7 madmaurice 2021-07-25 14:07:55 UTC
Nope doesn't build either without the first hunk.
Comment 8 Stephan Hartmann (RETIRED) gentoo-dev 2022-01-28 19:15:58 UTC
Is it still a problem?
Comment 9 madmaurice 2022-02-19 12:30:35 UTC
Nope. It was fixed. Thanks.