Obsolete
Status Update
Comments
hb...@gmail.com <hb...@gmail.com> #2
Which device? All devices supported in AOSP run either 4.1 or 4.3 at this point.
el...@gmail.com <el...@gmail.com> #3
Device Samsung Galaxy with android 4.0.4
hb...@gmail.com <hb...@gmail.com> #4
This report applies to an Android-based device, and the issue tracker where you reported it specializes in issues within the Open Source source code of the Android platform.
We are not able to provide support for individual devices. Please report this issue in the support forum for your device, which might be hosted by your device manufacturer or by the operator where you got your device.
We are not able to provide support for individual devices. Please report this issue in the support forum for your device, which might be hosted by your device manufacturer or by the operator where you got your device.
el...@gmail.com <el...@gmail.com> #5
I'm using Native ActionBar.
[Deleted User] <[Deleted User]> #6
I am experiencing this issue as well using the v7 AppCompat ActionBar library. The issue is resolved when the user rotates their device.
ad...@gmail.com <ad...@gmail.com> #7
#6 Of course, the layout is entirely redone in this case.
I have the feeling from what I saw on my apps that the title might be truncated when it has been set to a short string and then a larger one is set. But I never could reproduce it consistently, from time to time it appears. anything that re-draw the activity correct it.
I have the feeling from what I saw on my apps that the title might be truncated when it has been set to a short string and then a larger one is set. But I never could reproduce it consistently, from time to time it appears. anything that re-draw the activity correct it.
dz...@gmail.com <dz...@gmail.com> #8
[Comment deleted]
ha...@gmail.com <ha...@gmail.com> #9
Here is a solution for this:
1. get actionbar view
public View getActionBarView() {
Window window = getWindow();
View v = window.getDecorView();
int resId = getResources().getIdentifier("action_bar_container", "id", "android");
return v.findViewById(resId);
}
2. invalidate the actionbar after you set the title
1. get actionbar view
public View getActionBarView() {
Window window = getWindow();
View v = window.getDecorView();
int resId = getResources().getIdentifier("action_bar_container", "id", "android");
return v.findViewById(resId);
}
2. invalidate the actionbar after you set the title
en...@google.com <en...@google.com>
ja...@gmail.com <ja...@gmail.com> #10
Issue is not obsolete, using ActionBar.setTitle() still truncates a title longer than the previous title when there is plenty of room. None of the workarounds out there have worked so far.
ja...@onesheep.org <ja...@onesheep.org> #11
I am using the latest v7 AppCompat ActionBar and the issue still occurs. None of the workarounds work for me. How is this obsolete?
ad...@gmail.com <ad...@gmail.com> #12
Stating that an issue is obsolete is the oldest trick a developper uses to reduce the number of bugs his project might have.
"What!?! There are 150 unresolved issues on this topic ??"
"Uhh... Wait, all these bugs are from 2013, I close them, it's mid 2015 now"
"Oh, only 35 bugs left, good job man"
"What!?! There are 150 unresolved issues on this topic ??"
"Uhh... Wait, all these bugs are from 2013, I close them, it's mid 2015 now"
"Oh, only 35 bugs left, good job man"
rm...@massmutual.com <rm...@massmutual.com> #13
I still have this issue....
ma...@googlemail.com <ma...@googlemail.com> #14
I too have this issue. How can this be obsolete?
ma...@gmail.com <ma...@gmail.com> #15
Support v7 Action bar still have this issue
ko...@gmail.com <ko...@gmail.com> #16
[Comment deleted]
ko...@gmail.com <ko...@gmail.com> #17
[Comment deleted]
ko...@gmail.com <ko...@gmail.com> #18
workaround
getSupportActionBar().setTitle("");
getSupportActionBar().setTitle(title);
getSupportActionBar().setTitle("");
getSupportActionBar().setTitle(title);
jp...@gmail.com <jp...@gmail.com> #19
Just encounter this long standing bug, thanks for the workaround
Google still have a lot to learn, how can they mark this as obsolete. It's a wonder anyone ever develops for Android. They're just complacent thanks to their market share, but look what happened to Nokia.
Google still have a lot to learn, how can they mark this as obsolete. It's a wonder anyone ever develops for Android. They're just complacent thanks to their market share, but look what happened to Nokia.
ca...@callumtaylor.net <ca...@callumtaylor.net> #20
Im still seeing this issue and setting empty string first doesnt work, why is this marked as wont fix?
lb...@gmail.com <lb...@gmail.com> #21
This issue is not fixed. I still see this issue and no matter what I try, I see this issue. Even tried this StackOverflow solutions:
https://stackoverflow.com/q/15389663/878126
First title set determines the max length of the title for next setting of the title text.
I've starred similar reports here:
https://issuetracker.google.com/issues/37009620
https://issuetracker.google.com/issues/37125427
First title set determines the max length of the title for next setting of the title text.
I've starred similar reports here:
Description
I noticed a strange random behavior; sometimes the title in the action bar is truncated even if I have enough place. I've seen the issue in: 4.0.4 ICS smartphone as well as in a 7" tablet in landscape mode.
The title is something like: This is a trunc...