D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-31 Thread Mikhail Zolotukhin
gikari abandoned this revision. gikari added a comment. https://invent.kde.org/plasma/kde-gtk-config/-/merge_requests/2 REPOSITORY R99 KDE Gtk Configuration Tool REVISION DETAIL https://phabricator.kde.org/D28623 To: gikari, #breeze, #plasma, cblack Cc: trmdi, ngraham, plasma-devel, Orag

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-09 Thread Mikhail Zolotukhin
gikari added a comment. In D28623#666890 , @trmdi wrote: > Just a question, SierraBreezeEnhanced has a feature called "Unison hovering". Does this support it? Also, I think, that to support that you actually need to do a lot of upstream

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-09 Thread Mikhail Zolotukhin
gikari added a comment. In D28623#666890 , @trmdi wrote: > Just a question, SierraBreezeEnhanced has a feature called "Unison hovering". Does this support it? No. That's because it is the GTK, who is responsible for hovering behavior. I

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-09 Thread Tranter Madi
trmdi added a comment. Just a question, SierraBreezeEnhanced has a feature called "Unison hovering". Does this support it? REPOSITORY R99 KDE Gtk Configuration Tool REVISION DETAIL https://phabricator.kde.org/D28623 To: gikari, #breeze, #plasma, cblack Cc: trmdi, ngraham, plasma-devel,

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-09 Thread Mikhail Zolotukhin
gikari updated this revision to Diff 82365. gikari added a comment. - Add support for aurorae themes - Plastic does not work, but in that case decoration buttons in GTK apps are Breeze REPOSITORY R99 KDE Gtk Configuration Tool CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D2862

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-08 Thread Mikhail Zolotukhin
gikari added a comment. In D28623#666400 , @cblack wrote: > While this is neat, I'm fairly sure that creating the CSS for this in a manner that works across themes is going to be hard if not impossible. I'm not completely sure about this

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-08 Thread Mikhail Zolotukhin
gikari updated this revision to Diff 82294. gikari added a comment. Export buttons with fixed geometry (Now all buttons are exported with the same size) REPOSITORY R99 KDE Gtk Configuration Tool CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28623?vs=82266&id=82294 BRANCH deco

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-08 Thread Carson Black
cblack added a comment. While this is neat, I'm fairly sure that creating the CSS for this in a manner that works across themes is going to be hard if not impossible. Even our own Breeze GTK uses palette swaps rather than unique pixmaps for every state. REPOSITORY R99 KDE Gtk Configuration

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-08 Thread Nathaniel Graham
ngraham added a comment. Very cool stuff! REPOSITORY R99 KDE Gtk Configuration Tool REVISION DETAIL https://phabricator.kde.org/D28623 To: gikari, #breeze, #plasma, cblack Cc: ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, Zre

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-08 Thread Mikhail Zolotukhin
gikari updated this revision to Diff 82266. gikari added a comment. Support the maximize button in the checked state REPOSITORY R99 KDE Gtk Configuration Tool CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28623?vs=82206&id=82266 BRANCH decorations-appearance (branched from mas

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-07 Thread Mikhail Zolotukhin
gikari updated this revision to Diff 82206. gikari added a comment. - Render buttons to SVGs REPOSITORY R99 KDE Gtk Configuration Tool CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28623?vs=82167&id=82206 BRANCH decorations-appearance (branched from master) REVISION DETAIL

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-06 Thread Mikhail Zolotukhin
gikari updated this revision to Diff 82167. gikari added a comment. - Make buttons work with Breeze theme by respecting pallete. REPOSITORY R99 KDE Gtk Configuration Tool CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28623?vs=82143&id=82167 BRANCH decorations-appearance (branc

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-06 Thread Mikhail Zolotukhin
gikari updated this revision to Diff 82143. gikari edited the summary of this revision. gikari edited the test plan for this revision. gikari added a comment. - Use unique_ptr for buttons - Propagate events to buttons Things to do: - Figure out why does this only work with some deco

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-05-06 Thread Mikhail Zolotukhin
gikari updated this revision to Diff 82124. gikari added a comment. - Export decorations as png images Global things to do: - Export decorations in 3 different states: normal, clicked and hovered - Consider exporting in SVG - Write CSS into custom gtk css file REPOSITORY R99 KD

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-04-06 Thread Mikhail Zolotukhin
gikari updated this revision to Diff 79488. gikari added a comment. - Add missed Licence header - Remove unnecessary CMake commands REPOSITORY R99 KDE Gtk Configuration Tool CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28623?vs=79485&id=79488 BRANCH decorations-appearance (

D28623: [WIP] Sync titlebar button appearance with GTK CSD apps

2020-04-06 Thread Mikhail Zolotukhin
gikari created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. gikari requested review of this revision. REVISION SUMMARY Currently GTK applications with Client Side Decoration always use decorations from the respected GTK CSS theme. Because of CSS natur