Assigned
Status Update
Comments
ph...@bridgeclublive.com <ph...@bridgeclublive.com> #2
I agree that this is a bug
PopUpWIndow is a useful way to simulate a PopOver as used by ios
Please fix thanks :-)
PopUpWIndow is a useful way to simulate a PopOver as used by ios
Please fix thanks :-)
me...@gmail.com <me...@gmail.com> #3
no any workaround so far? it was opened already more than half a year ago...
en...@google.com <en...@google.com>
ph...@bridgeclublive.com <ph...@bridgeclublive.com> #4
I object
How can a bug become obsolete !
It is a bug, and a bad one !
Do I have to rewrite my code and tell my customers that it is because Android does not support copy and paste for tablets
Phil
How can a bug become obsolete !
It is a bug, and a bad one !
Do I have to rewrite my code and tell my customers that it is because Android does not support copy and paste for tablets
Phil
ph...@bridgeclublive.com <ph...@bridgeclublive.com> #5
I am amazed!
A fundamental part of modern software is to allow copy and paste
Is android too focused on things like phones, games, etc. ?
An operating system with no copy and paste is so old fashioned
I am lost for words
Phil
A fundamental part of modern software is to allow copy and paste
Is android too focused on things like phones, games, etc. ?
An operating system with no copy and paste is so old fashioned
I am lost for words
Phil
ke...@gmail.com <ke...@gmail.com> #6
I've encountered the same problem too. Why does not Google fix this bug?
a....@gmail.com <a....@gmail.com> #7
They probably just do not consider this critical in any way. Probably will have to re-write everything to DialogFragments, if it will be at all possible
ph...@bridgeclublive.com <ph...@bridgeclublive.com> #8
Because they have flagged it as obsolete
Maybe: best is open a new case
And liaise here so we know that it has been opened and we can complain/add support
Phil
Maybe: best is open a new case
And liaise here so we know that it has been opened and we can complain/add support
Phil
yr...@gmail.com <yr...@gmail.com> #9
Is there any progress on that issue?
sq...@gmail.com <sq...@gmail.com> #10
Is there any progress on that issue?
lu...@gmail.com <lu...@gmail.com> #11
Is there any progress on that issue?
gu...@gmail.com <gu...@gmail.com> #12
Is there any progress on that issue?
by...@gmail.com <by...@gmail.com> #13
Is there any progress on that issue?
[Deleted User] <[Deleted User]> #14
I am still facing this issue. Is there any update on this.
cz...@gmail.com <cz...@gmail.com> #15
I am still facing this issue. Is there any update on this.
ch...@gmail.com <ch...@gmail.com> #16
Is there any progress on that issue?
ba...@live.com <ba...@live.com> #17
can not belive this! WHY ? If this is the expected behavior of WindowPopup then it should be mention on its limitation or something, why we should find this in Hard way. IF IT IS A BUG THEN BLOODY FIX IT.
ph...@bridgeclublive.com <ph...@bridgeclublive.com> #18
How can we get it back in the unfixed bug list ?
e....@gmail.com <e....@gmail.com> #19
If you're one of the unlucky ones still experiencing this, open a new issue and mention the exact conditions under which this is happening.
ph...@bridgeclublive.com <ph...@bridgeclublive.com> #20
228876
is the new issue
No-one has commented yet
is the new issue
No-one has commented yet
[Deleted User] <[Deleted User]> #21
[Comment deleted]
wa...@gmail.com <wa...@gmail.com> #22
a crash happened in Samsung S8+ with a long press touchevent on the edittext view
zz...@gmail.com <zz...@gmail.com> #23
A serious abnormality of Samsung S8, with a long press touchevent on the edittext view.
05-03 09:27:19.178 23086 23086 E AndroidRuntime: android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@7ee18c3 is not valid; is your activity running?
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.ViewRootImpl.setView(ViewRootImpl.java:907)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:377)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:105)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.PopupWindow.invokePopup(PopupWindow.java:1419)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1190)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1157)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.Editor$MagnifierView.updatePosition(Editor.java:8065)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.Editor$MagnifierView.handleTouchEvent(Editor.java:7970)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.Editor.performLongClick(Editor.java:1266)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.TextView.performLongClick(TextView.java:11197)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.View.performLongClick(View.java:6343)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.View$CheckForLongPress.run(View.java:23864)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:751)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6832)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1535)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1423)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@7ee18c3 is not valid; is your activity running?
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.ViewRootImpl.setView(ViewRootImpl.java:907)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:377)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:105)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.PopupWindow.invokePopup(PopupWindow.java:1419)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1190)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1157)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.Editor$MagnifierView.updatePosition(Editor.java:8065)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.Editor$MagnifierView.handleTouchEvent(Editor.java:7970)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.Editor.performLongClick(Editor.java:1266)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.widget.TextView.performLongClick(TextView.java:11197)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.View.performLongClick(View.java:6343)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.view.View$CheckForLongPress.run(View.java:23864)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:751)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6832)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1535)
05-03 09:27:19.178 23086 23086 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1423)
an...@gmail.com <an...@gmail.com> #24
the bug still exist
rk...@gmail.com <rk...@gmail.com> #25
The issue still exist. I am not able to Paste and copy in the edit text inside popup. This is a basic functionality which should definitely be there
sa...@google.com <sa...@google.com> #26
Apologies for the no explanation bulk close. I've reopened the bug as we are looking into it and have an internal bug tracking this request.
Thanks all for your feedback and comments. We'll make sure to keep this bug updated with what we decide to do.
Thanks all for your feedback and comments. We'll make sure to keep this bug updated with what we decide to do.
go...@philallen.co.uk <go...@philallen.co.uk> #27
:-) thank you
ma...@gmail.com <ma...@gmail.com> #28
Is there any update?
is...@google.com <is...@google.com>
on...@gmail.com <on...@gmail.com> #29
Thanks :-)
go...@gmail.com <go...@gmail.com> #30
Is there any update?
io...@gmail.com <io...@gmail.com> #31
any update? :|
zj...@gmail.com <zj...@gmail.com> #32
This issue is not fixed yet???
na...@gmail.com <na...@gmail.com> #33
Is there a fix for this issue yet? or at least a workaround?
kn...@gmail.com <kn...@gmail.com> #34
2013 - 2019 remain unfixed. :)
Textview is still un-selectable once put in a popupwindow.
Textview is still un-selectable once put in a popupwindow.
ro...@monday.com <ro...@monday.com> #35
can you please update whether there are plans to fix this issue?
gi...@gmail.com <gi...@gmail.com> #36
Sorry :)
vi...@google.com <vi...@google.com>
fo...@google.com <fo...@google.com> #37
girlscriptchennai@gmail.com has requested to automatically forward
mail to your email
address buganizer-system+190923+36984016@google.com.
Confirmation code: 118699422
To allow girlscriptchennai@gmail.com to automatically forward mail to
your address,
please click the link below to confirm the request:
https://mail-settings.google.com/mail/vf-%5BANGjdJ8OH7kiNLAf75QygfeTFjVIZmvZ8lJKecnbHZJD4hkm2wthvhuf-ShDrUy26DCej4o8tcYy6_-PzciRnZdC6G9Nw6YOPknZDoZkeSjywwTf1S9dY021YERxep8%5D-AM4pB76mtfCLDtC_kqfwy3oCxUE
If you click the link and it appears to be broken, please copy and paste it
into a new browser window. If you aren't able to access the link, you
can send the confirmation code
118699422 to girlscriptchennai@gmail.com.
Thanks for using Gmail!
Sincerely,
The Gmail Team
If you do not approve of this request, no further action is required.
girlscriptchennai@gmail.com cannot automatically forward messages to
your email address
unless you confirm the request by clicking the link above. If you accidentally
clicked the link, but you do not want to allow girlscriptchennai@gmail.com to
automatically forward messages to your address, click this link to cancel this
verification:
https://mail-settings.google.com/mail/uf-%5BANGjdJ8x-NFBxPDdX363YvmsfLm2CaBp9PBJEk2UTBHdMPd1PGRNlyVOIMiD7FprHlkINtgeRsS8jMS9EjM_207XK1iHTJxiS-b3HTHPcCLkBNqjL4Vz_xo3lmh4L3M%5D-AM4pB76mtfCLDtC_kqfwy3oCxUE
To learn more about why you might have received this message, please
visit:http://support.google.com/mail/bin/answer.py?answer=184973 .
Please do not respond to this message. If you'd like to contact the
Google.com Team, please log in to your account and click 'Help' at
the top of any page. Then, click 'Contact Us' along the bottom of the
Help Center.
mail to your email
address buganizer-system+190923+36984016@google.com.
Confirmation code: 118699422
To allow girlscriptchennai@gmail.com to automatically forward mail to
your address,
please click the link below to confirm the request:
If you click the link and it appears to be broken, please copy and paste it
into a new browser window. If you aren't able to access the link, you
can send the confirmation code
118699422 to girlscriptchennai@gmail.com.
Thanks for using Gmail!
Sincerely,
The Gmail Team
If you do not approve of this request, no further action is required.
girlscriptchennai@gmail.com cannot automatically forward messages to
your email address
unless you confirm the request by clicking the link above. If you accidentally
clicked the link, but you do not want to allow girlscriptchennai@gmail.com to
automatically forward messages to your address, click this link to cancel this
verification:
To learn more about why you might have received this message, please
visit:
Please do not respond to this message. If you'd like to contact the
Google.com Team, please log in to your account and click 'Help' at
the top of any page. Then, click 'Contact Us' along the bottom of the
Help Center.
gi...@gmail.com <gi...@gmail.com> #38
None
sr...@gmail.com <sr...@gmail.com> #39
Open a new issue and this isn't happening here !!
p....@squaregps.com <p....@squaregps.com> #40
Maybe it will help someone. The solution is taken from https://stackoverflow.com/a/61126872
```
override fun onBindViewHolder(viewHolder: ViewHolder, position: Int) {
yourTextView.fixTextSelection()
}
fun TextView.fixTextSelection() {
setTextIsSelectable(false)
post { setTextIsSelectable(true) }
}
```
```
override fun onBindViewHolder(viewHolder: ViewHolder, position: Int) {
yourTextView.fixTextSelection()
}
fun TextView.fixTextSelection() {
setTextIsSelectable(false)
post { setTextIsSelectable(true) }
}
```
jo...@mocha.global <jo...@mocha.global> #41
#40 thank you it helped me :)
ki...@gmail.com <ki...@gmail.com> #42
Damn, I'm too late:
HAPPY 10TH ANNIVERSARY, LITTLE ANDROID BUG!
HAPPY 10TH ANNIVERSARY, LITTLE ANDROID BUG!
le...@gmail.com <le...@gmail.com> #43
Oh god, still no official solution for this...
Unfortunately, "post {..}" solution above not working for me, because cause another bug.
Unfortunately, "post {..}" solution above not working for me, because cause another bug.
zh...@gmail.com <zh...@gmail.com> #44
I also ran into a problem with WindowManager.addView(customView,params); One of the TextViews in the customView has been set to allow long presses. Long presses on text can be highlighted, but the cursor and copy-cut menus do not pop up
ad...@ringcentral.com <ad...@ringcentral.com> #45
We also encountered the need to use the selection function of textview or edittext in popupwindow. I would like to ask if there is a fix plan? Or does anyone have other solutions?
Description
As an example build and run the attached project (I tested on a Nexus 7 running Android 4.2). Notice that if you long press on the EditText control you get grab handles for editing the selection. Then press the button that says "Click". Now you see a second (gray) EditText. This one is in a PopupWindow. Try to long press the text here. You will not get grab handles, and instead you get this debug output:
"TextView does not support text selection. Action mode cancelled."
As far as I can tell there is no workaround for this issue so if you know of one please let me know. Worse still, on some tablets (the Asus Transformer Pad running 4.2, for example) a long press will actually lead to a crash. It appears that the OEM's modified version of Android does not properly handle not having the text selection fields set up properly.
I see no reason why text selection should be unsupported in these EditText views just because they're in popups.