A while back GitLab changed design (again) and put the content scrollbar 10 pixels away from the site edge. This resulted in me finding a workaround to push the content and the scrollbar to the edge. I went with a custom CSS hack:
body div.layout-page.page-with-super-sidebar { padding: 0px !important; column-gap: 0px !important; } This worked fine for a while, I do not remember for how long as I forgot when I solved the issue. The GitLab broke again, someone decided to add a border around the content. This was probably done because the content was now “floating” on a page and someone wanted it to look “nicer” with a border. Whatever the reason, now there is a border to worry about. So a new addition to my workaround was needed.
I made my first Lua script for MPV which reacts to a keyboard shortcut and stores the currently playing file in the playlist favorites.m3u in the same folder where the currently played file is located.
For now, it can only create the playlist and add new entries into it. The implementation is brute forced and crude, but it works (at the moment). I checked the internet for ready to use scripts for MPV but I could not find any which would do this simple thing, everything seemed to be aiming for a different purpose (e.g. bookmark timestamps in the video instead of the video itself, or things were too complicated) so I decided to play with MPV scripting and put together my own thing.
I wanted to add translation support to my personal project using CMake and Gettext. CMake itself contains a module to find and work with Gettext translation files. It looked simple, but not everything goes according to plans.
It is always easy to blame someone else. I got confused by different examples. First example showed a file structure as locale/${language}/MyApp.po, which failed me when I was trying to integrate it into my program. This in combination with me playing with it cause the CMake generation fail in error basicaly saying The target with the name "MyApp" already exists.. That is because the basename is the same between multiple languages.
Every year in the winter I do a cleanup of the packages I have installed in my system. These things accumulate over the year, be it unused packages, orphaned / renamed packages in the repositories or things from AUR. The aim is to remote things which are not needed anymore.
This year, the biggest sacrifice was most of the Qt5, becuase most of the programs I use switched to Qt6, so I decided to remove Qt5 packages which are not needed, this includes KDE Framworks 5 packages.
After porting Falkon to Qt6 the WebIspector started working when JavaScript was disable. I and few people who help with Falkon development were of an opinion that this is a new feature of Qt6 and did not look too deep into it. What a nice feature to have.
It has a dark side as well, after porting to Qt6 the WebInspector settings were not saved into the profile. It was a bummer. I tried to investigate it but came with nothing, I looked at it from a wrong angle and wasted a lot of time. The solution was simple, initialize the QWebEngineView with an active QWebEngineProfile and the settings will be remembered.