Disable QML cache, responsible of multiple bugs
This commit is contained in:
parent
c4fb0c1150
commit
67c3ef5906
2
TODO.md
2
TODO.md
|
@ -3,7 +3,6 @@
|
||||||
- Don't bake in size properties for components
|
- Don't bake in size properties for components
|
||||||
|
|
||||||
- Bug fixes
|
- Bug fixes
|
||||||
- The damn remember account dialog
|
|
||||||
- 100% CPU usage when hitting top edge to trigger messages loading
|
- 100% CPU usage when hitting top edge to trigger messages loading
|
||||||
- Sending `![A picture](https://picsum.photos/256/256)` → not clickable?
|
- Sending `![A picture](https://picsum.photos/256/256)` → not clickable?
|
||||||
- Icons aren't reloaded
|
- Icons aren't reloaded
|
||||||
|
@ -25,6 +24,7 @@
|
||||||
- Prevent using the SendBox if no permission (power levels)
|
- Prevent using the SendBox if no permission (power levels)
|
||||||
- Spinner when loading past room events, images or clicking buttons
|
- Spinner when loading past room events, images or clicking buttons
|
||||||
- Better theming/styling system
|
- Better theming/styling system
|
||||||
|
- See about <https://doc.qt.io/qt-5/qtquickcontrols2-configuration.html>
|
||||||
- Settings page
|
- Settings page
|
||||||
- Multiaccount aliases
|
- Multiaccount aliases
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,17 @@
|
||||||
# Copyright 2019 miruka
|
# Copyright 2019 miruka
|
||||||
# This file is part of harmonyqml, licensed under GPLv3.
|
# This file is part of harmonyqml, licensed under GPLv3.
|
||||||
|
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from . import app
|
|
||||||
|
|
||||||
# logging.basicConfig(level=logging.INFO)
|
# logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
|
# The disk cache is responsible for multiple display bugs when running
|
||||||
|
# the app for the first time/when cache needs to be recompiled, on top
|
||||||
|
# of litering the source folders with .qmlc files.
|
||||||
|
os.environ["QML_DISABLE_DISK_CACHE"] = "1"
|
||||||
|
|
||||||
|
|
||||||
def run() -> None:
|
def run() -> None:
|
||||||
|
from . import app
|
||||||
_ = app.Application(sys.argv)
|
_ = app.Application(sys.argv)
|
||||||
|
|
|
@ -12,8 +12,6 @@ HColumnLayout {
|
||||||
|
|
||||||
property bool canLoadPastEvents: true
|
property bool canLoadPastEvents: true
|
||||||
|
|
||||||
Component.onCompleted: console.log("replaced")
|
|
||||||
|
|
||||||
id: chatPage
|
id: chatPage
|
||||||
onFocusChanged: sendBox.setFocus()
|
onFocusChanged: sendBox.setFocus()
|
||||||
|
|
||||||
|
|
|
@ -44,8 +44,8 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
if (initialPageSet) { return }
|
if (pageStack.initialPageSet) { return }
|
||||||
initialPageSet = true
|
pageStack.initialPageSet = true
|
||||||
showPage(accountsLoggedIn ? "Default" : "SignIn")
|
showPage(accountsLoggedIn ? "Default" : "SignIn")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user