black friday sale

Big christmas sale

Premium Access 35% OFF

Home Page
cover of Episode 1 (Kivy PR's, Issues and New Feature Updates)
Episode 1 (Kivy PR's, Issues and New Feature Updates)

Episode 1 (Kivy PR's, Issues and New Feature Updates)

Kivy Update PodcastKivy Update Podcast

0 followers

00:00-18:05

In our first episode of the Kivy Update podcast, we'll be discussing some of the most important pull requests, issues, and new features in the Kivy community. From camera rotation on Android devices to difficulties with typing in non-English languages, we'll cover the latest developments that every Kivy developer should be aware of. Whether you're a seasoned Kivy user or just getting started, this episode is a must-listen for anyone interested in this amazing open-source framework.

Audio hosting, extended storage and much more

AI Mastering

Transcription

The KIVI Update Podcast is a show that provides the latest news and tips about KIVI. In this episode, they discuss various issues and new features. Some of the issues include problems with the KIVI camera on Android, image loading issues on Windows, and language input problems with Gboard. They also talk about several PRs that address issues with Xcode, padding on the level widget, color emoji support, and the correct path for the KIVI home directory. Finally, they highlight some new features in KIVI, such as fit mode for images, hiding the taskbar icon, separate spread radius for box shadows, the insert feature for shadows, and the always on top feature. Grab a cup of coffee and tune in to KIVI Update Podcast, the show that brings you the latest and greatest in all things KIVI, brought by the perfect cup of coffee. Our mission is simple, to empower you with the knowledge and tools you need to take your KIVI skills to the next level, all while sipping on a delicious coffee. Each episode, we dive deep into the framework, exploring its capabilities, hidden features, and best practices, while savoring the aromas of our favorite coffee blends. And with our fingers on the paws of the KIVI community, we keep you up to date on the latest releases, updates, and trends over a cup of freshly brewed coffee. So whether you're a pro or just starting out, join us on KIVI Update and let's take your art development, get out with your coffee enjoyment, to new heights. Hello and welcome to our first episode of KIVI Update Podcast, where we discuss the latest happening in the KIVI community. I'm your host, Kenneth Rude, and in today's episode, we'll be discussing some of the most important issues raised in KIVI Kits up to date, both requests and new features. Diving in on the first issue, it says, the contents of KIVI camera is rotated 90 degrees anti-clockwise in Android mobile, issue 8201. So when you run your KIVI application on Android and you use the camera widget, you will notice that it is tilted 90 degrees, it is rotated 90 degrees to the left. So which means your image will be upside, not totally upside down, it will be sideways by the left. So to fix this, you have to use the rotate canvas to rotate back your widget. Rufus Flatt replied to the issue saying, he doesn't think KIVI camera works on Android, but I think KIVI camera works on Android if it is able to display some images. So he also pointed out you can be able to use camera for KIVI, a Python library he created himself on Android for Python repository. So you can go and check it out, it works pretty well with machine learning, it works well with TensorFlow Lite, and it works well with CV, OpenCV too, and face recognition. Also QR codes, you can go check it out. Moving over to the second issue, we have, neither image nor async image load webp images, issue 8200. So I've encountered this issue, this is an issue basically based on Windows. So if you're experiencing the same issue, the only way to solve it is to set your KIVI image environmental variable to pale. So if you're using SDL2 or any other image loader, I don't think it will work, using pale will solve the whole problem for you. So moving ahead, on issue number 3, the issue reporter said that he wants the KIVI community to add a way to get screen size using SDL's get desktop display mode, issue 8188. It's kind of a way to get the total screen size, the desktop screen size, to do whatever thing you want to do in your application. It is a nice idea just in case you want to design or layout some designs for a specific screen size on desktops, to avoid clunky displays or clunky UIs. On the last issue, before we move on to the next topic, it says, when typing Sinhala language from Gboard, that is Google Keyboard, English language is found instead of Sinhala in text input. Issue 8185, this is quite interesting, Sinhala is the language in Sri Lanka, I think so, no, I know that, I think so, I think it is correct, I know it is correct. So yeah, when you set your keyboard to Chinese, you kind of like get Chinese characters, but when you set it to Sinhala, you don't get the Sinhala characters. I think there is a problem with the texture display in the level widget, so it would be nice if the KIVI community would look into it quickly, and I think they're already looking into it, I saw a poll report on that, yeah. So that is it for KIVI issues, now the next thing on the list we are going to be talking about are KIVI PRs, which are quite interesting, with a lot of cool features, coming up. So let's move ahead. For the first PR, I'm not a Mac user, so whatever I say, you have to just take it the way it appears, so just get in for first, if you're a Mac user, this is quite important, it says, Xcode 14.3 fails to build SDL, if Mac OS X deployment target is less than 10.13, issue 8191, so I don't know what that is, I think it appears that if your Xcode is 14.3, you won't be able to build SDL package, or SDL libraries, if your Mac OS deployment target is less than 10.13, yeah, so you should be careful when you are dealing with that. So I don't know what it is, you have to check it out on KIVI PR, it says, they are trying to fix it I guess, which is on PR 8191, not an issue, it is a PR, so it's kind of like a fix. On PR 8162, it says, a lot of different values of left, top, right, and bottom for padding on level, so if you notice carefully, you can only pad for X and Y, which means when you pad for only left, it's going to do the same for the right, if you pad for only top, it's going to do the same for bottom, so you can't be able to distinguish or extract only left or extract only right, you can't do that currently, but now there is a PR for that, so rejoice and be joyous, it is coming for you guys. Alright, moving on to the next PR, it says, add color emoji support for text imputes, this is awesome, if you have been using KIVI for a very long time, like I have, and you try to use emojis, you see that you get squared boxes, actually, for Lego, this issue has been fixed, you can now get colored emojis and also non-colored emojis, yeah, it works perfectly well on KIVI right now, but for text imputes, you get a black texture, so right now, this is a work in progress, it works. So this PR is PR 7997, so you can check it out to see the update and what's new in the code and what are the changes that have been made. On the last PR for the day, it says, at the moment, no, it says, use correct path for KIVI home directory, PR 8153, so it says, at the moment, KIVI saves all of its data on their home slash dot KIVI, so it's kind of like a catch directory where KIVI stores its data, but this is wrong, each operating system has its own location to save such files, this PR makes KIVI respect the standard for each OS, this is especially important for Linux, if you run a KIVI app in a sandbox environment, example, Flatpak or Snap, yeah, actually, these two things have their own sandboxes, and they don't store data inside of the home catch directory, so they don't touch it, they run inside of their own sandbox, so I think this is a great issue, but I think this fix is awesome, just in case you choose to package your application for Snap or Flatpak. So, moving ahead, it says, which expert asked to save its data in a custom directory, example, Flatpak, its custom directory is home slash dot bar, app ID, whatever, whatever, and restrict access to home, so you can't touch home, for macOS, I'm not 100% sure if I got the right location, because I never use it, so the author of the PR is kind of like stating that you should be careful, but at least the KIVI community, the KIVI core devs are still going to look into it to make sure it follows every standard, so this is quite impressive, and this is very good, just in case you want to package your app for a different channel, for a different repo, or for a different application packager, for Linux, macOS, and Windows, whatever environment they want to store their cache, it will be suitable for that, so that is a great PR, and that is it for the KIVI PR, moving on, we are going to enter the KIVI features, so you are going to love these new features that are coming out, they are already there, you have to set your PIP to download the KIVI master branch from GitHub, on the first new features in KIVI, you have the add fit mode feature, feature 8169, so it says this fit mode should be applied on image, it is already a new feature which you can use, it allows you to make your widget look like the fit image widget on KIVI MD, so automatically if you are using image widget, or I think image, if you use fit mode and set its value to cover, it is going to fill your widget size, or your screen, depending on how you want to use it, so it is a nice feature to have, it eliminates the use of fit image, which uses some compute power each time it loads a new, or each time the sizes change, so it uses some, it has to calculate some things and create a texture and add back your image, I think this is a long process, with this, you will be able to shorten the process I guess, so on the third, no on the second feature, we have allow to hide the test bar icon, feature 8142, so this allows you to hide the test bar icon of your application, I don't know how you would want to use this, but I think it is kind of like cool and scary, just that you have an application running, but it doesn't show on the test bar, your user will be confused, but I guess it is a cool feature, so moving on to the third feature, we have set values for vertical and horizontal spread radius, feature 8138, so this feature applies to box shadow, so if you are using box shadow, you notice initially when box shadow was released, it allows you only to apply spread radius on both vertical and horizontal axis at the same time, you can't specifically add to particular one without adding to the other, whatever value you give to vertical will be applied to horizontal, but right now you have the power to apply spread radius to both vertical and horizontal separately, so this feature is feature 8138, so moving on to the fourth issue, we have add insert features, feature 8132, this insert feature makes it look like the shadow is on the inside and not on the outside, it makes your shadow to appear inside of your widget, it doesn't spread outside of your widget, like when you look into your widget, you notice that the shadow does not go beyond the boundaries of your widget, it is actually applying itself on inside of the widget, which is kind of like cool, then the final feature we have on the list is always on top, let's say you open your application and you want your application to be always display, no other application should cover it, the application should be the only application on top, no matter what, your application should be on top of any other application, then you can use always on top feature, which is feature 8076, and that is all we have time for in today's episode of the Kivy Update podcast, we hope you found this episode informative and useful, and we look forward to bringing you more updates on the Kivy community in our next episode, until then, this is your host, Enejigo, signing off.

Listen Next

Other Creators