Apparently on windows `Qt.inputMethod.visible` is always true when an input method is installed. Also on windows even after removing the check enter is still consumed by the input method, not nheko.
* First draft of unread line feature.
* Minor visual fix.
* Removed unnecessary ternary operator.
* Extended unread line functionality to work on minimised window or focusing another window.
* Fix for unread line not showing when last read message is hidden.
* Minor performance improvement. Fix for misbehaving event2order DB at application start.
* Fix for possible performance issues when user has joined a large number of rooms.
* Fix for breaking macos and clazy builds.
* Changed on windows focus function to refresh unread line if room is unread.
* Unread line is removed when user sends a message.
* Linting.
* Fixed unread line to work in standalone room windows.
* Switch isRoomUnread for index 0.
* Merged try/catch blocks.
* Fix for crash on opening a room invite.
* Call fullyReadEventId function when used instead of storing it and passing it through.
* Function that was meant to sync the unread line was relying on an async function, oops.
* Linting again.
* More linting...
* Minor changes.
This addresses a few problems with reaction colors:
- The state-checking conditionals for reaction text, background, and border
were inconsistent, making it difficult to choose colors for each state
(normal, hovered, and self reactions) that worked well in all themes.
- The QPalette::Highlight color was being misused as a text/foreground color.
This color role is intended for background areas. It has little contrast
against the background in themes like KDE Plasma's Breeze High Contrast,
so using it for text and icons makes those things difficult to read.
https://doc.qt.io/qt-5/qpalette.html#ColorRole-enum
- The reaction border was drawn in the same color as normal text, making it
so bright in some dark themes that it distracted from reading nearby text.
FixesNheko-Reborn/nheko#1159
Currently translated at 99.8% (806 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 99.8% (806 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 99.8% (806 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 99.8% (806 of 807 strings)
Co-authored-by: AXD <dexkingcrazy@gmail.com>
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Stanisław Borowy <stabor7@protonmail.com>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 77.6% (627 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 77.6% (627 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 77.3% (624 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 77.3% (624 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 70.0% (565 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 70.0% (565 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.8% (564 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.8% (564 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.6% (562 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.6% (562 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.5% (561 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.5% (561 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.2% (559 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.2% (559 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.0% (557 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.0% (557 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 68.7% (555 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 68.7% (555 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 68.2% (551 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 68.2% (551 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 68.0% (549 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 68.0% (549 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 67.6% (546 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 67.6% (546 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 67.5% (545 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 67.5% (545 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko