Skip to content
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

Weird white bar above the address bar #1565

Closed
4 tasks done
Guiltynine opened this issue Oct 17, 2024 · 56 comments
Closed
4 tasks done

Weird white bar above the address bar #1565

Guiltynine opened this issue Oct 17, 2024 · 56 comments
Labels
bug Something isn't working

Comments

@Guiltynine
Copy link

Preliminary checklist

  • I have read the README.
  • I have searched the existing issues for my problem. This is a new ticket, NOT a duplicate or related to another open issue.
  • I have updated Cromite to the latest version. The bug is reproducible on this latest version.
  • This is a bug report about the Cromite browser; not the website nor F-Droid nor anything else.

Can the bug be reproduced with corresponding Chromium version?

Yes

Are you sure?

Yes

Cromite version

Cromite 130.0.6723.59

Device architecture

arm64-v8a

Platform version

Android 13

Android Device model

Realme 9 SE

Is the device rooted?

Yes

Changed flags

No flags changed

Is this bug happening ONLY in an incognito tab?

Yes

Is this bug caused by the adblocker?

No

Is this bug a crash?

No

Describe the bug

Weird white bar above the address bar..

Steps to reproduce the bug

Open any web page.

Expected behavior

No white band over address bar..

Screenshots

IMG_20241017_182552

@uazo
Copy link
Owner

uazo commented Oct 17, 2024

open chrome://flags and tell me which flags you have activated.
There should be one that is incorrect.

Unfortunately it happened to me too but I don't remember which flag it was, it was something related to the tabgroup.
I thought I had accidentally activated it a while ago....

@nhathoang24
Copy link

nhathoang24 commented Oct 17, 2024

disable "Show a NewPage at startup (Cromite flag)" should slove problem

@uazo
Copy link
Owner

uazo commented Oct 17, 2024

@nhathoang24 no, it is not that.

@Guiltynine
Copy link
Author

I did reset all the flags but i still have the issue.. when i switch to the previous version, it's not there.. I've enabled core patch ony rooted device, so i can switch back and forth, just FYI..

@uazo
Copy link
Owner

uazo commented Oct 17, 2024

can you check whether you have the same issue with the bar at the bottom?

@Guiltynine
Copy link
Author

can you check whether you have the same issue with the bar at the bottom?

Yes , it's there..
IMG_20241017_190206

@Xisrr1
Copy link

Xisrr1 commented Oct 17, 2024

Looks like Cromite is trying to load the tab bar.

Details

Screen_Recording_20241017_164824_One.UI.Home_1.mp4

@uazo
Copy link
Owner

uazo commented Oct 17, 2024

can you copy me the ‘Command Line’ and ‘Command-line variations’ section of chrome://version?

@Xisrr1
Copy link

Xisrr1 commented Oct 17, 2024

Command Line

Details

--use-mobile-user-agent --top-controls-show-threshold=0.5 --top-controls-hide-threshold=0.5 --use-mobile-user-agent --enable-viewport --validate-input-event-stream --enable-longpress-drag-selection --touch-selection-strategy=direction --disable-composited-antialiasing --enable-dom-distiller --flag-switches-begin --enable-features=AllowExternalIntentRequests,MoveTopToolbarToBottom --disable-features=TabSwitcherListMode --flag-switches-end --site-per-process

Command-line variations

Details

--enable-features="AImageReaderMediaPlayer,AImageReaderVideoOutput,AdaptiveButtonInTopToolbar,AdaptiveButtonInTopToolbarCustomizationV2,AdblockPlus,AllowExternalIntentRequests,AndroidImprovedBookmarks,AppsShortcutDefaultOff,AskForRestartOnConnectionChange,AudioContextShuffleEnabled,AutofillPopupZOrderSecuritySurface,AutofillVirtualViewStructureAndroid,BlockInsecurePrivateNetworkRequests,BlockInsecurePrivateNetworkRequestsFromPrivate,BlockIntentsWhileLocked,BlockMidiByDefault,BlockTabUnders,CCTIncognitoAvailableToThirdParty,CPUMeasurementInFreezingPolicy,CertificateTransparency,CertificateTransparencyAskBeforeEnabling,ClearCrossSiteCrossBrowsingContextGroupWindowName,CloseAllTabsModalDialog,CloseSessionsOnIpChange,CookieDomainRejectNonASCII,CookieSameSiteConsidersRedirectChain,DarkenWebsitesCheckboxInThemesSetting,DisablePrivacySandboxPrompts,DisableSpeechSynthesisVoiceList,DisableTLSResumption,EnableADPFRendererMain,EnableFirewall,FileSystemAccessDragAndDropCheckBlocklist,FontsFingerprintMitigation,FreezingWithoutBatterySaver,IPv6Probing,InlineUpdateFlow,InnerFrameCompositorSurfaceEviction,IntentBlockExternalFormRedirectsNoGesture,IsCleartextPermitted,IsolateSandboxedIframes,JXL,KeepAliveInBrowserMigration,MediaDeviceIdPartitioning,MediaDeviceIdRandomSaltsPerStorageKey,MoveTopToolbarToBottom,NoAESHardwareMessage,OfflineIndicatorV2,PartitionConnectionsByNetworkIsolationKey,PrefetchPrivacyChanges,RemoveAutorizationOnCrossOriginRedirect,ResourceAttributionIncludeOrigins,RestrictGamepadAccess,RestrictRendererPoliciesInBaseline,SameSiteDefaultChecksMethodRigorously,SchemefulSameSite,SharedIntentUI,ShowNtpAtStartupAndroid,ShowRelatedWebsiteSetsPermissionGrants,SimplifiedNTP,SitePerProcess,SkipUndecryptablePasswords,SplitAuthCacheByNetworkIsolationKey,SplitCacheByIncludeCredentials,SplitCacheByNavigationInitiator,SplitCacheByNetworkIsolationKey,SplitCodeCacheByNetworkIsolationKey,StartSurfaceReturnTime,StrictOriginIsolation,SystemKeyboardProtection,ThirdPartyStoragePartitioning,TimeLimitedInsecureCookies,UseRendererProcessPolicy,WebFeedKillSwitch,fill-on-account-select" --disable-features="AcceptCHFrame,AdAuctionReportingWithMacroApi,AdAuctionSignals,AllowUserCertificates,AndroidDownloadableFontsMatching,AsyncDns,AttributionReportingCrossAppWeb,AttributionReportingInBrowserMigration,AutofillServerCommunication,BackForwardCache,BlockUrlLeakageSandboxIframe,BookmarkTriggerForPrerender2,BookmarksExportUseSaf,BrowsingTopics,BrowsingTopicsDocumentAPI,BrowsingTopicsParameters,CCTAutoTranslate,CCTIntentFeatureOverrides,ChromeLabs,ChromeSmartSelection,CommerceHintAndroid,CommercePriceTrackingRegionLaunched,Compose,ComposeEligible,ConversionMeasurement,ConversionMeasurementAPIAlternativeUsage,CookieDeprecationFacilitatedTesting,CrashReporting,CriticalClientHint,EnableAndroidAppRestriction,EnableDiscountInfoApi,EnableDiscountInfoApiRegionLaunched,EnablePasswordsAccountStorageForNonSyncingUsers,EnableSaveDataHeader,EnforcePrivacySandboxAttestations,ExperimentsForAgsa,FedCm,FedCmIdpSigninStatusEnabled,FedCmWithStorageAccessAPI,FencedFrames,FilterInstalledAppsWebAppMatching,Fledge,FledgeBiddingAndAuctionServer,FontSrcLocalMatching,ForceThirdPartyCookieBlockingEnabled,GMSCoreEmoji,IdleDetection,InstalledApp,InstalledAppProvider,InterestFeedV2,InterestGroupStorage,KidFriendlyContentFeed,LiveCaption,LiveCaptionWebAudio,LocalWebApprovals,LocationProviderManager,LogTLSResumption,MagicStackAndroid,MantaService,MediaDrmPreprovisioning,MetricsReporting,MigrateSessionsOnNetworkChangeV2,NavigationPredictor,NetworkContextPrefetch,NetworkErrorLogging,NewTabPageAndroidTriggerForPrerender2,NewTabPageTriggerForPrerender2,NewTabSearchEngineUrlAndroid,OfflineAutoFetch,OfflinePagesAutoSaveEnabled,OfflinePagesInDownloadHomeOpenInCct,OptimizationGuideModelDownloading,OptimizationGuidePushNotifications,OptimizationHints,OptimizationHintsFetching,OptimizationHintsFetchingAnonymousDataConsent,OptimizationHintsFetchingSRP,OptimizationTargetPrediction,OrcaUseProdServer,OriginTrialsSampleAPIThirdPartyAlternativeUsage,PageContentAnnotations,PageContentAnnotationsPersistSalientImageMetadata,PageContentAnnotationsValidation,PageVisibilityBatchAnnotations,ParcelTracking,ParcelTrackingRegionLaunched,PartialLowEndModeOnMidRangeDevices,PartnerCustomizationsUma,PermissionOnDeviceGeolocationPredictions,PermissionOnDeviceNotificationPredictions,PermissionPredictionsV2,PersistentOriginTrials,PostFREFixMetricsReporting,PreconnectToSearch,PreconnectToSearchWithPrivacyModeEnabled,PreloadingHeuristicsMLModel,PrerenderFallbackToPreconnect,PreventLongRunningPredictionModels,PrivacyGuideAndroid3,PrivacyGuidePreloadAndroid,PrivacySandboxAdsAPIsM1Override,PrivacySandboxAdsAPIsOverride,PrivacySandboxAggregationService,PrivacySandboxFirstPartySetsUI,PrivacySandboxSettings4,PrivateAggregationApi,PrivateStateTokens,ReadAloud,ReadAloudPlayback,RemotePageMetadata,Reporting,SCTAuditing,SCTAuditingHashdance,SearchEngineChoiceTrigger,SearchReadyOmnibox,SegmentationPlatform,SegmentationPlatformAdaptiveToolbarV2Feature,SegmentationPlatformFeedSegmentFeature,SharedStorageAPI,SharedStorageAPIM118,SharedStorageAPIM125,ShoppingListRegionLaunched,ShowAlwaysContextMenuOnLinks,SideSearch,SiteEngagement,StorageAccessHeaders,StrictPopupBlocker,SupportSearchSuggestionForPrerender2,TabHoverCardImages,TabSwitcherListMode,TextFragmentAnchor,ThirdPartyPartitionedStorageAllowedByDefault,TpcdHeuristicsGrants,TpcdMetadataGrants,TpcdMetadataStageControl,TrackingProtection3pcd,TranslateRankerEnforcement,TranslateRankerQuery,TrustTokens,Ukm,UseBrowserNavigationHandler,UserBypassUI,VibrationEnabled,ViewportProtection,WebMeasureMemoryViaPerformanceManager,kFileSystemAccessPersistentPermissions,kPermissionPredictionServiceUseUrlOverride,resume-background-video" --disable-field-trial-config

@uazo
Copy link
Owner

uazo commented Oct 17, 2024

thanks.
incredibly I only detect the problem in the released version, in my debug version I do not.

As a temporary workaround, set the ‘Force Tablet Mode’ under ‘Accessibility and UI’ and reboot twice.

@Xisrr1
Copy link

Xisrr1 commented Oct 17, 2024

As a temporary workaround, set the ‘Force Tablet Mode’ under ‘Accessibility and UI’ and reboot twice.

This only works if toolbar is set to top, or else it'll look like this:

Details

Screenshot_20241017_171433.png

@uazo uazo added the bug Something isn't working label Oct 17, 2024
@Ghisy
Copy link

Ghisy commented Oct 17, 2024

I can confirm I have the same graphical bug on the latest version from today.

@tifriis208
Copy link

Hello, I also have this issue with last update

@cocklemon
Copy link

Hello, I also have this issue with last update too

@USBhost
Copy link

USBhost commented Oct 17, 2024

+1 to the problem as I just updated.
Force tablet mode worked for me as a workaround.

@tifriis208
Copy link

+1 to the problem as I just updated. Force tablet mode worked for me as a workaround.

Can you tell us how to do that ? Thanks :)

@USBhost
Copy link

USBhost commented Oct 17, 2024

As a temporary workaround, set the ‘Force Tablet Mode’ under ‘Accessibility and UI’ and reboot twice.

@tifriis208 its in the normal settings of cromite. But no need to restart twice.

@Issam28
Copy link

Issam28 commented Oct 17, 2024

@USBhost Does it work when toolbar is set to be at the bottom?

@theRealTrabo
Copy link

theRealTrabo commented Oct 17, 2024

Want to chime in after having read through this thread. On Cromite 130.0.6723.59 (device Galaxy S23), with Force tablet mode enabled, with tab bar at top or at bottom, after having restarted the app several times, on each new startup this occurs:

Details

Screen_Recording_20241017_140826.mp4
Screen_Recording_20241017_141030_Nova.Launcher.mp4

Note that once the app is open and running the issue does not seem to persist.

@kizwolak
Copy link

kizwolak commented Oct 17, 2024

On Galaxy S24U, Android 14, OneUI 6.1, all the latest patches etc.
I can remove the bar on top by switching between system light and dark mode (the control accessible through the settings menu in the notification bar). The bar comes back after I close the application, but again, switching modes helps resolve the issue. Please note that I am not talking about dark mode in Cromite itself, I mean the global Android setting.

@bober757
Copy link

bober757 commented Oct 17, 2024

I fixed by this: go to settings - accessibility and ui - move toolbar to bottom - on - restart browser - settings again -accessibility and ui - move toolbar to bottom - off - restart
And everything is OK

Oh... after a while invisible tabs panel appears again

@JMPesce
Copy link

JMPesce commented Oct 17, 2024

Is this caused by A15 and full-screen apps?

That has to be it, no?

@ruboard
Copy link

ruboard commented Oct 17, 2024

135446

@GitAlasGo
Copy link

I was able to reproduce this on cromite 130.0.6723.59

Downgrade your cromite to 129.0.6668.101

@Alf3rez
Copy link

Alf3rez commented Oct 17, 2024

I'm also in this with this problem, is loading for some reason a bar with the tabs above the url bar, hope it could be solved for next update

@GitAlasGo

This comment was marked as off-topic.

@kmcbest
Copy link

kmcbest commented Oct 18, 2024

I fixed by this: go to settings - accessibility and ui - move toolbar to bottom - on - restart browser - settings again -accessibility and ui - move toolbar to bottom - off - restart And everything is OK

It works. Thanks.

@KrazyDeinos
Copy link

I fixed by this: go to settings - accessibility and ui - move toolbar to bottom - on - restart browser - settings again -accessibility and ui - move toolbar to bottom - off - restart And everything is OK

Did not work, when using toolbar at the bottom after this suggestion. On top, worked if "force tablet mode" is checked.

reverted to 129.0.6668.101

@uazo
Copy link
Owner

uazo commented Oct 18, 2024

this is the path in production:

at org.chromium.chrome.browser.preferences.ChromeSharedPreferences.<clinit>(ChromeSharedPreferences.java:32)
at J.N._V_JO(N.java)
at org.jni_zero.GEN_JNI.org_chromium_chrome_browser_metrics_UmaSessionStats_umaResumeSession(GEN_JNI.java:2468)
at org.chromium.chrome.browser.metrics.UmaSessionStatsJni.umaResumeSession(UmaSessionStatsJni.java:103)
at org.chromium.chrome.browser.metrics.UmaSessionStats.startNewSession(UmaSessionStats.java:153)
at org.chromium.chrome.browser.metrics.UmaActivityObserver.startUmaSession(UmaActivityObserver.java:55)
at org.chromium.chrome.browser.app.ChromeActivity.startUmaSession(ChromeActivity.java:2730)
at org.chromium.chrome.browser.ChromeTabbedActivity.startNativeInitialization(ChromeTabbedActivity.java:1128)
at org.chromium.chrome.browser.init.ChromeBrowserInitializer.lambda$handlePostNativeStartup$4(ChromeBrowserInitializer.java:200)
at org.chromium.base.task.ChainedTasks$1.run(ChainedTasks.java:50)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:335)
at android.os.Looper.loopOnce(Looper.java:162)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8177)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)

this in debug:

at org.chromium.chrome.browser.preferences.ChromeSharedPreferences.<clinit>(ChromeSharedPreferences.java:32)
at org.chromium.chrome.browser.night_mode.GlobalNightModeStateProviderHolder.getInstance(GlobalNightModeStateProviderHolder.java:65)
at org.chromium.chrome.browser.ChromeBaseAppCompatActivity.createNightModeStateProvider(ChromeBaseAppCompatActivity.java:311)
at org.chromium.chrome.browser.ChromeBaseAppCompatActivity.attachBaseContext(ChromeBaseAppCompatActivity.java:152)
at android.app.Activity.attach(Activity.java:8486)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3733)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8177)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)

@dirolov
Copy link

dirolov commented Oct 18, 2024

Force tablet mode is worked on POCO M4 5G, 12 Android

@KrazyDeinos
Copy link

reverted to 129.0.6668.101
Curious how your phone allows downgrading? Mine refuses unless clean install, but I'll lose all my settings and bookmarks since Cromite doesn't ship with sync feature.

Swift backup of data, since I use Magisk, Swift Backup can backup and restore data.
Still need to sign in to places like github again etc.

@bober757 bober757 mentioned this issue Oct 18, 2024
4 tasks
@lowendgamer
Copy link

This bug is just nasty. Cromite became unusable. Now I'm using official Chrome lol. Hopefully, there will be a fix within a week or two.

@markg85
Copy link

markg85 commented Oct 18, 2024

This bug is just nasty. Cromite became unusable. Now I'm using official Chrome lol. Hopefully, there will be a fix within a week or two.

Force tablet mode and you'll (probably) be fine.
If that's not working good enough then place the addressbar on the bottom (both settings are under "Accessibility and UI").

@fossfreak
Copy link

reverted to 129.0.6668.101

Curious how your phone allows downgrading? Mine refuses unless clean install, but I'll lose all my settings and bookmarks since Cromite doesn't ship with sync feature.

You could downgrade via ADB install (no data loss). command: adb install -d arm64_ChromePublic.apk

@HarriBuh
Copy link

None of these workarounds worked for me, the doubled taskbar will always stay.

@Issam28
Copy link

Issam28 commented Oct 18, 2024

@fossfreak I tried that, it doesn't work

@Monessem
Copy link

Monessem commented Oct 18, 2024

Details

Screenshot_2024-10-19-00-14-37-51_5dca195d7d09adf043e42a8f3ad62b19.jpg

I have the same bug android 10 after update to v. 130

@BabyOilJohnson
Copy link

BabyOilJohnson commented Oct 18, 2024

Here on Samsung A30
Android 11
Cromite 130.0.6723.59

Details

SmartSelect_20241019-025728

@ArakiSatoshi
Copy link

It's better to roll back the entire release to prevent more people from being affected by the issue. I just upgraded a few hours ago when the issue was already known to the maintainers.

@kmcbest
Copy link

kmcbest commented Oct 19, 2024

reverted to 129.0.6668.101

Curious how your phone allows downgrading? Mine refuses unless clean install, but I'll lose all my settings and bookmarks since Cromite doesn't ship with sync feature.

You could downgrade via ADB install (no data loss). command: adb install -d arm64_ChromePublic.apk

It didn't work. Neither -d nor -r -d nor -r -t -d together worked. Always throws this error:

Performing Streamed Install
adb: failed to install arm64_ChromePublic.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 666810104 is older than current 672305904]

They're people saying you can use adb shell cmd package uninstall -k to uninstall with data intact. But I'm too scary to lose all the data so I'll just wait for the update.

@uazo
Copy link
Owner

uazo commented Oct 19, 2024

there will be a fix within a week or two.

I have already found the bug and solved it.
I will start the new build soon

I also found another anomaly related to storage partitioning, and again, in debug it works while in production it sometimes does and sometimes does not. #1565 (comment)

but there is this that worries me, because I do not understand the reason. updates in #1554

@Noxis73
Copy link

Noxis73 commented Oct 19, 2024

I have already found the bug and solved it. I will start the new build soon

you are the best @uazo ! thank you very much for inspecting and solving that issue that quick. 🤝

@bat999
Copy link

bat999 commented Oct 20, 2024

Hi
In Settings --> "Toolbar shortcut" there are options.
"New Tab" option doesn't work for me since update to v130.0.6723.59.

Is it part of this "Weird white bar..." bug?

"Share this page" option does work though.
But that's not the one I use. 😠

My device is Xiaomi Redmi Go

uazo added a commit that referenced this issue Oct 20, 2024
@minyaen
Copy link

minyaen commented Oct 20, 2024

Work around:

Turn system wide dark to light. Open cromite. Switch back to system wide dark mode (or light mode if you switched from light to dark). It'll work until you restart cromite.

@prirai
Copy link

prirai commented Oct 21, 2024

Looks like Cromite is trying to load the tab bar.

Details

Yes, same observation

@GitAlasGo
Copy link

GitAlasGo commented Oct 21, 2024

Looks like uazo did a commit to fix it, but i can only build cromite from source, where's the 3512484 cromite apk?

@Guiltynine
Copy link
Author

It's fixed after the new update 130.0.6723.67.
Thanks @uazo

@uazo uazo closed this as completed Oct 22, 2024
@GreenMystic
Copy link

unfortunately issues isn't fixed for default ui bar position
Screenshot_20241024-093153

i am on latest release

@joshcangit
Copy link

joshcangit commented Oct 25, 2024

I don't know if that flag has to work.

But, the Accessibility and UI settings has a Move toolbar to bottom option which supposedly works.

@GreenMystic
Copy link

I don't know if that flag has to work.

But, the Accessibility and UI settings has a Move toolbar to bottom option which supposedly works.

yea on that ss i changed to bottom but didn't restart
after restart and ui moved to bottom everything works fine

bug seems happen only on default now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests