Feed Advanced Search

Apr 22 2020

ndavis accepted D29092: Various fixes to new Cards.

Much better and thanks! LGTM

Apr 22 2020, 2:32 PM · Kirigami
ngraham updated the diff for D29057: Introduce PlaceholderMessage component.

Add another code example showing now you could use it as a loading indicator

Apr 22 2020, 2:16 PM · Kirigami
ahiemstra added a comment to D29092: Various fixes to new Cards.

Urgh, I knew there was a point to that damn fwidth() call. As far as I can tell this version has about the same visual appearance without it changing dependent on resolution.

Apr 22 2020, 2:15 PM · Kirigami
ahiemstra updated the diff for D29092: Various fixes to new Cards.
  • Restore fwidth() call in shader, tweak smoothing values more
Apr 22 2020, 2:14 PM · Kirigami
ahiemstra updated the diff for D29092: Various fixes to new Cards.
  • Remove sdf_polygon, it is unused and causes breakage on Android
Apr 22 2020, 1:44 PM · Kirigami
ndavis added a comment to D29092: Various fixes to new Cards.

Actually, width does affect the roughness. The corners are at their smoothest when the card is a square.

Apr 22 2020, 1:26 PM · Kirigami
ndavis added a comment to D29092: Various fixes to new Cards.

I found something very curious and I don't know what the cause could be. The corners are smoother when the cards are taller and rougher when they are shorter. Width doesn't affect smoothness.

Apr 22 2020, 1:15 PM · Kirigami
ahiemstra updated the diff for D29092: Various fixes to new Cards.
  • Slightly increase smoothing, to avoid too harsh corners
Apr 22 2020, 12:48 PM · Kirigami
ahiemstra updated the summary of D29092: Various fixes to new Cards.
Apr 22 2020, 12:43 PM · Kirigami
ahiemstra requested review of D29092: Various fixes to new Cards.
Apr 22 2020, 12:34 PM · Kirigami
leinir added a comment to D29057: Introduce PlaceholderMessage component.

Nice! Got a few places where this could be very handy :)

Apr 22 2020, 8:25 AM · Kirigami
mart added a comment to D28664: [OverlaySheet] Add bottom margin when sheet height is less than 3/4 of screen.

so, let's try to vertically center when the size is less than the parent

Apr 22 2020, 7:16 AM · Kirigami
ngraham updated the diff for D29057: Introduce PlaceholderMessage component.

Add margins to examples

Apr 22 2020, 1:22 AM · Kirigami
ngraham added a comment to D28888: Fix navigation regressions.

Close. There's extra spacing on the right for some reason, and I think the sidebar's background used to be white.

Apr 22 2020, 1:17 AM · Kirigami, Plasma
cblack updated the diff for D28888: Fix navigation regressions.

Switch between ListView and CardsLayout

Apr 22 2020, 12:55 AM · Kirigami, Plasma

Apr 21 2020

ngraham added a comment to D28666: Refactor for loops.

That was fixed, thanks.

Apr 21 2020, 11:11 PM · Kirigami
ngraham added a dependent revision for D29074: Make BasicListItem more useful by giving it a subtitle property: D29075: [wallpapers/image] Port to BasicListItem+subtitle.
Apr 21 2020, 10:30 PM · Kirigami
ngraham requested review of D29074: Make BasicListItem more useful by giving it a subtitle property.
Apr 21 2020, 10:28 PM · Kirigami
ngraham added a comment to D28666: Refactor for loops.

This appears to have broken SwipeListItem. Now the actions don't show up anymore and there's loads of console spam:

file:///home/nate/kde/usr/lib64/qml/org/kde/kirigami.2/templates/SwipeListItem.qml:421: TypeError: Type error
file:///home/nate/kde/usr/lib64/qml/org/kde/kirigami.2/templates/SwipeListItem.qml:421: TypeError: Type error
file:///home/nate/kde/usr/lib64/qml/org/kde/kirigami.2/templates/SwipeListItem.qml:421: TypeError: Type error
Apr 21 2020, 9:24 PM · Kirigami
cblack added a comment to D28625: Use ShadowedRectangle for Card backgrounds.

This seems to be causing regressions to card behaviour for me.

Apr 21 2020, 8:29 PM · Kirigami
cblack updated the diff for D28873: Add SwipeNavigator component.

Adjust tab stylings

Apr 21 2020, 7:31 PM · Kirigami
ngraham resigned from D28873: Add SwipeNavigator component.

All right, you've convinced me.

Apr 21 2020, 5:44 PM · Kirigami
abetts added a comment to D29057: Introduce PlaceholderMessage component.

Look cool!

Apr 21 2020, 4:29 PM · Kirigami
ngraham updated the diff for D29057: Introduce PlaceholderMessage component.

Address review comments

Apr 21 2020, 4:19 PM · Kirigami
broulik added inline comments to D29057: Introduce PlaceholderMessage component.
Apr 21 2020, 3:52 PM · Kirigami
mart requested changes to D29057: Introduce PlaceholderMessage component.
Apr 21 2020, 3:37 PM · Kirigami
cblack added inline comments to D29057: Introduce PlaceholderMessage component.
Apr 21 2020, 3:10 PM · Kirigami
ngraham updated the test plan for D29057: Introduce PlaceholderMessage component.
Apr 21 2020, 3:01 PM · Kirigami
ngraham added a dependent revision for D29057: Introduce PlaceholderMessage component: D29060: Port placeholder message to Kirigami.PlaceholderMessage.
Apr 21 2020, 3:01 PM · Kirigami
ngraham added a dependent revision for D29057: Introduce PlaceholderMessage component: D29059: Port BrowsingPage to PlaceholderMessage.
Apr 21 2020, 3:00 PM · Kirigami
ngraham requested review of D29057: Introduce PlaceholderMessage component.
Apr 21 2020, 2:59 PM · Kirigami
ahiemstra requested review of D29046: ColorUtils: Use const ref for QColor/QJSValue, fix code style.
Apr 21 2020, 11:31 AM · Kirigami
niccolove added a comment to D28873: Add SwipeNavigator component.
In D28873#652724, @mart wrote:

for those that are a sidebar, there is already a standard, agreed upon look, that is being slowly and painfully moved to be adopted, which is:

Apr 21 2020, 10:41 AM · Kirigami
ahiemstra closed D28625: Use ShadowedRectangle for Card backgrounds.
Apr 21 2020, 9:56 AM · Kirigami
mart accepted D28625: Use ShadowedRectangle for Card backgrounds.
Apr 21 2020, 9:51 AM · Kirigami
ahiemstra updated the diff for D28625: Use ShadowedRectangle for Card backgrounds.
  • Rebase on most recent master
  • Use ShadowedRectangleNode for ShadowedTexture if source is not set
  • Use transparent color for BannerImage's ShadowedImage
  • Hide BannerImage scrim if source or title is not set
  • Don't set ShadowedTexture source if Image is not properly loaded
  • Add tintWithAlpha method to ColorUtils
  • Use new tintWithAlpha for border colors
Apr 21 2020, 9:40 AM · Kirigami

Apr 20 2020

cblack added a task to D28873: Add SwipeNavigator component: T13012: Lateral Navigation.
Apr 20 2020, 10:41 PM · Kirigami
ngraham added a comment to D28873: Add SwipeNavigator component.

IMO, the affordances of a traditional tab style hint at tabs being editable. This is fairly established: Chrome uses the traditional tab style for its user-manipulatable tabs, while using a different style for non-manipulatable tabs. Firefox does the same, as well as Falkon. elementary on a platform level uses traditional tabs for manipulatable tabs and a different style for static tabs. macOS does the same thing. Using editable-style tabs when the tabs are non-editable is a misleading affordance, hence why this patch doesn't use them.

Apr 20 2020, 10:03 PM · Kirigami
cblack added a comment to D28873: Add SwipeNavigator component.

"Lateral navigation" is basically a tabbed view. So to me this looks like a tabbed view with a different UI for the tabs. We've actually needed a tabbed view component for a while: https://bugs.kde.org/show_bug.cgi?id=394296

Maybe this could be that. I think the swipe navigation is fine. However if this is going to have all the functionality of a tabbed view, it ought to look like a desktop-style tabbed view on the desktop platform. The different tab styling therefore has to go. On mobile, the tabs should look like desktop tabs, and on mobile, the tabs should look like mobile tabs.

Apr 20 2020, 9:56 PM · Kirigami
cblack closed D28666: Refactor for loops.
Apr 20 2020, 9:38 PM · Kirigami
cblack closed D28688: Document Kirigami::Icon.
Apr 20 2020, 9:38 PM · Kirigami
cblack closed D28949: Add titlebar colors to Kirigami::PlatformTheme.
Apr 20 2020, 9:38 PM · Kirigami
xuetianweng closed D29022: Update the visiblity check for ActionToolbar by checking width with less-"equal"..
Apr 20 2020, 8:55 PM · Kirigami
ngraham accepted D29022: Update the visiblity check for ActionToolbar by checking width with less-"equal"..

Nice job! I was actually just about to submit this exact diff. :)

Apr 20 2020, 8:47 PM · Kirigami
xuetianweng retitled D29022: Update the visiblity check for ActionToolbar by checking width with less-"equal". from Update the check for ActionToolbar by checking with less-"equal". to Update the visiblity check for ActionToolbar by checking width with less-"equal"..
Apr 20 2020, 7:45 PM · Kirigami
xuetianweng requested review of D29022: Update the visiblity check for ActionToolbar by checking width with less-"equal"..
Apr 20 2020, 7:43 PM · Kirigami
mart added a comment to D28888: Fix navigation regressions.

btw may be worth trying to have a stackview that switches between this view and the one before based on page with (wideMode property of pagerow)

Apr 20 2020, 4:33 PM · Kirigami, Plasma
mart added a comment to D28888: Fix navigation regressions.

if there can't be a super smooth transition between a listview and this thing (perhaps with a stackview, but i'm not sold) then there should always be just the cardlayout with the same cards look, just as a single column

Apr 20 2020, 4:29 PM · Kirigami, Plasma
mart added a comment to D28873: Add SwipeNavigator component.

Like you mentioned, don't we want to use the tabbed sidebar view thingy for that?

Apr 20 2020, 4:27 PM · Kirigami
ngraham added a comment to D28873: Add SwipeNavigator component.

Like you mentioned, don't we want to use the tabbed sidebar view thingy for that?

Apr 20 2020, 4:23 PM · Kirigami
mart added a comment to D28873: Add SwipeNavigator component.

This patch is about having the whole app navigation as a tabbed thing, so more like tabs in a webbrowser than a generic tabview (with frame and all which this shouldn't have)
so they are 2 different things: i still think a drop in replacement for a tabview will be needed, but this is probably different beast

Apr 20 2020, 4:22 PM · Kirigami
ngraham added a comment to D28971: Persist state between launches.
In D28971#652708, @mart wrote:

my concern here using qsettings in this place, is that then it kinda clashes when an application uses its own config like it should, from a framework (kconfiggroup, kconfigskeleton etc)
i always refrained from using any form of config read/write here, and i think we should continue to do so.
Kirigami is a tier1 framework that should do the kleast possible, is more like KGuiAddons/§KWidgetAddons, *not* a full feature kxmlgui, which if we want to have something along the lines, we should have a proper framework to do so, and not tier1

Apr 20 2020, 4:15 PM · Kirigami, Plasma
mart accepted D28949: Add titlebar colors to Kirigami::PlatformTheme.

ok, thanks for the clarification

Apr 20 2020, 4:15 PM · Kirigami
cblack added a task to D28949: Add titlebar colors to Kirigami::PlatformTheme: T10201: Window titlebars.
Apr 20 2020, 4:14 PM · Kirigami
mart added a comment to D28949: Add titlebar colors to Kirigami::PlatformTheme.

what's the "tools area"?
are there other use cases than client side decorations? (which we don't want to support)

Apr 20 2020, 4:11 PM · Kirigami
ngraham requested changes to D28873: Add SwipeNavigator component.

"Lateral navigation" is basically a tabbed view. So to me this looks like a tabbed view with a different UI for the tabs. We've actually needed a tabbed view component for a while: https://bugs.kde.org/show_bug.cgi?id=394296

Apr 20 2020, 4:07 PM · Kirigami
mart added a comment to D28873: Add SwipeNavigator component.

My opinion from the consistency side: I actually think this is a good possibility for the Consistency goal. After some digging around, my opinion is that

Tabs should only be used on application views that are user-editable (eg: when it's possible to open a new tab or close another).

It's imo appropriate to have a different component for changing views, especially on Kiri. But of course, that component should be consistent. Right now we have big square sidebars, toolbars, etc etc etc etc etc

Apr 20 2020, 4:05 PM · Kirigami
cblack added a comment to D28971: Persist state between launches.
In D28971#652708, @mart wrote:

i always refrained from using any form of config read/write here, and i think we should continue to do so.

Are you referring to the gallery (this patch) or to Kirigami?

Apr 20 2020, 4:03 PM · Kirigami, Plasma
mart accepted D28688: Document Kirigami::Icon.
Apr 20 2020, 3:55 PM · Kirigami
cblack closed D28945: PageRouter autotests fixes.
Apr 20 2020, 3:54 PM · Kirigami
mart accepted D28666: Refactor for loops.
Apr 20 2020, 3:52 PM · Kirigami
mart added a comment to D28971: Persist state between launches.

my concern here using qsettings in this place, is that then it kinda clashes when an application uses its own config like it should, from a framework (kconfiggroup, kconfigskeleton etc)
i always refrained from using any form of config read/write here, and i think we should continue to do so.
Kirigami is a tier1 framework that should do the kleast possible, is more like KGuiAddons/§KWidgetAddons, *not* a full feature kxmlgui, which if we want to have something along the lines, we should have a proper framework to do so, and not tier1

Apr 20 2020, 3:50 PM · Kirigami, Plasma
mart accepted D28945: PageRouter autotests fixes.
Apr 20 2020, 3:48 PM · Kirigami
ahiemstra added a comment to D28625: Use ShadowedRectangle for Card backgrounds.
In D28625#652529, @mart wrote:

Looks like a nice visual improvement.

Are the changes to the scenegraph stuff related? They don't look like a related change to making the Kirigami.Card use the ShadowedRectangle to me.

they should be, as far i know, a fix for the 1 pixel border that had some blurriness.
@ahiemstra can you confirm?

Apr 20 2020, 11:51 AM · Kirigami
mart accepted D28625: Use ShadowedRectangle for Card backgrounds.
Apr 20 2020, 11:26 AM · Kirigami
mart added inline comments to D28625: Use ShadowedRectangle for Card backgrounds.
Apr 20 2020, 11:26 AM · Kirigami
mart added a comment to D28625: Use ShadowedRectangle for Card backgrounds.

Looks like a nice visual improvement.

Are the changes to the scenegraph stuff related? They don't look like a related change to making the Kirigami.Card use the ShadowedRectangle to me.

Apr 20 2020, 11:24 AM · Kirigami
ahiemstra retitled D28625: Use ShadowedRectangle for Card backgrounds from [WIP] Use ShadowedRectangle for Card backgrounds to Use ShadowedRectangle for Card backgrounds.
Apr 20 2020, 10:15 AM · Kirigami

Apr 19 2020

ndavis added a comment to T9460: Consider a more user-friendly SpinBox control.

as long as you can still single click on the arrows to increment/decrement or scroll with the mouse wheel to increment/decrement, adding the ability to click/tap and drag to change the value seems like a good idea.

Apr 19 2020, 6:31 PM · KDE Human Interface Guidelines, Breeze, VDG
ngraham added a comment to D28971: Persist state between launches.

Window geometry and position is supposed to be saved automatically by KXMLGui, at least for widgets apps. If that's not possible to do here, perhaps we should have Kirigami do this at the frameworks level so it doesn't need to be done by every single app.

Apr 19 2020, 4:39 PM · Kirigami, Plasma
cblack requested review of D28971: Persist state between launches.
Apr 19 2020, 4:08 AM · Kirigami, Plasma

Apr 18 2020

cblack requested review of D28949: Add titlebar colors to Kirigami::PlatformTheme.
Apr 18 2020, 4:38 PM · Kirigami
cblack requested review of D28945: PageRouter autotests fixes.
Apr 18 2020, 2:35 PM · Kirigami
dfaure added a comment to D28383: Add PageRouter component.

The unittest in this commit appears to break in CI.

Apr 18 2020, 2:22 PM · Kirigami

Apr 17 2020

ouwerkerk closed D28730: Couple of 'trivial' fixes for broken code.
Apr 17 2020, 5:18 PM · Kirigami
cblack accepted D28730: Couple of 'trivial' fixes for broken code.

LGTM.

Apr 17 2020, 5:15 PM · Kirigami
mart added a comment to T9460: Consider a more user-friendly SpinBox control.

the problem is as usual: easy to do with qml stuff, hacky and pain for qwidgets..
that said, the most user friendly spinbox i ever found was in a super ancient version of Corel Draw (something that still ran on windows 3.1 iirc :p)
the look was stil pretty much the same of the current spinbox, but with something that reminded an handle fused with the arrow buttons.
if one keeped the mouse pressed and dragged up and down, could make the values go up and down in a very fast, efficient and suprisingly super precise way.

Apr 17 2020, 7:53 AM · KDE Human Interface Guidelines, Breeze, VDG

Apr 16 2020

ndavis added a comment to D28888: Fix navigation regressions.

Hmm, now the cards collapse into weird pseudo-list-items in the sidebar. Could they just go back to using real list items instead?

That's what I initially attempted, but non-deterministic behaviour was caused by swapping out a list of cards for a list of listitems.

Apr 16 2020, 8:24 PM · Kirigami, Plasma
ngraham added a comment to D28888: Fix navigation regressions.

I can understand that there are technical challenges, but, not to put too fine a point on it, this doesn't look very good:

Apr 16 2020, 4:12 PM · Kirigami, Plasma
cblack added a comment to D28888: Fix navigation regressions.

Hmm, now the cards collapse into weird pseudo-list-items in the sidebar. Could they just go back to using real list items instead?

Apr 16 2020, 4:10 PM · Kirigami, Plasma
ngraham added a comment to D28888: Fix navigation regressions.

Hmm, now the cards collapse into weird pseudo-list-items in the sidebar. Could they just go back to using real list items instead?

Apr 16 2020, 4:09 PM · Kirigami, Plasma
cblack updated the summary of D28888: Fix navigation regressions.
Apr 16 2020, 4:08 PM · Kirigami, Plasma
cblack updated the test plan for D28888: Fix navigation regressions.
Apr 16 2020, 4:07 PM · Kirigami, Plasma
cblack requested review of D28888: Fix navigation regressions.
Apr 16 2020, 4:06 PM · Kirigami, Plasma
niccolove added inline comments to D28873: Add SwipeNavigator component.
Apr 16 2020, 3:07 PM · Kirigami
cblack closed D28383: Add PageRouter component.
Apr 16 2020, 2:48 PM · Kirigami
cblack updated the diff for D28383: Add PageRouter component.

Use more descriptive name

Apr 16 2020, 2:45 PM · Kirigami
cblack added inline comments to D28873: Add SwipeNavigator component.
Apr 16 2020, 2:42 PM · Kirigami
cblack updated the diff for D28873: Add SwipeNavigator component.

Address some feedback

Apr 16 2020, 2:42 PM · Kirigami
mart accepted D28383: Add PageRouter component.
Apr 16 2020, 2:16 PM · Kirigami
cblack added a comment to D28873: Add SwipeNavigator component.

What about having as a view a component that is not a Kirigami.Page? Such as a StackView or a Rectangle. Why not use an attached property to define its title, icon and other props instead of focing to wrap those components into a kirigami.Page?

Apr 16 2020, 2:09 PM · Kirigami
cblack updated the diff for D28383: Add PageRouter component.

Fix faulty navigateToRoute

Apr 16 2020, 2:04 PM · Kirigami
camiloh added a comment to D28873: Add SwipeNavigator component.

What about having as a view a component that is not a Kirigami.Page? Such as a StackView or a Rectangle. Why not use an attached property to define its title, icon and other props instead of focing to wrap those components into a kirigami.Page?

Apr 16 2020, 1:54 PM · Kirigami
niccolove added a comment to D28873: Add SwipeNavigator component.

My opinion from the consistency side: I actually think this is a good possibility for the Consistency goal. After some digging around, my opinion is that

Apr 16 2020, 8:36 AM · Kirigami
mart accepted D28383: Add PageRouter component.
Apr 16 2020, 8:27 AM · Kirigami
mart added inline comments to D28873: Add SwipeNavigator component.
Apr 16 2020, 7:59 AM · Kirigami
mart added a comment to D28873: Add SwipeNavigator component.

The tabbars have their own look, which it's against the consistency goal. I do prefer this look to the current breeze one, but this is a debate to have at the level of the future breeze direction.
It's ok in the case of mobile with the tbbar on the bottom as it's a pretty standard mobile control with an established look and feel, but a top tabbar on the desktop should look like any other tabbar

Apr 16 2020, 7:30 AM · Kirigami
ndavis added a comment to D28873: Add SwipeNavigator component.

So are these all views that run simultaneously like apps on a task bar? What makes this different from tabs?

Apr 16 2020, 3:57 AM · Kirigami
cblack added a comment to D28873: Add SwipeNavigator component.

What is the usecase for this?

Apps that have shallow and primarily lateral navigation.

Apr 16 2020, 3:46 AM · Kirigami
ndavis added a comment to D28873: Add SwipeNavigator component.

What is the usecase for this?

Apr 16 2020, 3:44 AM · Kirigami