[gnome-shell/wip/carlosg/osk-widgetry-fixes: 2/3] keyboard: Do not reset to initial page on unmap
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/osk-widgetry-fixes: 2/3] keyboard: Do not reset to initial page on unmap
- Date: Tue, 21 Jan 2020 16:12:15 +0000 (UTC)
commit c9eb877f391443aa2b1c3cf5bed74857ea3835f1
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jan 21 16:35:07 2020 +0100
keyboard: Do not reset to initial page on unmap
It will happen before next map anyway, and most notably at times
actor sizes produce correct results.
Fixes oddities in emoji pager visibility after showing the emoji
panel, moving to another page, and hiding the OSK with the downward
arrow button. The next time the emoji panel would be shown, panels
had a chance to remain invisible.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/943
js/ui/keyboard.js | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index d4df7b26a6..e343c564ad 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -941,11 +941,6 @@ var EmojiSelection = GObject.registerClass({
super.vfunc_map();
}
- vfunc_unmap() {
- super.vfunc_unmap();
- this._emojiPager.setCurrentPage(0);
- }
-
_onPageChanged(sectionLabel, page, nPages) {
this._curPage = page;
this._pageIndicator.setNPages(nPages);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]