ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
guru_ has joined #wayland
dd99 has quit [Remote host closed the connection]
Guru_DE has quit [Ping timeout: 480 seconds]
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
<tniin>
getting a black screen on Plasma 6 after making a big package update on Arch Linux, using the nvidia proprietary driver, is this a known issue? it worked fine before the update
<danieldg>
a kde channel is likely to be more helpful for that problem (or maybe arch)
Brainium has quit [Quit: Konversation terminated!]
tniin has quit [Quit: Page closed]
privacy has quit [Remote host closed the connection]
Z[m] has quit []
lbia has quit [Ping timeout: 480 seconds]
kts has joined #wayland
rv1sr has joined #wayland
iomari891 has joined #wayland
gg has quit [Ping timeout: 480 seconds]
lbia has joined #wayland
Guest6895 has quit [Remote host closed the connection]
cool110 has joined #wayland
mart has joined #wayland
cool110 is now known as Guest6921
kts has quit [Ping timeout: 480 seconds]
mart has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
TzilTzal has joined #wayland
<TzilTzal>
Hi, how do I create a top level window that is styled by the current desktop? I've managed to create a xdg top level surface but there's no decorations at all
TzilTzal has quit [Remote host closed the connection]
coldfeet has quit [Remote host closed the connection]
Company has joined #wayland
Guest6572 has quit []
TzilTzal has joined #wayland
<TzilTzal>
Hi, how to create a top level window decorated according to the current desktop? I've managed to create a xdg top level surface but there's no decorations
<danieldg>
TzilTzal: xdg decoration protocol
<danieldg>
if it's not there, then you're running under gnome, which does not believe in server decorations
iomari892 has joined #wayland
iomari892 has quit [Read error: Connection reset by peer]
gg has joined #wayland
<TzilTzal>
I am indeed in gnome. but when I once tried using x11 and it created a proper window with decorations
<TzilTzal>
as a matter of fact when I created the xdg top level surface and buffer it didn't seem like anything changed on the screen. only when I drew into the buffer did I see any changes
iomari891 has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
rajveermalviya[m] has quit []
iomari892 has joined #wayland
<danieldg>
TzilTzal: yes, you have to commit a buffer with contents to have anything on the screen
<danieldg>
otherwise the size isn't really set
iomari891 has quit [Read error: Connection reset by peer]
<TzilTzal>
I believe it was committed. as said when I painted to it, it showed up on the screen.
<TzilTzal>
I guess I'm more interested about the decorations part. are you essentially saying that clients can't create top level windows styled by gnome?
<danieldg>
correct
<danieldg>
gnome expects you (or rather GTK) to draw it
<TzilTzal>
but isn't that a desktop style thing that can be themed? any idea how Qt handles that?
<danieldg>
Qt supports the xdg decoration protocol
<danieldg>
GTK does the theming via the GTK interfaces (either dconf or some other dbus thing)
<SardemFF7>
CSD (Client Side Decoration) is a core Wayland prerequisite, Qt/KDE and a bunch of other DEs/WMs introduced an extension (↑ xdg decoration protocol) to add server-side decoration support
<TzilTzal>
what do you mean qt supports the protocol? I'm referring to the client side... I'm creating a window which is what qt does.
<danieldg>
when running as a client, qt will draw decorations
<danieldg>
kwin (that's still the name of KDE's compositor, right?) supports xdg-decoration and in that case qt will use that.
<llyyr>
you can use libdecor for gnome I think, but it's broken and won't follow the system theme
<TzilTzal>
when does qt not run as a client? it's used for client side apps no?
<danieldg>
TzilTzal: kwin
<TzilTzal>
ok that's a kde thing indeed implemented with qt
TzilTzal has quit [Remote host closed the connection]
TzilTzal has joined #wayland
zhxt[m] has quit []
Max1 has quit [Quit: Client limit exceeded: 20000]
iomari892 has quit [Ping timeout: 480 seconds]
YaLTeR[m] has quit [Quit: Client limit exceeded: 20000]
c_89[m] has quit []
Sumera[m] has quit []
harsh has joined #wayland
harsh is now known as codelif
TzilTzal has quit [Remote host closed the connection]
privacy has joined #wayland
Guest6921 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest6927
iomari891 has joined #wayland
rv1sr has quit []
gg2 has joined #wayland
gg has quit [Ping timeout: 480 seconds]
krathul[m] has quit [Quit: Client limit exceeded: 20000]
Nico has quit []
sima has quit [Ping timeout: 480 seconds]
iomari891 has quit [Ping timeout: 480 seconds]
sgdr has joined #wayland
iomari891 has joined #wayland
fmuellner has joined #wayland
iomari891 has quit [Read error: Connection reset by peer]
iomari891 has joined #wayland
joantolo[m] has quit []
iomari891 has quit [Ping timeout: 480 seconds]
aktaboot has joined #wayland
codelif has quit [Quit: codelif]
Russ[m] has quit [Quit: Client limit exceeded: 20000]
glennk has quit [Ping timeout: 480 seconds]
Guest6927 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest6930
cool110_ has joined #wayland
cool110_ is now known as Guest6931
Guest6930 has quit [Ping timeout: 480 seconds]
Guest6931 has quit [Remote host closed the connection]
cool110- has joined #wayland
<mclasen>
Company: help me understand some css specs
Brainium has quit [Quit: Konversation terminated!]
<mclasen>
Company: color spec tells me "currentcolor computes to itself" and "inside the color property, the used value of current color is its inherited value"
<mclasen>
the cascade spec tells me that "the inherited value of a property is the computed value of the parent"
<mclasen>
so if I set up two styles that have color: currentcolor; and inherit from each other
<mclasen>
and interpret these spec fragments, I end up with a used value of "currentcolor" for the child style
<mclasen>
which doesn't exactly tell me how to draw
<mclasen>
browsers seem to gloss over that and inherit the used value from the parent insetad
<mclasen>
yes, sure, you need to go through parents
<mclasen>
but the specs are just inconsistent
<emilio[m]>
mclasen: How so? The "two styles inheriting from each other" is not something that can happen, and the initial value of the color property is not "currentColor"
<mclasen>
where does the inherited value come from, if not from some other style ?
<emilio[m]>
Ah sorry I understood you were forming some sort of weird inheritance cycle. But my point is all inheritance chains should start at the initial style, which has an absolute color, so there's no cycle
<mclasen>
but it doesn't matter where they start. It only matters where the 'inherited value' comes from
<mclasen>
the spec says it is "the computed value of the property on the parent"
<mclasen>
so you're telling me if browsers see that the value on the parent is currentcolor, they just inherit from the grandparent
<mclasen>
that trick maybe works in css2
<mclasen>
but what do you do if the inherited value is color-mix(in srgb, currentcolor, black) ?
tristianc6704 has quit [Remote host closed the connection]
d_ed[m] has quit [Quit: Client limit exceeded: 20000]
tristianc6704 has joined #wayland
sgdr has quit [Quit: sgdr]
tristianc6704 has quit [Ping timeout: 480 seconds]