Figured out a possible way to have the Start screen be navigable using only the keyboard, including the arrow keys:

https://codeberg.org/DrewNaylor/Retiled/issues/504

#Retiled #RetiledStart

Overhauling the tile and All Apps list area navigation for keyboard.

In the shower I thought of this: 1. Remove/disallow focus on the SwipeView 2. When pressing left on an All Apps list item, focus the Search icon 3. When pressing left from the Search icon, switch to the tiles area 4. Focus will be set to the first tile 5. When pressing right when not in edit mod...

Codeberg.org

Finally fixed that bug where if you unpin a tile, pinning tiles breaks so the tiles end up below the All Apps button and moving any of them below the unpinned tile manually gets you an off-by-x error if you do either of them in the same session without an application restart. The problem was I wasn't updating "tileIndex" when unpinning and was using that property when looping through the tiles to see what the furthest-down tile is.

#Retiled #RetiledStart

RetiledStart has a search box in the All Apps list now. Might not be the fastest but it works as long as you do the capitalization correctly (I tried to get it to do lowercase but it didn't work).

#Retiled #RetiledStart

I think I figured out navigating tiles with the keyboard arrow keys:

If there's a medium tile next to a group of four small tiles and the right arrow key is pressed, just go to the first tile in the next column that matches the current tile's row. This can be a little more complicated than that so I made an issue about this here: https://codeberg.org/DrewNaylor/Retiled/issues/438

#Retiled #RetiledStart

I think going to different tiles with the keyboard can be done by, if pressing right, go to the tile on the right that matches the currently-focused tile's row.

Figured this out when watching a video and it just popped into my head thinking about the idea for tall tiles in an advanced layout settings thing. Until now I wasn't sure how to do it, but I think just going to the tile in the next existing column on the same row will work. If there is no tile i...

Codeberg.org

If you've recently tried to use RetiledStart on a distro with really new packages like Arch, it wouldn't start. I've fixed this in the main branch tonight by specifying "RetiledStyles.ContextMenu" for the All Apps list items and it works again. I think it's because Qt added their own ContextMenu item and it was getting confused. I'll need to add this to the controls demo app, too.

#Retiled #RetiledStart

Fixed a major bug where if there's a medium tile in, for example, column 1 when using 4 columns, the next pinned tile would be partially out of bounds. This should be fixed for all tile sizes and when using 6 columns in addition to 4 columns. Have to merge this into main. The zigzag tile pinning bug still exists. Tried to fix it but what I tried wasn't enough.

#Retiled #RetiledStart

Ok, the C++ port of RetiledStart is ready to be merged, I just need to write the description for the PR. It's here if you want to try it out early:
https://codeberg.org/DrewNaylor/Retiled/pulls/360

Edit: merged now, see my reply.

#Retiled #RetiledStart

WIP: C++ port of RetiledStart

This isn't ready to merge yet since I need to write a description, but if you want to try it out, it's ready to try.

Codeberg.org

I have some good news about performance in #RetiledStart : while porting to C++, I've added icon path caching so if multiple .desktop files want the same icon, it'll just get the location from a cache instead of doing a whole search. I've also used pybind11 to make running the pyXdg script for finding icons way faster and it uses one interpreter instead of restarting it each time (see https://mastodon.online/@DrewNaylor/113964466997156054 ). I've also set the All Apps list to reuse items since stuff with no...

1/3
#Retiled

Drew Naylor (@[email protected])

Pybind11 is pretty cool. If you need to use a Python library a lot for like finding icons or something, you can just start the interpreter when your program starts and not have it restart every time that code runs. #programming #pybind11 #python

Mastodon

I fixed the parallax scrolling so the wallpaper now stays on screen the entire time and doesn't show the background if you have "too many" tiles and scroll too far. It jumps around now if you scroll far enough depending on I think window size, but that's ok. I'd like it to be smoother though. I did this with the modulo (percent) operator against the tilesFlickable's height.

#Retiled #programming #RetiledStart

Suddenly decided to work on splitting out the Tiles page so I can eventually make a plasmoid for #RetiledStart . Right now the main window should work still, but the plasmoid isn't ready yet. I did some testing for how I'd make a plasmoid with RetiledStyles, and at first the settings will need to be hard-coded until I can figure out how to do C++ plasmoids, or preferably #Rust with CXX-Qt.
1/3

#Retiled #KDE #KDEPlasma #programming #CXXQt #QtQuick (it's what I use) #Qt #rustlang #CPlusPlus