Skip to content

Commit aa2762f

Browse files
committed
Fix popup windows from disappearing in MythCenter-wide when using the
virtual keyboard. Adapted from a patch by Harley Peters <harley@thepetersclan.com> for the TintedGlass theme. Disable some "AboutToHide" animations in the MythCenter-wide theme for popup windows that can access the virtual keyboard. The animations cause the window to disappear when the virtual keyboard is displayed and consequently don't show what is typed. The "AboutToShow" animations remain in effect, and unfortunately, cause some flickering when the virtual keyboard is dismissed. Even with the flickering, this is better than not being able to see what is typed. Hopefully a better fix can be made to 0.25-fixes later.
1 parent 393295c commit aa2762f

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

mythtv/themes/MythCenter-wide/base.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,12 +907,14 @@
907907
</section>
908908
</animation>
909909

910+
<!-- Disappears when virtual keyboard is used
910911
<animation trigger="AboutToHide">
911912
<section>
912913
<alpha start="255" end="0" easingcurve="InQuart"/>
913914
<zoom start="100" end="0" easingcurve="InQuart"/>
914915
</section>
915916
</animation>
917+
-->
916918

917919
<imagetype name="backimg">
918920
<area>0,0,587,170</area>
@@ -944,12 +946,14 @@
944946
</section>
945947
</animation>
946948

949+
<!-- Disappears when virtual keyboard is used
947950
<animation trigger="AboutToHide">
948951
<section>
949952
<alpha start="255" end="0" easingcurve="InQuart"/>
950953
<zoom start="100" end="0" easingcurve="InQuart"/>
951954
</section>
952955
</animation>
956+
-->
953957

954958
<imagetype name="backimg">
955959
<area>0,0,500,500</area>
@@ -1122,12 +1126,14 @@
11221126
</section>
11231127
</animation>
11241128

1129+
<!-- Disappears when virtual keyboard is used
11251130
<animation trigger="AboutToHide">
11261131
<section>
11271132
<alpha start="255" end="0" easingcurve="InQuart"/>
11281133
<zoom start="100" end="0" easingcurve="InQuart"/>
11291134
</section>
11301135
</animation>
1136+
-->
11311137

11321138
<imagetype name="box">
11331139
<filename>mythprogressdialog-background.png</filename>

mythtv/themes/MythCenter-wide/music-ui.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,12 +1696,14 @@
16961696
</section>
16971697
</animation>
16981698

1699+
<!-- Disappears when virtual keyboard is used
16991700
<animation trigger="AboutToHide">
17001701
<section>
17011702
<alpha start="255" end="0" easingcurve="InQuart"/>
17021703
<zoom start="100" end="0" easingcurve="InQuart"/>
17031704
</section>
17041705
</animation>
1706+
-->
17051707

17061708
<imagetype name="box">
17071709
<position>0,0</position>

mythtv/themes/MythCenter-wide/schedule-ui.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,12 +960,14 @@
960960
</section>
961961
</animation>
962962

963+
<!-- Disappears when virtual keyboard is used
963964
<animation trigger="AboutToHide">
964965
<section>
965966
<alpha start="255" end="0" easingcurve="InQuart"/>
966967
<zoom start="100" end="0" easingcurve="InQuart"/>
967968
</section>
968969
</animation>
970+
-->
969971

970972
<imagetype name="box">
971973
<filename>mythdialogbox-background.png</filename>
@@ -1136,12 +1138,14 @@
11361138
</section>
11371139
</animation>
11381140

1141+
<!-- Disappears when virtual keyboard is used
11391142
<animation trigger="AboutToHide">
11401143
<section>
11411144
<alpha start="255" end="0" easingcurve="InQuart"/>
11421145
<zoom start="100" end="0" easingcurve="InQuart"/>
11431146
</section>
11441147
</animation>
1148+
-->
11451149

11461150
<imagetype name="box">
11471151
<area>0,0,500,550</area>
@@ -1344,12 +1348,14 @@
13441348
</section>
13451349
</animation>
13461350

1351+
<!-- Disappears when virtual keyboard is used
13471352
<animation trigger="AboutToHide">
13481353
<section>
13491354
<alpha start="255" end="0" easingcurve="InQuart"/>
13501355
<zoom start="100" end="0" easingcurve="InQuart"/>
13511356
</section>
13521357
</animation>
1358+
-->
13531359

13541360
<imagetype name="backimg">
13551361
<filename>mythprogressdialog-background.png</filename>

0 commit comments

Comments
 (0)