question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kivy app windows not obeying the `float_rules` in `floating_layout`

See original GitHub issue

The issue:

qtile --version = 0.21.0

No relevant logs for this problem.

from config.py Match(title='My'), # Kivy app

The title is rendered in the kivy files from main.py, for example. I checked the output of xprop.

I know that the floating rules work for most other programs, further, I don’t know if this is a problem with the kivy app itself.

Whenever I launch a kivy app with python main.py, for example, the window it tiled instead. However, the float-on-click does make it float. Lastly, whenever I refresh qtile it does “auto float” the app window provided that it is present, of course.

Required:

  • I have searched past issues to see if this bug has already been reported.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
m-colcommented, May 22, 2022

Whenever I launch a kivy app with python main.py, for example, the window it tiled instead. However, the float-on-click does make it float. Lastly, whenever I refresh qtile it does “auto float” the app window provided that it is present, of course.

This sounds like the window is being mapped (and tested against the float rules), and then it is setting the window title. I’m not familiar with Kivy but it might be possible to set the title first, then open the window. Failing that, you could try to identify the title that it has when it does open but before it changes title.

0reactions
github-actions[bot]commented, Nov 22, 2022

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kivy application window does not start - python - Stack Overflow
The kivy application window does not start, I don't know what's the matter. This is the simplest Hello World app, but the window...
Read more >
Create a package for Windows — Kivy 2.1.0 documentation
Packaging your application for the Windows platform can only be done inside the Windows OS. The following process has been tested on Windows...
Read more >
Application — Kivy 2.1.0 documentation
This method is invoked the first time the app is being run if no widget tree has been constructed before for this app....
Read more >
Installation on Windows — Kivy 2.1.0 documentation
To install Kivy on Windows via pip , please follow the main installation guide ... Alternatively, if they are not assigned, you can...
Read more >
Window — Kivy 2.1.0 documentation
Kivy supports only one window per application: please don't try to create more than one. API Hide Description ⇑. class kivy.core.window.Keyboard ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found