Skip to content

Commit dbc4714

Browse files
committed
Solve problem with first open not render html
1 parent 6ef0a41 commit dbc4714

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

bigbashview/usr/lib/bbv/main.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2008 Wilson Pinto Júnior <wilson@openlanhouse.org>
3+
# Copyright (C) 2008 Wilson Pinto Jᅢᄎnior <wilson@openlanhouse.org>
44
# Copyright (C) 2011 Thomaz de Oliveira dos Reis <thor27@gmail.com>
55
# Copyright (C) 2009 Bruno Goncalves Araujo
6-
# Copyright (C) 2022 Elton Fabrício Ferreira <eltonfabricio10@gmail.com>
6+
# Copyright (C) 2022 Elton Fabrᅢᆳcio Ferreira <eltonfabricio10@gmail.com>
77
#
88
# This program is free software: you can redistribute it and/or modify
99
# it under the terms of the GNU General Public License as published by
@@ -270,18 +270,15 @@ def formatter(prog):
270270
print('Please install PySide6')
271271
sys.exit(1)
272272

273-
flags = ('--disable-logging --no-sandbox --single-process --disable-gpu-sandbox --in-process-gpu '
274-
'--autoplay-policy=no-user-gesture-required --disable-back-forward-cache --disable-breakpad '
275-
'--aggressive-cache-discard --disable-features=BackForwardCache,CacheCodeOnIdle,ConsumeCodeCacheOffThread,WebRtcAllowInputVolumeAdjustment')
276273
if args.gpu:
277-
flags += (' --enable-gpu-rasterization')
274+
flags = (' --enable-gpu-rasterization')
278275
else:
279276
os.environ['QT_QUICK_BACKEND'] = 'software'
280277
os.environ['QT_XCB_GL_INTEGRATION'] = 'none'
281278
if os.environ.get('QSG_RENDER_LOOP') == 'basic':
282-
flags += (' --disable-gpu --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0')
279+
flags = (' --disable-gpu --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0')
283280
else:
284-
flags += (' --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0')
281+
flags = (' --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0')
285282

286283
# Verify envitonment variable QTWEBENGINE_CHROMIUM_FLAGS if defined
287284
if not os.environ.get('QTWEBENGINE_CHROMIUM_FLAGS', ''):

0 commit comments

Comments
 (0)