Obsolete
Status Update
Comments
dm...@gmail.com <dm...@gmail.com> #2
I guess hidden should just be defined. Meaning, right now, hidden should just defined as "whether this fragment was hidden as part of a transaction". Hidden is not equivalent with visibility. I think that's where the confusion comes from.
mu...@gmail.com <mu...@gmail.com> #3
We have passed this to the development team and will update this issue with more information as it becomes available.
ma...@gmail.com <ma...@gmail.com> #4
Yeah, I'm seeing this issue as well, currently this is the workaround that I've come up with:
// This method is called when hide()/show() methods are called on the transaction. Unfortunately Android doesn't
// propagate it to the child fragments (even though their visibility is affected by the parent visibility), so we
// do it manually.
override fun onHiddenChanged(hidden: Boolean) {
super.onHiddenChanged(hidden)
childFragmentManager.fragments.forEach { it.onHiddenChanged(hidden) }
}
// This method is called when hide()/show() methods are called on the transaction. Unfortunately Android doesn't
// propagate it to the child fragments (even though their visibility is affected by the parent visibility), so we
// do it manually.
override fun onHiddenChanged(hidden: Boolean) {
super.onHiddenChanged(hidden)
childFragmentManager.fragments.forEach { it.onHiddenChanged(hidden) }
}
il...@gmail.com <il...@gmail.com> #5
@4 That actually won't technically fix as isHidden() will technically mismatch with the state passed into the child fragment. Each child fragment legitimately needs to have their state set to hidden.
ar...@gmail.com <ar...@gmail.com> #6
Yeah, I realized that as I kept working further on it. Nevermind that solution, it doesn't work.
ni...@gmail.com <ni...@gmail.com> #7
@6 I don't know what the ramifications are, but when you iterate, you can save the "currentState" and then hide them all via a transaction. When restoring to visible, restore to the original state.
gt...@gmail.com <gt...@gmail.com> #8
Project: platform/frameworks/support
Branch: androidx-main
commit 02290cddca3d5e4dc94e2c5f77a6728ad970b204
Author: Jeremy Woods <jbwoods@google.com>
Date: Thu Oct 07 13:11:45 2021
Dispatch onHiddenChanged to child fragments
When a parent fragment is hidden all of its children will automatically
be hidden, but we never call onHiddenChanged on any of the children.
We should dispatch onHiddenChanged down parent's entire hierarchy and
ensure that `isHidden()` also considers the parent's state.
RelNote: "Parent fragments will now dispatch `onHiddenChanged()` down
their entire hierarchy before launching their own call back."
Test: added test
Bug: 77504618
Change-Id: Iedc201ab435cb963e81bc02d203d4d37ff827e01
M fragment/fragment/src/androidTest/java/androidx/fragment/app/FragmentViewTest.kt
M fragment/fragment/src/main/java/androidx/fragment/app/FragmentStateManager.java
M fragment/fragment/src/main/java/androidx/fragment/app/FragmentManager.java
M fragment/fragment/src/main/java/androidx/fragment/app/Fragment.java
https://android-review.googlesource.com/1850016
Branch: androidx-main
commit 02290cddca3d5e4dc94e2c5f77a6728ad970b204
Author: Jeremy Woods <jbwoods@google.com>
Date: Thu Oct 07 13:11:45 2021
Dispatch onHiddenChanged to child fragments
When a parent fragment is hidden all of its children will automatically
be hidden, but we never call onHiddenChanged on any of the children.
We should dispatch onHiddenChanged down parent's entire hierarchy and
ensure that `isHidden()` also considers the parent's state.
RelNote: "Parent fragments will now dispatch `onHiddenChanged()` down
their entire hierarchy before launching their own call back."
Test: added test
Bug: 77504618
Change-Id: Iedc201ab435cb963e81bc02d203d4d37ff827e01
M fragment/fragment/src/androidTest/java/androidx/fragment/app/FragmentViewTest.kt
M fragment/fragment/src/main/java/androidx/fragment/app/FragmentStateManager.java
M fragment/fragment/src/main/java/androidx/fragment/app/FragmentManager.java
M fragment/fragment/src/main/java/androidx/fragment/app/Fragment.java
cw...@gmail.com <cw...@gmail.com> #9
This has been fixed internally and will be available in the Fragment 1.4.0-beta01
release.
ju...@gmail.com <ju...@gmail.com> #10
This needs to get done... it's crazy that my gmail contacts are all displayed by Nickname (in my case FirstName LastInitial) - but full names are displayed on my phone. Not everyone appreciates having their full name show up in the address fields when I send mass emails - hence my use of last initial only - but not on Android... very vexing.
Only work around is to edit ALL MY CONTACTS to make First Name into the name I want displayed and then stash real names in some other field? Ridiculous.
Only work around is to edit ALL MY CONTACTS to make First Name into the name I want displayed and then stash real names in some other field? Ridiculous.
di...@gmail.com <di...@gmail.com> #11
It is a funny issue. It actually looks for it whenever you type into the search bar, even though displays a different name.
I think this is an important feature. It should be implemented as a priority list, so you could decide for example to use nickname for all those on where it is available and let´s say full name as fallback option.
I think this is an important feature. It should be implemented as a priority list, so you could decide for example to use nickname for all those on where it is available and let´s say full name as fallback option.
tr...@gmail.com <tr...@gmail.com> #12
It's especially strange since Google Contacts has the "File As" field. This should be available to Android devices for sync and sorting.
av...@gmail.com <av...@gmail.com> #13
Await this to be implemented
te...@gmail.com <te...@gmail.com> #14
This is absolutely necesarry, even my old cellphone allowed this, when I moved to Android smartphone it bothers me. I could organize all my google contacts, they now display correct name but only in my browser, Android 4.0.4 smart is still showing the same contacts in format "Family Name", "Given Name" "Additional Name".
ja...@gmail.com <ja...@gmail.com> #15
Android 4.2.1, same problem.
jg...@gmail.com <jg...@gmail.com> #16
Nearly 3 years and still no solution? All the methods needed are already in place, it should be a simple fix.
bi...@gmail.com <bi...@gmail.com> #17
This is crazy I've spent a good amount of time cleaning up all my contact only to find out that I can't sort them on the "File As" field. This is one of the few things that Google needs to take a note from Microsoft on. FIX THIS PLEASE!!!!
es...@gmail.com <es...@gmail.com> #18
Field "file as" is correctly implemented on Google Contacts and sorting on GMail website is correct, but it would be nice to be able to display sort the contacts file "file as" field inside Android.
At the moment there is no point on classifying all my contacts with the full name of each one (and note that in Spain each individual has at least TWO last names) if later we're uanble to display and sort them just by that field nor the "nickname" field and we are only able to see our contact list with the full name of each person (ex.: "Mr. José MarÃa Gonzalez Rodriguez" instead of "Pepe").
At the moment there is no point on classifying all my contacts with the full name of each one (and note that in Spain each individual has at least TWO last names) if later we're uanble to display and sort them just by that field nor the "nickname" field and we are only able to see our contact list with the full name of each person (ex.: "Mr. José MarÃa Gonzalez Rodriguez" instead of "Pepe").
kr...@gmail.com <kr...@gmail.com> #19
Please fix this and/or the phonetic sorting bug, Google! It should be pretty easy. They are basic app functions.
st...@gmail.com <st...@gmail.com> #20
What's happening with this bug? It causes a huge inconvenience, yet should be trivial to resolve.
an...@gmail.com <an...@gmail.com> #21
I gave up. They're not adding this useful and basic new feature. My solution was using 'name' field as 'file as' and storing full name and surname in personalized fields.
en...@google.com <en...@google.com>
mu...@gmail.com <mu...@gmail.com> #22
Why this issue is marked Obolete? This is not fixed!!
se...@gmail.com <se...@gmail.com> #23
Could you please comment your decision?
mu...@gmail.com <mu...@gmail.com> #24
On Android 4.4 and 5.0 this issue is not fixed.
For example, in Google Contacs I have contact with name "Alexey Ivanov" (this is my father), in Gmail I see field "File as" that I fill "Father". And in Gmail contacts list I see this contact with "Father" name and can search it via "father" keyword.
But in Android contacts I see it with name "Alexey Ivanov" instead of "Father", and it is not searchable with keyword "Father".
Same problem with mother, grandmother, friends (I want to fill full name, but see only Nickname in contact list).
Can you implement "File as" fiels for Android system?
For example, in Google Contacs I have contact with name "Alexey Ivanov" (this is my father), in Gmail I see field "File as" that I fill "Father". And in Gmail contacts list I see this contact with "Father" name and can search it via "father" keyword.
But in Android contacts I see it with name "Alexey Ivanov" instead of "Father", and it is not searchable with keyword "Father".
Same problem with mother, grandmother, friends (I want to fill full name, but see only Nickname in contact list).
Can you implement "File as" fiels for Android system?
no...@gmail.com <no...@gmail.com> #25
You can add a nickname field in Lollipop.
se...@gmail.com <se...@gmail.com> #26
As I see in Android 5.0 you have possibility to search by this field.
One thing still missing: show user nick in list of contacts.
One thing still missing: show user nick in list of contacts.
mu...@gmail.com <mu...@gmail.com> #27
Field "nickname" was exist on Android 4.x versions too. But it does not replace "File as" field.
Field "File as" store string how I want to see this contact in list. Not for all contacts I know name or familyname, for some contacts I know only Organisation name or some different info. For other contacts I know to see additional info in contact list.
Here is examples that demonstrate the problem:
1. Alexander SuperCompany Top Manager
2. Svetlana (Ivan Petrov wife)
3. SuperCompany1 director
4. SuperCompany2 call center
5. SuperCompany3 manager 1
6. SuperCompany3 manager 2
7. Alexey friend of Sergey Sidorov
Field "File as" store string how I want to see this contact in list. Not for all contacts I know name or familyname, for some contacts I know only Organisation name or some different info. For other contacts I know to see additional info in contact list.
Here is examples that demonstrate the problem:
1. Alexander SuperCompany Top Manager
2. Svetlana (Ivan Petrov wife)
3. SuperCompany1 director
4. SuperCompany2 call center
5. SuperCompany3 manager 1
6. SuperCompany3 manager 2
7. Alexey friend of Sergey Sidorov
ja...@gmail.com <ja...@gmail.com> #28
This seems like an easy feature to enable if the developers would simply make available additional choices (on an Android phone) to Contacts -> Settings -> Sort by. Right now (Android 5.0) your only choices are "First name" or "Last name." If they added "Nickname" and/or "File As," fields that can be populated on the phone and/or on the web, your list of contacts might read:
A+ Plumbing
Doctor
Uncle Sam
rather than:
John Smith
Dr. Jane Doe
Sam Vespucci
Any contacts without the "Nickname" or "File As" field populated could default to being sorted by, for example, last name.
A+ Plumbing
Doctor
Uncle Sam
rather than:
John Smith
Dr. Jane Doe
Sam Vespucci
Any contacts without the "Nickname" or "File As" field populated could default to being sorted by, for example, last name.
ha...@gmail.com <ha...@gmail.com> #29
Plus 1 to introduce this very necessary feature. Just moved from iPhone (where the "File As" field is supported) to Android (where it is not - despite Android being much more closely coupled with Google Contacts) and finding its absence very difficult to live with.
er...@gmail.com <er...@gmail.com> #30
Please explain why this very basic functionality is still not implemented! (It was pretty common long before phones became "smart"...)
a....@gmail.com <a....@gmail.com> #31
I really don't understand why this feature has not been implemented yet. Indeed, if we couple this with the fact that Google recently removed support for groups in their Contacts app for Android, it seems Android is taking quite a few (significant!) steps back in terms of usability.
Even worse is the fact that Contacts (web app) supports the feature in question, which means the data is already there for many contacts, but (stupid) Android isn't able to use it.
The absolute worst in all of this is marking the issue as obsolete and not even commenting on the reasons why.
It's a shame, really. And ridiculous too.
Even worse is the fact that Contacts (web app) supports the feature in question, which means the data is already there for many contacts, but (stupid) Android isn't able to use it.
The absolute worst in all of this is marking the issue as obsolete and not even commenting on the reasons why.
It's a shame, really. And ridiculous too.
br...@gmail.com <br...@gmail.com> #32
I was using this feature very happily on an ancient Samsung Omnia and figured it would be available at some point on my Android phone - I was wrong. I would really like to hear the reason why a project member has marked it "Obsolete". A feature available on Gmail online but not on my android phone where it's more important. I know a number of people with the same first and last names and shouldn't have to click in to see further details to know which one I want - I want the "file as" function that you have gone out of your way to add on gmail to be available for use in displaying my contacts on android!
rm...@gmail.com <rm...@gmail.com> #33
Extremely sad that engineers cannot understand the full use-cases for "contacts".
Clearly, Name (prefix, first name, middle name, last name, suffix), Phonetic name and Nickname are all different fields with different usage than "File As" field.
Age-old contact managers and CRMs (even Microsoft Outlook and windows mobile which is a decade-old, now obsolete OS!) realized this and offered all these as separate fields to be exploited by users.
Unfortunately, google, in particular android group, continues to ignore the requirement of so many users!
Clearly, Name (prefix, first name, middle name, last name, suffix), Phonetic name and Nickname are all different fields with different usage than "File As" field.
Age-old contact managers and CRMs (even Microsoft Outlook and windows mobile which is a decade-old, now obsolete OS!) realized this and offered all these as separate fields to be exploited by users.
Unfortunately, google, in particular android group, continues to ignore the requirement of so many users!
Description
And I want to see each contacts in different ways:
One is "Surname Name", second is "Organization: Surname Name", next is only
"Nickname", other is with custom text, etc.
In Windows Mobile 6.5 I have the field "File as" in which I can fill the
name from some templates, and type any custom text.
And after than I see all contacts displayed as "File as" field content, and
sorted via "File as" field.
In Android I can't find any way how to do this.
Can you add this feature?