`NoChrome` not work in Ubuntu
See original GitHub issue<Window
x:Class="ColorMC.UI.MainWindow"
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:views="clr-namespace:ColorMC.UI.Views"
Width="800"
Height="450"
MinWidth="800"
MinHeight="450"
d:DesignHeight="450"
d:DesignWidth="800"
ExtendClientAreaChromeHints="NoChrome"
ExtendClientAreaTitleBarHeightHint="-1"
ExtendClientAreaToDecorationsHint="True"
mc:Ignorable="d">
<Grid>
<views:HeadControl
Title="ColorMC 主界面"
HorizontalAlignment="Stretch"
VerticalAlignment="Top" />
<Grid Margin="0,30,0,0">
<Rectangle
Fill="#FFF4F4F5"
Stroke="#FF5ABED6"
StrokeThickness="3" />
<views:InfoControl Name="Info" IsVisible="False" />
</Grid>
</Grid>
</Window>
windows: ubuntu:
Issue Analytics
- State:
- Created a year ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Google chrome is not loading properly on ubunty 22.04
I'm running Chrome version 113.0.5672.126 on Kubuntu 22.04. Here's a fix I found elsewhere. Navigate to .config/google-chrome ...
Read more >Google chrome not opening in Ubuntu 22.04 LTS
I have a fresh install of Ubuntu 22.04 on a Ryzen 5 CPU machine, I install Chrome from https://www.google.co.uk/chrome/ choosing the 64bit .deb ......
Read more >Google Chrome not working after upgrading to 22.04
Re: Google Chrome not working after upgrading to 22.04. You could try removing the profile folder in home/hidden folders/ .config/google-chrome.
Read more >Ubuntu 22.10 - Google-Chrome-Stable not loading any ...
Since last week, Google chrome stopped working on my Ubuntu 22.10 Laptop. When starting Chrome, I get a white page loading and 30...
Read more >Fixing Google Chrome not opening in Ubuntu 20.04 LTS
To fix Google Chrome not opening in Ubuntu 20.04 LTS, you can try resetting the Chrome configuration by removing the ~/.config/google-chrome ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are planning to create some kind of an API for handling CSD, but only for environments where it makes sense (like mentioned GNOME). Sway and KDE users won’t be happy with a custom-drawn border.
I have removed the Ubuntu title bar successfully using
XInternAtom
andXChangeProperty
. Then I found a simpler way: just setWindow.SystemDecorations
toBorderOnly
then the title bar disappears and it is compatible with Windows. However, the window losts many features in Ubuntu like window shadow, drag move, resize, double click to maximize and so on. We have to implement them ourselves.