repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
materialcomponentsmaterialcomponentsandroid
bottomsheetbehavior set important for accessibility no hide descendant on child view even though the view may be visible
Bug
description bottomsheetbehavior set the important for accessibility no hide descendant on child view even if they be visible we resize this view to attach they to the top of our bottom sheet this break talkback for these child as their view be visible the bottom sheet be in expanded or partial expand state expect behavior it only turn off accessibility for none visible view source code the code snippet which be cause this issue please consider attach a minimal sample app that reproduce the issue assume that the view be invisible due to the bottom sheet have expand partially expand state but I think that assumption isn t safe at least for my case line 1455 and 1456 of material component android lib java com google android material bottomsheet bottomsheetbehavior java viewcompat setimportantforaccessibility child viewcompat important for accessibility no hide descendant android api version see the issue across the board but min sdk 19 for the app material library version support 28 and material 1 0 0 device pixel 3 emulator of pixel 2 test on material 1 0 0 alpha9 and see it reproduce also see it in the code we also happily accept pull request
materialcomponentsmaterialcomponentsandroid
floatingactionbutton translucent background visual bug
Bug
description I can t find a way to set a translucent background color to either floatingactionbutton or extendedfloatingactionbutton set app backgroundtint to a translucent color will show a weird shape in the middle or behind the button set android alpha to the button itself will result in make the inner icon or text translucent which be not the intend behaviour code and screenshot app backgroundtint 4dffffff tint alpha app backgroundtint ffffff android alpha 0 3 fab alpha
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout the toolbar not stop scroll when collapse
Bug
description after change the scroll activity project that google provide in android studio and update the package com google android material material to version 1 1 0 alpha09 I notice that when I scroll the toolbar after collapse it bounce expect behaviour I make a little video here source code android api version minimun 27 target 29 android emulator 28 material library version com google android material material 1 1 0 alpha09 device pixel 3xl emulator to help we triage fast please check to make sure you be use the late version of the library we also happily accept pull request
materialcomponentsmaterialcomponentsandroid
bottomsheetbehavior state be incorrect if update during settle animation
Bug
description bottomsheetbehavior state be not update correctly if it be update during the bottomsheetbehavior settle state bottomsheetcallback onstatechange be not call with the correct value either visually the sheet be in the proper state expect behavior bottomsheetbehavior state should match its visual state and bottomsheetcallback onstatechange should be call with the late state change source code sample project bottomsheetdemo zip snippet to reproduce bug kotlin class bottomsheetview jvmoverload constructor context context attrs attributeset null defstyleattr int 0 defstylere int 0 framelayout context attrs defstyleattr defstylere coordinatorlayout attachedbehavior private val bottomsheetbehavior bottomsheetbehavior init initialize sheet to be hide and set callback for when the state change bottomsheetbehavior ishideable true bottomsheetbehavior setbottomsheetcallback object bottomsheetbehavior bottomsheetcallback override fun onslide p0 view p1 float unit override fun onstatechange p0 view p1 int println state change p1 updatestate bottomsheetbehavior state hide override fun onattachedtowindow super onattachedtowindow update state to be expand from hidden postdelaye updatestate bottomsheetbehavior state expand update state to be hide from expand during the settle animation postdelaye updatestate bottomsheetbehavior state hide query the state of the sheet after animation complete postdelaye println query state bottomsheetbehavior state 1000 300 3000 private fun updatestate state int println update state to state bottomsheetbehavior state state override fun getbehavior coordinatorlayout behavior bottomsheetbehavior on 1 1 0 alpha03 and new version include 1 1 0 alpha09 the above output update state to 5 update state to 3 state change 2 update state to 5 state change 3 query state 3 on 1 0 0 the above output update state to 5 update state to 3 state change 2 update state to 5 state change 3 state change 5 query state 5 the sheet s end state should be hide 5 but it return expand 3 android api version reproducible on api 21 lollipop and 29 q beta material library version 1 1 0 alpha09 device nexus 5x emulator and pixel 3
materialcomponentsmaterialcomponentsandroid
textinputlayout disabled widget state doesn t use color from colorstatelist
Bug
description set colorstatelist for textinputlayout attribute android textcolorhint or hinttextcolor doesn t set color in disabled state expect behavior these attribute should utilize different color from colorstatelist material library version 1 1 0 alpha09
materialcomponentsmaterialcomponentsandroid
materialbutton button have background opacity when night mode set on pre q
Bug
description when build an alertdialog use materialalertdialogbuilder with app theme inherit from theme materialcomponent daynight noactionbar dialog s positive and negative button get background opacity this happen only when night mode be set programmatically on pre q device if version sdk int version code q appcompatdelegate setdefaultnightmode appcompatdelegate mode night yes material alert dialog button background expect behavior dialog button background should be transparent textbutton style source code please see a minimum reproducible example app here android api version api 27 material library version 1 1 0 alpha09 device lg g7 fit
materialcomponentsmaterialcomponentsandroid
appbarlayout give an error in android studio ide when I use 1 1 0 alpha09 version
Bug
when I add appbarlayout in xml file I receive an error app be work but I don t see my design on android studio java lang illegalargumentexception java lang classcastexception 2ea977af at com google android material appbar appbarlayout drawablestatechange appbarlayout java 392
materialcomponentsmaterialcomponentsandroid
materialbuttontogglegroup can not contain 5 button or more
Bug
description if I add more than four button to materialbuttontogglegroup not all of they be show even if the space be sufficient instead in the end I see three dot I m not sure if this be the desire behaviour if so it would be necessary to add an option to turn it off screenshot expect behavior I need to add and display more than four button screenshot material library version 1 1 0 alpha09 device pixel 2 pixel nexus 10 nexus s
materialcomponentsmaterialcomponentsandroid
materialbutton cause the layout preview to not render
Bug
description add a materialbutton to a layout cause the layout preview to not render expect behavior the preview render without button studio64 zk4hnda4zt with button studio64 4e7enn9j2x stacktrace java lang illegalargumentexception java lang classcastexception 74ede7a7 at sun reflect generatedmethodaccessor729 invoke unknown source at sun reflect delegatingmethodaccessorimpl invoke delegatingmethodaccessorimpl java 43 at java lang reflect method invoke method java 498 at android animation propertyvaluesholder delegate callmethod propertyvaluesholder delegate java 108 at android animation propertyvaluesholder delegate ncallfloatmethod propertyvaluesholder delegate java 143 at android animation propertyvaluesholder ncallfloatmethod propertyvaluesholder java at android animation propertyvaluesholder access 400 propertyvalueshold java 38 at android animation propertyvaluesholder floatpropertyvalueshold setanimatedvalue propertyvaluesholder java 1387 at android animation objectanimator animatevalue objectanimator java 990 at android animation valueanimator animatebasedontime valueanimator java 1339 at android animation valueanimator doanimationframe valueanimator java 1471 at android animation valueanimator pulseanimationframe valueanimator java 1490 at android animation animatorset pulseframe animatorset java 1163 at android animation animatorset handleanimationevent animatorset java 1146 at android animation animatorset doanimationframe animatorset java 1046 at android animation animationhandler doanimationframe animationhandler java 146 at android animation animationhandler access 100 animationhandler java 37 at android animation animationhandler 1 doframe animationhandler java 54 at android view choreographer callbackrecord run choreographer java 947 at android view choreographer docallback choreographer java 761 at android view choreographer delegate doframe choreographer delegate java 66 at com android layoutlib bridge impl rendersessionimpl renderandbuildresult rendersessionimpl java 559 at com android layoutlib bridge impl rendersessionimpl render rendersessionimpl java 425 at com android layoutlib bridge bridgerendersession render bridgerendersession java 120 at com android ide common rendering api rendersession render rendersession java 151 at com android ide common rendering api rendersession render rendersession java 133 at com android tool idea render rendertask lambda null 8 rendertask java 755 at java util concurrent completablefuture asyncsupply run completablefuture java 1590 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1142 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 617 at java lang thread run thread java 745 source code any button code xml android api version 28 material library version 1 1 0 alpha09 occur on android studio 3 4 2
materialcomponentsmaterialcomponentsandroid
source code move minsdk from manifest to build file
Bug
description currently the project doesn t sync properly in android studio 3 4 2 manifest in module lib and material theme builder contain minsdk constraint as well as targetsdk which should be declare in a build file expect behavior freshly download project should sync properly material library version material android library version you be use here e g 1 1 0 alpha09
materialcomponentsmaterialcomponentsandroid
coordinatorlayout snackbar not show above fab
Bug
edit just find out that snackbar be now suppose to be show above the fab see placement image original issue description I m use a fab and go edge to edge to have the fab respect the window inset I ve update its margin with systemwindowinsetbottom so far so good now when show a snackbar the fab move up thank to coordinatorlayout but because it now have much more margin now it move up too much expect behavior when the snackbar be show systemwindowinsetbottom need to be 0 because the snackbar become the new bottom anchor for the fab source code I m use the following function to update the margin of the fab fab addsystemwindowinsettopadde bottom true kotlin fun view addsystemwindowinsettomargin leave boolean false top boolean false right boolean false bottom boolean false val initialleft initialtop initialright initialbottom listof marginleft margintop marginright marginbottom viewcompat setonapplywindowinsetslistener this view inset view updatelayoutparam this as viewgroup marginlayoutparam let updatemargin leave initialleft if leave inset systemwindowinsetleft else 0 top initialtop if top inset systemwindowinsettop else 0 right initialright if right inset systemwindowinsetright else 0 bottom initialbottom if bottom inset systemwindowinsetbottom else 0 inset screenshot with the inset respect for the margin of the fab it look like this content flow behind the navigation bar fab be correctly above it image with the snackbar show the fab get move up anchor to the top of the snackbar instead of the bottom of the screen image android api version android q beta 5 material library version 1 1 0 alpha09 device pixel 3
materialcomponentsmaterialcomponentsandroid
snackbar gradle lint task fail inconsistently wrongconstant
Bug
description gradlew lint would fail on material v1 1 0 alpha07 and before and android studio would show a lint error for snackbar make view replace with your own action basetransientbottombar length long with a wrongconstant error snackbar length long should be use instead on v1 1 0 alpha08 and v1 1 0 alpha09 gradlew lint fail sometimes about half the time and the android studio lint error be no long show this also happen on v1 2 0 alpha03 expect behavior the gradle lint task fail or succeed consistently and android studio s linter reflect this success failure source code kotlin snackbar make view replace with your own action basetransientbottombar length long android api version 28 material library version ok v1 1 0 alpha 07 and early not ok v1 1 0 alpha08 v1 1 0 alpha09 v1 2 0 alpha03 device n a
materialcomponentsmaterialcomponentsandroid
textinputlayout endiconmode change dynamically not possible
Bug
description change endiconmode of a textinputlayout combination with textinputedittext do not work dynamically to reproduce set a textbox endiconmode first to clear after that set endiconmode to custom and set a custom icon drawable produce strange result the end icon be not visible anymore after press tap the area where the endicon should reside the icon be visible for a short period of time millisecond show the change icon expect behavior endiconmode should change dynamically without cause it to break endicon functionality source code initial state textbox endiconmode clear later change from an event outside button click something else textbox endiconmode custom textbox endicondrawable somedrawable android api version 28 material library version 1 1 0 alpha09 device samsung galaxy s9 emulator
materialcomponentsmaterialcomponentsandroid
textinputlayout espresso test of screen contain textinputlayout with endicon fail with appnotidleexception
Bug
hello description I have a few screen contain textinputlayout if any of those input have endicon set e g endiconmode passwordtoggle endiconmode custom then all test fail with appnotidleexception if I change endiconmode none everything work as before I be use version 1 0 0 now update to 1 1 0 alpha09 in 1 0 0 I be use setpasswordvisibilitytoggle method expect behavior espresso test be pass as in previous version android api version 21 28 material library version 1 1 0 alpha09 device android emulator configure for espresso testing I be also unable to use layout inspector on such screen the device may be too slow the capture view may be too complex or the view may contain animation with endiconmode none there be no problem with capture layout
materialcomponentsmaterialcomponentsandroid
attempt to invoke virtual method java lang object java lang ref weakreference get on a null object reference
Bug
crash type summary location com google android material bottomsheet bottomsheetbehavior setstateinternal exception java lang nullpointerexception message attempt to invoke virtual method java lang object java lang ref weakreference get on a null object reference
materialcomponentsmaterialcomponentsandroid
textinputedittext lose focus
Bug
description textinputedittext where the inputtype numberdecimal inside reyclerview item lose focus after keyboard popup so user can not enter any number value expect behavior user can enter number without any problem source code android api version android api version here material library version 1 1 0 alpha08 1 1 0 alpha09 device galaxy note 9 sm n960f ds to help we triage fast please check to make sure you be use the late version of the library
materialcomponentsmaterialcomponentsandroid
bottomnavigationview add extra padding
Bug
description whenever full screen mode enable by code icon be shrink and after debug I get to know that it s add extra padding at the bottom expect behavior photo 2019 08 05 09 32 42 source code val flag view system ui flag layout stable or view system ui flag layout hide navigation or view system ui flag layout fullscreen or view system ui flag hide navigation or view system ui flag fullscreen or view system ui flag immersive sticky if preferenceutil getinstance fullscreenmode window decorview systemuivisibility flag android api version android 28 material library version 1 1 0 alpha09 device xioami pocco f1 to help we triage fast please check to make sure you be use the late version of the library we also happily accept pull request
materialcomponentsmaterialcomponentsandroid
materialcardview strokecolor do not follow card corner
Bug
description materialcardview stroke color do not follow exactly the card corner leave a blank space source code android api version 29 material library version 1 1 0 this be the output
materialcomponentsmaterialcomponentsandroid
snackbar snackbarbaselayout leak by accessibilitymanager when never attach
Bug
description in material library 1 0 0 when a basetransientbottombar snackbarbaselayout instance be create it register a touchexplorationstatechangelistener which it then unregister ondetachedfromwindow if the snackbarbaselayout be create but never attach which happen then it never get detach when the underlying context an activity get destroy the touchexplorationstatechangelistener be keep in memory by accessibilitymanager hold on to its outer class snackbarbaselayout which itself hold on to its context a destroy activity effectively snackbarbaselayout be leak destroy activity and the entire view hierarchy material library version 1 0 0 leak introduce in fa9d470741a913359ad0db7e3415191afc9aa826 note this bug be fix in 1 1 0 alpha as the touchexplorationstatechangelistener be remove in 979e577681fe5103af97170d6fd310a17c42fa8c I m report it here because in case you want to release a 1 0 0 bugfix here be the leak trace android view accessibility accessibilitymanager leak no a class be never leak gc root system class static accessibilitymanager sinstance android view accessibility accessibilitymanager leak unknown accessibilitymanager mtouchexplorationstatechangelisteners android util arraymap leak unknown arraymap marray java lang object leak unknown array object 4 androidx core view accessibility accessibilitymanagercompat touchexplorationstatechangelistenerwrapper leak unknown accessibilitymanagercompat touchexplorationstatechangelistenerwrapper mlistener com google android material snackbar basetransientbottombar snackbarbaselayout 1 leak unknown basetransientbottombar snackbarbaselayout 1 this 0 com google android material snackbar snackbar snackbarlayout leak yes view mcontext reference a destroy activity mcontext instance of android view contextthemewrapper wrapping activity com twaice twaice mainactivity with mdestroye true view mparent be null view mattachinfo be null view detach view mwindowattachcount 0 this memory leak be report on stack overflow the question do not provide the leak trace however there s a link to the hprof on google drive and I run the analysis on that hprof
materialcomponentsmaterialcomponentsandroid
when I try to hide botttomappbar leave a white space bottom of page
Bug
when open fragment I want to hide bottomappbar in activity mbottomappbar setvisibility view go I write this code but leave a white space in page how can I hide bottomappbar in activity when open fragment
materialcomponentsmaterialcomponentsandroid
exposeddropdownmenu no padding when autocomplete textview be not editable
Bug
description no padding be add when autocompletetextview be not editable on api 16 expect behavior padding should be apply like the editable dropdown menu source code xml android api version api 16 material library version 1 1 0 alpha09 device 1 emulator api 17 work fine 2 emulator api 19 android 4 4 2 work fine 3 asus zenfone max pro m1 android 8 1 0 api 27 work fine 4 nokia 3 android 9 api 28 work fine 5 emulator api 16 4 1 2 not work note ahhhhh I waste 1 day of my weekend hahahah this only happen on api 16 I didn t test on api low than 16 screenshot on emulator api 16 4 1 2 see the 3rd item with text item 3 device 2019 08 04 034906 on emulator api 16 4 1 2 device 2019 08 04 160532 but if you starticondrawable in textinputlayout and it s work fine device 2019 08 04 153644
materialcomponentsmaterialcomponentsandroid
materialdatepicker crash with bridge theme
Bug
description crash occur due to miss materialcalendartheme attribute in bridge theme error message java lang illegalargumentexception com google android material picker materialdatepicker require a value for the com company myapplication attr materialcalendartheme attribute to be set in your app theme you can either set the attribute in your theme or update your theme to inherit from theme materialcomponent or a descendant material library version 1 1 0 alpha09
materialcomponentsmaterialcomponentsandroid
bottomnavigationview shouldn t calculate bottom system inset when keyboard popup in adjustresize
Bug
in 1 1 0 alpha09 update bottomnavigation to respect bottom system inset I find that in adjustresize mode bottomnavigationview will be push up align with keyboard pop up and inset getsystemwindowinsetbottom will be keyboard hight cause bottomnavigationview increase pad bottom to double keyboard hight from screen bottom
materialcomponentsmaterialcomponentsandroid
textinputlayout set end icon password toggle programmatically do not hide password by default
Bug
description when use endiconmode with end icon password toggle programmatically the password be visible by default when it should be hide expect behavior password should be hide when use the property programmatically like it be happen when use ispasswordvisibilitytoggleenable source code mycustomedittext kt class mycustomedittext jvmoverload constructor context context attrs attributeset null defstyleattr int 0 textinputlayout context attrs defstyleattr init inflate context r layout edit text this input inputtype inputtext type text variation password endiconmode end icon password toggle edit text xml android api version 28 material library version 1 1 0 alpha09 device pixel 3 xl emulator
materialcomponentsmaterialcomponentsandroid
materialshapedrawable triangleedgetreatment break elevation shadow
Bug
description seem like apply triangleedgetreatment to the edge of shapeappearancemodel change the elevation to be dark and cut the triangle at the same time wrap all of this in rippledrawable completely annihilate the shadow all of this do not happen without change edgetreatment though clipchildren and cliptopadde do not help here be a screenshot and a github repo with the project produce the screenshot version device android emulator api 28 pixel 1 mc 1 1 0 alpha09
materialcomponentsmaterialcomponentsandroid
material component no work color of style xml
Bug
I find the problem the problem be when I use implementation com google android material material 1 1 0 alpha09 and now all my color stop work but when I go back to implementation com google android material material 1 0 0 my application return to normal use com google android material material 1 1 0 alpha09 img 20190722 112514 use com google android material material 1 0 0 img 20190722 112606 this be the code of the style xml this be the code of the button show in the screenshot even create another project and use com google android material material 1 1 0 alpha09 and likewise color like the coloraccent stop work and among other color more
materialcomponentsmaterialcomponentsandroid
textinputlayout unable to change error drawable icon
Bug
description it s not possible to change error icon of a textinputlayout with version 1 1 0 alpha09 expect behavior error drawable should be change but still see default red circle exclamation mark source code inputlayout apply val erroricon contextcompat getdrawable context r drawable ic alert erroricon setbound 0 0 erroricon intrinsicwidth erroricon intrinsicheight error errormessage endicondrawable erroricon endiconmode textinputlayout end icon custom setendicontintmode porterduff mode dst android api version 28 material library version 1 1 0 alpha09 device pixel 2 api 28 emulator
materialcomponentsmaterialcomponentsandroid
datepicker no way to setup default date when open
Bug
description it seem there be no way to setup default date date range when use new material dialog picker expect behavior able to setup default date source code kotlin materialdatepicker builder daterangepicker build show supportfragmentmanager material library version 1 1 0 alpha09
materialcomponentsmaterialcomponentsandroid
checkbox span text click be change check status of checkbox
Bug
how to avoid it
materialcomponentsmaterialcomponentsandroid
coordinatorlayout swiperefreshlayout scroll issue with a specific mix of code notch relate
Bug
description the issue be that the appbar be not scroll with the content with the follow combination a swiperefreshlayout a coordinatorlayout with normal behavior a translucent status bar a xiaomi mi8 phone might be present on other phone maybe with notch with this the appbar be not scroll either at the beginining and never come back either after a quick scroll see the video you need to download it if the browser doesn t display it without translucent status bar it work on other device it work without a swiperefreshlayout it work expect behavior the scroll shouldn t block the appbar source code see swiperefreshbugxiaomiactivity android api version 28 material library version 1 1 0 alpha09 happen on previous version too device the issue be reproduce only on the xiaomi mi8 which have a notch it can probably happen on other phone but it s the only one with a notch we have
materialcomponentsmaterialcomponentsandroid
expose dropdown menu fail accessibility check
Bug
description when run instrumented test on my app the accessibility check fail now I ve switch from use the default android spinner to the material design expose dropdown menu the output error be com google android app common testing accessibility framework integration accessibilityviewcheckexception there be 1 accessibility error appcompatautocompletetextview i d 2131362319 re name dropdownspinner visibility visible width 954 height 153 have focus false have focusable true have window focus true be clickable true be enable true be focus false be focusable true be layout request false be select false layout param android widget framelayout layoutparam 5bdbf4 tag null root be layout request false have input connection false x 0 0 y 0 0 text 2nd input type 0 ime target false have link false view be miss speakable text need for a screen reader I m use databinde within the xml to setup the input but it behave perfectly fine when manually test and talkback do probably give enough information to use the input there s also no obvious difference between how I m implement the expose dropdown menu and how I ve implement the textinputedittext they both provide the hint to the textinputlayout however when observe the espresso output the hint have be pass to the textinputedittext but not the autocompletetextview expect behavior accessibility test should pass source code android api version android api version 28 mostly but vary between device material library version material android library version 1 1 0 alpha08 device both real device one plus 6 t samsung s7 and other as well as emulate device mitigation I try add the hint to the autocompletetextview but whilst it fix the accessibility test failure it change the hint behaviour so it wasn t align with the other app component for now I m able to target the accessibility check at everything bar the new dropdown in order to run my test suite but that isn t a long term solution
materialcomponentsmaterialcomponentsandroid
badge overlap text
Bug
a badge overlap a text how can I prevent it I don t see any attribute for set padding margin code val badge tab layout gettabat 0 orcreatebadge apply backgroundcolor requirecontext getcolor r color badge color badge isvisible true badge number 4 xml android api 23 material library version com google android material material 1 1 0 alpha08 device samsung s9 and other device 2019 07 29 171236
materialcomponentsmaterialcomponentsandroid
tablayout from 1 1 0 alpha07 tab text do not render
Bug
description after upgrade to alpha07 alpha08 the text in my tablayout do not render any more example not work expect behavior text should render example work android api version 17 jb 4 2 2 material library version 1 1 0 alpha07 1 1 0 alpha08 device emulator of nexus 5x
materialcomponentsmaterialcomponentsandroid
appbar appbar do not follow colorprimary
Bug
description full description of issue here stare after material 1 1 0 alpha05 the appbar color be no long take the primarycolor of an application screenshot be with alpha08 alpha08 expect behavior screenshot and or description of expect behavior app bar should color itself with the primary color when use a theme that put in an actionbar eg
materialcomponentsmaterialcomponentsandroid
appbar materialtoolbar style shouldn t use android theme
Bug
description materialtoolbar style shouldn t use android theme because this prevent developer from be able to use the theme as a default style the style should use materialthemeoverlay instead I m guess this code be probably write before to materialthemeoverlay be a thing because the very similar bottomappbar component correctly use materialthemeoverlay here l32 l35 source code l58 l73
materialcomponentsmaterialcomponentsandroid
materialbutton can not resize button
Bug
I can not change button size in xml it s still wrap content even I set it to a big size
materialcomponentsmaterialcomponentsandroid
material companent theme with noactionbar
Bug
when you use a noactionbar the status bar color be not affect by colorprimaryvariant so you have to use the old colorprimarydark I try light and daynight noactionbar both have the same issue
materialcomponentsmaterialcomponentsandroid
outline edit text error description margin
Bug
description I m use material design textfield textinputlayout with style outlinedbox but error in one field be attach to edit text have 0 margin pad expect behavior padding bug one can see error message for lastname have no margin padding where first name and last name both use same style android api version oreo material library version 1 1 0 alpha08 device emulator nexus 5x reproducing on all
materialcomponentsmaterialcomponentsandroid
menu android editable be deprecate
Bug
description in the menu doc usage it say to use android editable false on the autocompletetextview to disable user input which be mark as deprecate be there a replacement for this
materialcomponentsmaterialcomponentsandroid
unable to find method org gradle api internal artifact ivyservice
Bug
description can not sync build initial clone expect behavior sync and build be necessary to get start source code n a android api version no idea material library version late I just clone it no idea device window android studio this be the error unable to find method org gradle api internal artifact ivyservice projectmodule projectpublicationregistry registerpublication ljava lang string lorg gradle api internal artifact ivyservice projectmodule projectpublication v possible cause for this unexpected error include gradle s dependency cache may be corrupt this sometimes occur after a network connection timeout re download dependency and sync project require network the state of a gradle build process daemon may be corrupt stop all gradle daemon may solve this problem stop gradle build process require restart your project may be use a third party plugin which be not compatible with the other plugin in the project or the version of gradle request by the project in the case of corrupt gradle process you can also try close the ide and then kill all java process image
materialcomponentsmaterialcomponentsandroid
bottomsheet do not remove corner when bottomsheet be not fully expand
Bug
description currently when bottomsheet be in an expand state and its content be wrap fittocontent then the corner be animate to 0dp this lead to quite unwanted behavior screenshot attach from catalog app large shape corner size in setting require screenshot device 2019 07 13 121306 expect behavior screenshot device 2019 07 13 121429 source code the catalog app android api version api 29 material library version 1 1 0 alpha08 device pixel 2 also pull request 437
materialcomponentsmaterialcomponentsandroid
material button add space between letter on lollipop
Bug
in api 21 when use a custom font the materialbutton seem to be place space between each letter the font be not the problem as in other view such as the textview the letter be intact image
materialcomponentsmaterialcomponentsandroid
textinputlayout use endicontint property cause application to crash
Bug
description use the material design textinputlayout and have add the endicontint property to the xml file the app crash when run the endiconmode property be present and set to clear text expect behavior the app should not crash when endicontint be use source code android api version android api version 28 material library version material android library version 1 1 0 alpha04 device samsung galaxy s10
materialcomponentsmaterialcomponentsandroid
viewpager2 overscrollmode doesn t work
Bug
description I want to disable fading that a viewpager have scroll to edge just like this but it still exist actually I don t know if it be a bug maybe it shoule be a new feature expect behavior viewpager2 look like viewpager with overscrollmode never source code android api version android api 29 material library version implementation com google android material material 1 1 0 alpha08 device genymotion custom phone api 24
materialcomponentsmaterialcomponentsandroid
material dialog material dialog center doesn t work anymore
Bug
description material dialog center doesn t work anymore template style source code android api version 29 material library version alpha08
materialcomponentsmaterialcomponentsandroid
layout issue when use material component
Bug
description the layout simply disappear on text tab on the design tab I can t interact with the view that I have set they be not clickable 111 222 expect behavior I expect the button to appear on my layout source code I be follow the material design codelab shrine as soon as I add this the problem start android api version 29 material library version 1 1 0 alpha08 device n a
materialcomponentsmaterialcomponentsandroid
dark theme crash webview api 21
Bug
when dark theme be enable on the app the app crash when inflate the xml of a webview on api 21 or 22 on light theme the webview work fine use the alpha07 version already try on alpha08
materialcomponentsmaterialcomponentsandroid
textinputlayout error message not show after call seterror
Bug
description even though error be enable textinputlayout doesn t display the error message after set it only the outline box be affect image I have to call requestlayout on my textinputlayout to make the error message show up this shouldn t be the case after call requestlayout image expect behavior call seterror should make the error message show up image source code I simply set the error by call seterror kotlin layoutpassword error error field require android api version 28 material library version 1 1 0 alpha08
materialcomponentsmaterialcomponentsandroid
navigationview app crash when use navigationview in alpha8
Bug
description app crash when inflate xml contain navigationview error inflate class com google android material navigation navigationview expect behavior no crash unless I m do something wrong that should be do differently source code xml kotlin class mainactivity androidx core app appcompatactivity override fun oncreate savedinstancestate bundle super oncreate savedinstancestate setcontentview r layout activity main crash here stack trace e androidruntime fatal exception main process shio at jdrop pid 5345 java lang runtimeexception unable to start activity componentinfo shio at jdrop shio at jdrop view activity mainactivity android view inflateexception binary xml file line 33 binary xml file line 33 error inflate class com google android material navigation navigationview at android app activitythread performlaunchactivity activitythread java 2913 at android app activitythread handlelaunchactivity activitythread java 3048 at android app servertransaction launchactivityitem execute launchactivityitem java 78 at android app servertransaction transactionexecutor executecallback transactionexecutor java 108 at android app servertransaction transactionexecutor execute transactionexecutor java 68 at android app activitythread h handlemessage activitythread java 1808 at android os handler dispatchmessage handler java 106 at android os looper loop looper java 193 at android app activitythread main activitythread java 6669 at java lang reflect method invoke native method at com android internal os runtimeinit methodandargscaller run runtimeinit java 493 at com android internal os zygoteinit main zygoteinit java 858 cause by android view inflateexception binary xml file line 33 binary xml file line 33 error inflate class com google android material navigation navigationview cause by android view inflateexception binary xml file line 33 error inflate class com google android material navigation navigationview cause by java lang reflect invocationtargetexception at java lang reflect constructor newinstance0 native method at java lang reflect constructor newinstance constructor java 343 at android view layoutinflater createview layoutinflater java 647 at android view layoutinflater createviewfromtag layoutinflater java 790 at android view layoutinflater createviewfromtag layoutinflater java 730 at android view layoutinflater rinflate layoutinflater java 863 at android view layoutinflater rinflatechildren layoutinflater java 824 at android view layoutinflater inflate layoutinflater java 515 at android view layoutinflater inflate layoutinflater java 423 at android view layoutinflater inflate layoutinflater java 374 at androidx appcompat app appcompatdelegateimpl setcontentview appcompatdelegateimpl java 545 at androidx appcompat app appcompatactivity setcontentview appcompatactivity java 161 at shio at jdrop view activity mainactivity oncreate mainactivity kt 40 at android app activity performcreate activity java 7136 at android app activity performcreate activity java 7127 at android app instrumentation callactivityoncreate instrumentation java 1271 at android app activitythread performlaunchactivity activitythread java 2893 at android app activitythread handlelaunchactivity activitythread java 3048 at android app servertransaction launchactivityitem execute launchactivityitem java 78 at android app servertransaction transactionexecutor executecallback transactionexecutor java 108 at android app servertransaction transactionexecutor execute transactionexecutor java 68 at android app activitythread h handlemessage activitythread java 1808 at android os handler dispatchmessage handler java 106 at android os looper loop looper java 193 at android app activitythread main activitythread java 6669 at java lang reflect method invoke native method at com android internal os runtimeinit methodandargscaller run runtimeinit java 493 at com android internal os zygoteinit main zygoteinit java 858 cause by java lang bootstrapmethoderror exception from call site 16 bootstrap method at com google android material internal scriminsetsframelayout scriminsetsframelayout java 67 at com google android material navigation navigationview navigationview java 116 at com google android material navigation navigationview navigationview java 112 at java lang reflect constructor newinstance0 native method at java lang reflect constructor newinstance constructor java 343 at android view layoutinflater createview layoutinflater java 647 at android view layoutinflater createviewfromtag layoutinflater java 790 at android view layoutinflater createviewfromtag layoutinflater java 730 at android view layoutinflater rinflate layoutinflater java 863 at android view layoutinflater rinflatechildren layoutinflater java 824 at android view layoutinflater inflate layoutinflater java 515 at android view layoutinflater inflate layoutinflater java 423 at android view layoutinflater inflate layoutinflater java 374 at androidx appcompat app appcompatdelegateimpl setcontentview appcompatdelegateimpl java 545 at androidx appcompat app appcompatactivity setcontentview appcompatactivity java 161 at shio at jdrop view activity mainactivity oncreate mainactivity kt 40 at android app activity performcreate activity java 7136 at android app activity performcreate activity java 7127 at android app instrumentation callactivityoncreate instrumentation java 1271 at android app activitythread performlaunchactivity activitythread java 2893 at android app activitythread handlelaunchactivity activitythread java 3048 at android app servertransaction launchactivityitem execute launchactivityitem java 78 at android app servertransaction transactionexecutor executecallback transactionexecutor java 108 at android app servertransaction transactionexecutor execute transactionexecutor java 68 at android app activitythread h handlemessage activitythread java 1808 at android os handler dispatchmessage handler java 106 at android os looper loop looper java 193 at android app activitythread main activitythread java 6669 at java lang reflect method invoke native method at com android internal os runtimeinit methodandargscaller run runtimeinit java 493 at com android internal os zygoteinit main zygoteinit java 858 e androidruntime cause by java lang classcastexception bootstrap method return null 31 more android api version 28 material library version 1 1 0 alpha08 work with alpha07 device emulator
materialcomponentsmaterialcomponentsandroid
can t find starticondrawable
Bug
I m use a drawable as the starticon but it doesn t let I compile the code it say this android resource linking fail c user dowy desktop brigadamovel app build intermediate incremental mergedebugresource strip dir layout fragment sign in xml 58 error attribute starticondrawable aka com example brigadamovel starticondrawable not find c user dowy desktop brigadamovel app build intermediate incremental mergedebugresource strip dir layout fragment sign in xml 82 error attribute starticondrawable aka com example brigadamovel starticondrawable not find error fail link file resource
materialcomponentsmaterialcomponentsandroid
extendedfloatinactionbutton settext bug
Bug
description the efab container appbarlayout and a collapsingtoolbarlayout be be use and the icon be an animatedvectordrawable after first auto shrink the efab can t automatically resize after call settext under text mode anymore but it will be compatible with the text again after shrink and extend anyway the auto resizing under text mode have go expect behavior the efab can be compatible with the text whenever under the text mode source code subscribe efab setonclicklistener animatefabicon issubscibe issubscibe private fun animatefabicon subscribe efab apply if issubscibe icon resource getdrawable r drawable subscribe cancel null text subscribe else icon resource getdrawable r drawable subscribe ok null text ok icon as animatedvectordrawable start material library version 1 1 0 alpha08 device huawei honor v9
materialcomponentsmaterialcomponentsandroid
bottomsheet add bottomsheetbehaviour to an activity view delay the activity onstop call
Bug
description before add a bottom sheet to activity onstop be call reasonably quickly after leave the activity 1 or 2 sec max after add a bottom sheet to activity nothing do with it just add the behaviour onstop call be delay on an average of 10 second see with v1 0 0 but also on v1 1 0 alpha08 with saveflag set to none or all doesn t matter what I do I always observe this be I the only one I haven t debug the main thread queue message to see what s prevent the onstop message from ever get to the front but it must be relate to the bottom sheet expect behavior onstop method not delay android api version test on api 28 material library version 1 0 0 and 1 1 0 alpha08 device huawei mate 10 lite android 8
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout appbarlayout expand or collapse without animation still animate scrim
Bug
description when we want to start the screen with the appbarlayout collapse without animation the scrim still animate expect behavior the scrim doesn t animate and we start display the screen with the appbarlayout collapse and the scrim on source code see activity scrimbugactivity in this sample I trigger an expand collapse every second we can see the scrim be animate though the animate property be false app bar setexpande expand false toolbar layout setscrimsshown expand false as I say I can understand this behavior but if we want to start the screen with a collapse appbarlayout without animation use app expand false on the appbarlayout we can still see the scrim animating here s a video android api version test on api 28 material library version 1 1 0 alpha08 device google pixel android 9
materialcomponentsmaterialcomponentsandroid
as preview doesn t match textinputlayout actual appearance on device
Bug
description full description of issue here the layout preview in android studio doesn t match how the material component textinputlayout actually appear on an android device it just display a very simple layout with a grey baseline image expect behavior screenshot and or description of expect behavior expect look the same as on a real device actual look very basic see screenshot and nothing like the real material component reproduction step add a com google android material textfield textinputlayout to any layout open the android studio layout preview android api version make no difference material library version 1 1 0 alpha07 device n a
materialcomponentsmaterialcomponentsandroid
expose dropdown menu textinputlayout hint overlap text
Bug
after follow the sample for set up an expose dropdown menu it appear that the hint text always overlap the text for the select item also I have to add pad to the autocompletetextview otherwise the text and hint be completely align to the start of the textinputlayout android api version 28 material library version 1 1 0 alpha08 device samsung s8
materialcomponentsmaterialcomponentsandroid
bottomnavigationview background error when use fontfamily
Bug
I have a problem with the background of bottomnavigationview when press menu it only happen when I set fontfamily you can see the demo below it always show the white background for a light theme and black for a dark theme for the version material design 1 1 0 alpha05 it hadn t this problem test on android 9 0 material design version 1 1 0 alpha08 xml xml image when don t use fontfamily image
materialcomponentsmaterialcomponentsandroid
cardview rippe on click do not fill the corner
Bug
description I ve change the shapeappearance of a cardview to a style which alter the edge when click the card the ripple do not reach the very edge anymore it s end in a rectangle without any shape corner image expect behavior the ripple should reach the edge just like they do when I don t change the shapeappearance image source code xml xml android api version minsdkversion 21 targetsdkversion 28 material library version 1 1 0 alpha08 device pixel 3 with android q beta 4
materialcomponentsmaterialcomponentsandroid
build error with alpha 8
Bug
after switch to alpha 8 get this build error no error with alpha 7 duplicate class com google common util concurrent listenablefuture find in module guava 26 0 android jar com google guava guava 26 0 android and listenablefuture 1 0 jar com google guava listenablefuture 1 0
materialcomponentsmaterialcomponentsandroid
bottom navigation sample badge number feature isn t work
Bug
description the badge number button in the sample for bottom navigation doesn t always add badge number to the current tab expect behavior press badge number would increment the badge for the select tab source code the sample app in the repo demonstrate this behavior android api version test on 9 0 material library version whatever be declare in the sample repo device pixel 2 xl image on emulator
materialcomponentsmaterialcomponentsandroid
exposeddropdownmenu recreate in the open state when it be just focus
Bug
description exposeddropdownmenu recreate in the open state when it be just focus expect behavior if I select an item the dropdown close but the component remain focus if I rotate the phone the component should be recreate in that same state current behavior if I rotate the phone the component get recreate with the dropdown open material library version 1 1 0 alpha08
materialcomponentsmaterialcomponentsandroid
error with gradle file while connect firebase to android studio
Bug
I be try to connect my android studio with firebase and have follow all step give in their document but I be get this error when I be try to sync my gradle file error manifest merger fail attribute application appcomponentfactory value android support v4 app corecomponentfactory from com android support support compat 28 0 0 androidmanif xml 22 18 91 be also present at androidx core core 1 0 0 androidmanif xml 22 18 86 value androidx core app corecomponentfactory suggestion add tool replace android appcomponentfactory to element at androidmanifest xml 5 5 19 19 to override capture capture1
materialcomponentsmaterialcomponentsandroid
bottomappbar miss style
Bug
description when programmatically instantiate the bottomappbar component use the single parameter constructor the bottomappbar be render incorrectly most notably the navigation button be not center expect behavior no render issue source code new com google android material bottomappbar bottomappbar this context android api version 28 material library version 1 0 0 device android api28 emulator additional I have look at the source code and I think I find the problem the code for the single param constructor skip right to the three param constructor instead of go through the two param constructor by pass the value 0 for the defstyleattr param as other component do not do this I believe that this be a bug rather than intentional l207
materialcomponentsmaterialcomponentsandroid
multiple language didn t work with dark mode in 1 1 0 alpha07
Bug
description multiple language app work fine after add the dark mode option to it and use getdelegate setlocalnightmode appcompatdelegate mode night yes to change the theme to dark string xml didn t load from value uk folder and load from value folder expect behavior in the dark mode string xml should be load from the select language source code android api version 28 material library version 1 1 0 alpha07 appcompat version 1 1 0 rc01 device xiaomi redmi note 7
materialcomponentsmaterialcomponentsandroid
textinputlayout change endicon do not remove listener for previous endicon
Bug
description update the endicon do not remove any listener add by call initialize on previous delegate this cause issue when switch between some type of endicon switching between cleartext when any text be present and dropdown when it be empty be not possible because the cleartext delegate set the visibility to none whenever the text be clear expect behavior to be able to change endicon without unwanted sid effect source code private final onedittextattachedlistener cleartextonedittextattachedlistener edittext textinputlayout setendiconvisible hastext edittext gettext make sure there s always only one clear text text watcher add edittext removetextchangedlistener cleartextendicontextwatcher edittext addtextchangedlistener cleartextendicontextwatcher android api version 28 material library version 1 1 0 alpha07 device device on which the bug be encounter here to help we triage fast please check to make sure you be use the late version of the library we also happily accept pull request
materialcomponentsmaterialcomponentsandroid
textinputlayout mess up when set an height
Bug
this be part of a constrained layout and I have the same issue even if I set the height of textinputedittext to match parent the result be this if I let the textinputlayout s height be wrap content it work without problem so I think that it have an issue while scale and it doesn t do it properly
materialcomponentsmaterialcomponentsandroid
bottomsheetdialogfragment shapeappearance bug
Bug
I have discover a strange behavior if I set this snip as a shapeappearanceoverlay to the bottom sheet I get a glitch when I try to close the bottom sheet by drag to the bottom I can see that rounded corner animate out for a moment and return back after that I think it should be round all the way while I m drag the dialog and become square only in full height mode shouldn t it xml
materialcomponentsmaterialcomponentsandroid
add material linearprogressbar widget
Duplicate
at the moment there be no clear way to achieve this look of linear progress bar below the toolbar stackoverflow relate issue the padding issue basically this library shouldn t exist
materialcomponentsmaterialcomponentsandroid
textinputlayout gettypeface incorrectly annotate with nonnull
Bug
overview the setter for typeface be annotate l290 with nullable and the getter be l307 nonnull one or the other be wrong currently the getter do return null you can see the problem pretty easily public void settypeface nullable typeface typeface if typeface mtypeface mtypeface typeface mcollapsingtexthelper settypeface typeface if mcounterview null mcounterview settypeface typeface if merrorview null merrorview settypeface typeface return the typeface use for the hint and any label view such as counter and error view nonnull public typeface gettypeface return mtypeface version number 25 1 0
materialcomponentsmaterialcomponentsandroid
incorrect test task in documentation
Bug
the documentation run test state that androidconnectedtest be the gradle task for instrumentation test when I run it gradle say that there be no such task and indeed I can not find one with that name failure build fail with an exception what go wrong task androidconnectedtest not find in root project material component android try run gradle task to get a list of available task run with stacktrace option to get the stack trace run with info or debug option to get more log output there be a connectedandroidt task in addition to the standard android connectedcheck task both seem to run the instrumentation test I assume that one of these be the proper task
materialcomponentsmaterialcomponentsandroid
feature request bottom navigation view doesn t keep select tab state
Bug
overview current version of the bottom navigation view doesn t keep it s view state when a configuration change take place instead it default to the first tab I think the expect behavior would be to keep the current select tab state without trigger a new onnavigationitemselectedlistener onnavigationitemselecte
materialcomponentsmaterialcomponentsandroid
update the namespace for bottomnavigationview documentation
Bug
reproduction step use xmlns design and design menu as mention in the documentation of bottomnavigationview over xmlns app and app menu do not show the bottom nav view the documentation can be mislead image the documentation should show this instead version number find in late documentation of bottomnavigationview
justauthjustauth
accesstokenurl scope uri illegal character in query at index xx
Question
login accesstokenurl scope encode illegal character in query at index xxx bug accesstokenurl getscope enode 20240313135156 image image
justauthjustauth
openid authalipayrequ uuid openid
Bug
alipay sdk userid openid authalipayrequest uid openid map key null
justauthjustauth
request help wechat enterprise qrcode third
Question
issue description wechat enterprise qrcode third 302 corpid secret environment springboot bladex justauth version 1 16 5 image
justauthjustauth
bug github 404
Bug
pre submission checklist x I have search the relevant information in the exist list of issue x I have search the developer documentation for that information x I have read the relevant q a issue description github 404 minimal test code step to reproduce the issue 1 github what s the expect result
justauthjustauth
request help
Question
justauth openid
justauthjustauth
invalid cookie header
Bug
issue description google github stackoverflow facebook invalid cookie header code state invalid cookie header set cookie prov 32e3b2c2 bf04 4a94 a374 364d092a441a expire fri 01 jan 2055 00 00 00 gmt domain stackexchange com path secure samesite none httponly invalid expire attribute fri 01 jan 2055 00 00 00 gmt 2023 05 16 08 23 10 http jsse nio 8800 exec 2 me zhyd oauth log log error 45 error fail to login with oauth authorization I zhyd oauth exception authexception at I zhyd oauth util httputil check httputil java 123 at I zhyd oauth util httputil getbody httputil java 129 at I zhyd oauth request authstackoverflowrequest getuserinfo authstackoverflowrequest java 63 at I zhyd oauth request authdefaultrequest login authdefaultrequest java 81 at com weiha back controller usercontroller login usercontroller java 125 at sun reflect nativemethodaccessorimpl invoke0 native method at sun reflect nativemethodaccessorimpl invoke nativemethodaccessorimpl java 62 at sun reflect delegatingmethodaccessorimpl invoke delegatingmethodaccessorimpl java 43 at java lang reflect method invoke method java 498 at org springframework web method support invocablehandlermethod doinvoke invocablehandlermethod java 189 at org springframework web method support invocablehandlermethod invokeforrequest invocablehandlermethod java 138 at org springframework web servlet mvc method annotation servletinvocablehandlermethod invokeandhandle servletinvocablehandlermethod java 102 at org springframework web servlet mvc method annotation requestmappinghandleradapter invokehandlermethod requestmappinghandleradapter java 895 at org springframework web servlet mvc method annotation requestmappinghandleradapter handleinternal requestmappinghandleradapter java 800 at org springframework web servlet mvc method abstracthandlermethodadapter handle abstracthandlermethodadapter java 87 at org springframework web servlet dispatcherservlet dodispatch dispatcherservlet java 1038 at org springframework web servlet dispatcherservlet doservice dispatcherservlet java 942 at org springframework web servlet frameworkservlet processrequest frameworkservlet java 1005 at org springframework web servlet frameworkservlet doget frameworkservlet java 897 at javax servlet http httpservlet service httpservlet java 634 at org springframework web servlet frameworkservlet service frameworkservlet java 882 at javax servlet http httpservlet service httpservlet java 741 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 231 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 166 at org apache tomcat websocket server wsfilter dofilter wsfilter java 53 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 193 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 166 at org springframework web filter corsfilter dofilterinternal corsfilter java 96 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 107 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 193 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 166 at com alibaba druid support http webstatfilter dofilter webstatfilter java 123 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 193 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 166 at org springframework web filter requestcontextfilter dofilterinternal requestcontextfilter java 99 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 107 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 193 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 166 at org springframework web filter formcontentfilter dofilterinternal formcontentfilter java 92 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 107 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 193 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 166 at org springframework web filter hiddenhttpmethodfilter dofilterinternal hiddenhttpmethodfilter java 93 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 107 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 193 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 166 at org springframework web filter characterencodingfilter dofilterinternal characterencodingfilter java 200 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 107 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 193 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 166 at org apache catalina core standardwrappervalve invoke standardwrappervalve java 200 at org apache catalina core standardcontextvalve invoke standardcontextvalve java 96 at org apache catalina authenticator authenticatorbase invoke authenticatorbase java 490 at org apache catalina core standardhostvalve invoke standardhostvalve java 139 at org apache catalina valve errorreportvalve invoke errorreportvalve java 92 at org apache catalina core standardenginevalve invoke standardenginevalve java 74 at org apache catalina connector coyoteadapter service coyoteadapter java 343 at org apache coyote http11 http11processor service http11processor java 408 at org apache coyote abstractprocessorlight process abstractprocessorlight java 66 at org apache coyote abstractprotocol connectionhandler process abstractprotocol java 834 at org apache tomcat util net nioendpoint socketprocessor dorun nioendpoint java 1415 at org apache tomcat util net socketprocessorbase run socketprocessorbase java 49 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1149 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 624 at org apache tomcat util thread taskthread wrappingrunnable run taskthread java 61 at java lang thread run thread java 750 environment justauth version 1 16 5 springboot 2 1 3 stackoverflow image springboot authrequest new authstackoverflowrequ authconfig builder clientid 123456 clientsecret asdsa5456135487dw redirecturi stackoverflowkey xssdsdssthghg build facebook image springboot authrequest new authfacebookrequ authconfig builder clientid 13155646465 clientsecret dsmojw12sn90u1221 redirecturi scope authscopeutils getscopes authfacebookscope value build
justauthjustauth
bug jdk 11 httpclient
Bug
pre submission checklist jdk 11 httpclient issue description httpclient webflux webhttp environment justauth version e g 1 15 1 1 16 5 minimal test code step to reproduce the issue 1 hutool http 2 jdk17 springboot netty 3 jdk11 httpclient what s the actual result include assertion message call stack if applicable be sure to provide a complete and detailed exception stack what s the expect result httpclient
justauthjustauth
request help oauth2 0 post token x www form urlencode body
Question
issue description oauth2 0 post token x www form urlencode body dopostauthorizationcode url parameter keycloak url x www form urlencode body environment justauth 1 15 9
justauthjustauth
bug fastjson1 2 80 fastjson
Bug
fastjson develop team fastjson1 2 80 fastjson autotype fastjson json fastjson fastjson json json java bean json json javabean 1 2 80 1 2 83 autotype safemode fastjson 1 2 68 safemode safemode autotype gadget autotype 1 2 83 safemode 1 2 83 safemode autotype fastjson v2 fastjson v2 fastjson 2 0 2 0 fastjson v2 1 x maven pom xml fastjson jar fastjson
justauthjustauth
feat json
Enhancement
why do you add this feature json feature description simple json json
justauthjustauth
facebook
Question
image
justauthjustauth
android ios clientid clientsecret
Bug
issue description android ios clientid clientsecret
justauthjustauth
web pcweb
Question
issue description web pcweb environment justauth version e g 1 15 1
justauthjustauth
feature oauth2 0
Enhancement
zhangyd c 1 oauth 2 doc
justauthjustauth
who be use justauth justauth
Enhancement
who be use justauth sincerely thank everyone who constantly keep on use and support justauth we will try our good to make justauth well and make the community and ecology more prosperous the original intention of this issue we d like to listen to the community to make justauth well we want to attract more partner to contribute to justauth learn more about the practical use scenario of justauth to facilitate the next step of planning what we expect from you please submit a comment in this issue to include the follow information your company school or organization your city and country your contact info blog email twitter at least one for what business scenario do you use justauth you can refer to the follow sample answer organization justauth location beijing china contact purpose quickly integrate third party authorization login thank again for your participation your support be the motivation for we to move forward justauth team justauth justauth justauth issue justauth justauth justauth justauth justauth
justauthjustauth
bug scope snsapi base api unauthorized
Bug
scope snsapi base openid authwechatmprequ openid api unauthorized authwechatmprequ getuserinfo scope scope snsapi userinfo dogetuserinfo
justauthjustauth
request help google
Question
issue description google environment java justauth version e g 1 15 1
justauthjustauth
request help idtoken
Question
idtoken oidc
justauthjustauth
bug twitter restrict header name host
Bug
case google authrequest new authgooglerequ authconfig builder clientid 861445321239 97gn0s07f googleusercontent com clientsecret gocspx ryh3v43pnbcifrtpejbsvlgxljvy redirecturi scope authscopeutils getscopes authgooglescope user email authgooglescope user profile authgooglescope user openid httpconfig httpconfig builder timeout 15000 proxy new proxy proxy type http new inetsocketaddress 127 0 0 1 10080 build build issue description java lang illegalargumentexception restrict header name host at java net http jdk internal net http common util newiae util java 286 at java net http jdk internal net http httprequestbuilderimpl checknameandvalue httprequestbuilderimpl java 110 at java net http jdk internal net http httprequestbuilderimpl header httprequestbuilderimpl java 126 at java net http jdk internal net http httprequestbuilderimpl header httprequestbuilderimpl java 43 at com xkcode http util maputil foreach maputil java 77
justauthjustauth
feat goolge refreshtoken
Good First Issue
why do you add this feature goolge refreshtoken feature description google refreshtoken refreshtoken
justauthjustauth
bug jdk11 http header
Bug
issue description image image environment justauth version e g 1 16 5 stackoverflow jdk
justauthjustauth
bug javax net ssl sslhandshakeexception no subject alternative dns name match open feishu cn find
Bug
1 app access token 1 16 5 2 3 bug 4 5 cause by javax net ssl sslhandshakeexception no subject alternative dns name match open feishu cn find at java base sun security ssl alert createsslexception alert java 128 at java base sun security ssl transportcontext fatal transportcontext java 321 at java base sun security ssl transportcontext fatal transportcontext java 264 at java base sun security ssl transportcontext fatal transportcontext java 259 at java base sun security ssl certificatemessage t12certificateconsumer checkservercert certificatemessage java 642 at java base sun security ssl certificatestatus certificatestatusconsumer consume certificatestatus java 292 at java base sun security ssl sslhandshake consume sslhandshake java 392 at java base sun security ssl handshakecontext dispatch handshakecontext java 444 at java base sun security ssl sslengineimpl delegatedtask delegatedaction run sslengineimpl java 1065 at java base sun security ssl sslengineimpl delegatedtask delegatedaction run sslengineimpl java 1052 at java base java security accesscontroller doprivilege native method at java base sun security ssl sslengineimpl delegatedtask run sslengineimpl java 999 at java base java util arraylist foreach arraylist java 1540 at java net http jdk internal net http common sslflowdelegate lambda executetask 3 sslflowdelegate java 1059 at java net http jdk internal net http httpclientimpl delegatingexecutor execute httpclientimpl java 153 at java net http jdk internal net http common sslflowdelegate executetask sslflowdelegate java 1054 at java net http jdk internal net http common sslflowdelegate dohandshake sslflowdelegate java 1020 at java net http jdk internal net http common sslflowdelegate reader processdata sslflowdelegate java 437 at java net http jdk internal net http common sslflowdelegate reader readerdownstreampusher run sslflowdelegate java 263 at java net http jdk internal net http common sequentialscheduler synchronizedrestartabletask run sequentialscheduler java 175 at java net http jdk internal net http common sequentialscheduler completerestartabletask run sequentialscheduler java 147 at java net http jdk internal net http common sequentialscheduler tryenddeferredcompleter complete sequentialscheduler java 315 at java net http jdk internal net http common sequentialscheduler completerestartabletask run sequentialscheduler java 149 at java net http jdk internal net http common sequentialscheduler schedulabletask run sequentialscheduler java 198 at java base java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1128 at java base java util concurrent threadpoolexecutor worker run threadpoolexecutor java 628 1 more cause by java security cert certificateexception no subject alternative dns name match open feishu cn find at java base sun security util hostnamechecker matchdns hostnamechecker java 207 at java base sun security util hostnamechecker match hostnamechecker java 98 at java base sun security ssl x509trustmanagerimpl checkidentity x509trustmanagerimpl java 459 at java base sun security ssl x509trustmanagerimpl checkidentity x509trustmanagerimpl java 434 at java base sun security ssl x509trustmanagerimpl checktruste x509trustmanagerimpl java 291 at java base sun security ssl x509trustmanagerimpl checkservertruste x509trustmanagerimpl java 141 at java base sun security ssl certificatemessage t12certificateconsumer checkservercert certificatemessage java 620 22 more
justauthjustauth
wechat mp 5008
Question
wechat mp 5008 token
justauthjustauth
request help cache state
Question
issue description cache state 1 state code authrequ authorize state state code getauthrequ login callback checkstate and checkcode check state code a cache state 2 cache state I zhyd oauth log log error 45 error fail to login with oauth authorization I zhyd oauth exception authexception illegal state wechat mp at I zhyd oauth util authchecker checkstate authchecker java 123 at I zhyd oauth request authdefaultrequest login authdefaultrequest java 77 environment justauth version e g 1 16 5
justauthjustauth
bug nosuchmethoderror com xkcode http httputil post ljava lang string ljava lang string
Bug
com xkcoding justauth justauth spring boot starter 1 4 0 com squareup okhttp3 okhttp 4 9 1 com xkcode http simple http 1 0 5 authrequ authrequest factory get type authresponse response authrequ login callback log info response jsonobject tojsonstre response rg springframework web util nestedservletexception handler dispatch fail nest exception be java lang nosuchmethoderror com xkcode http httputil post ljava lang string ljava lang string at org springframework web servlet dispatcherservlet dodispatch dispatcherservlet java 1082 at org springframework web servlet dispatcherservlet doservice dispatcherservlet java 963 at org springframework web servlet frameworkservlet processrequest frameworkservlet java 1006 at org springframework web servlet frameworkservlet doget frameworkservlet java 898 at javax servlet http httpservlet service httpservlet java 655 at org springframework web servlet frameworkservlet service frameworkservlet java 883 at javax servlet http httpservlet service httpservlet java 764 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 227 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at org apache tomcat websocket server wsfilter dofilter wsfilter java 53 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 189 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 111 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 189 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 111 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 189 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at com alibaba druid support http webstatfilter dofilter webstatfilter java 124 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 189 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at com ruoyi common filter repeatablefilter dofilter repeatablefilter java 39 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 189 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 327 at org springframework security web access intercept filtersecurityinterceptor invoke filtersecurityinterceptor java 115 at org springframework security web access intercept filtersecurityinterceptor dofilter filtersecurityinterceptor java 81 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web access exceptiontranslationfilter dofilter exceptiontranslationfilter java 121 at org springframework security web access exceptiontranslationfilter dofilter exceptiontranslationfilter java 115 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web session sessionmanagementfilter dofilter sessionmanagementfilter java 126 at org springframework security web session sessionmanagementfilter dofilter sessionmanagementfilter java 81 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web authentication anonymousauthenticationfilter dofilter anonymousauthenticationfilter java 105 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web servletapi securitycontextholderawarerequestfilter dofilter securitycontextholderawarerequestfilter java 149 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web savedrequ requestcacheawarefilter dofilter requestcacheawarefilter java 63 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at com ruoyi framework security filter jwtauthenticationtokenfilter dofilterinternal jwtauthenticationtokenfilter java 42 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 117 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 111 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web authentication logout logoutfilter dofilter logoutfilter java 103 at org springframework security web authentication logout logoutfilter dofilter logoutfilter java 89 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework web filter corsfilter dofilterinternal corsfilter java 91 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 117 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web header headerwriterfilter doheadersafter headerwriterfilter java 90 at org springframework security web header headerwriterfilter dofilterinternal headerwriterfilter java 75 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 117 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web context securitycontextpersistencefilter dofilter securitycontextpersistencefilter java 110 at org springframework security web context securitycontextpersistencefilter dofilter securitycontextpersistencefilter java 80 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web context request async webasyncmanagerintegrationfilter dofilterinternal webasyncmanagerintegrationfilter java 55 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 117 at org springframework security web filterchainproxy virtualfilterchain dofilter filterchainproxy java 336 at org springframework security web filterchainproxy dofilterinternal filterchainproxy java 211 at org springframework security web filterchainproxy dofilter filterchainproxy java 183 at org springframework web filter delegatingfilterproxy invokedelegate delegatingfilterproxy java 354 at org springframework web filter delegatingfilterproxy dofilter delegatingfilterproxy java 267 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 189 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at org springframework web filter requestcontextfilter dofilterinternal requestcontextfilter java 100 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 117 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 189 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at org springframework web filter formcontentfilter dofilterinternal formcontentfilter java 93 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 117 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 189 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at org springframework web filter characterencodingfilter dofilterinternal characterencodingfilter java 201 at org springframework web filter onceperrequestfilter dofilter onceperrequestfilter java 117 at org apache catalina core applicationfilterchain internaldofilter applicationfilterchain java 189 at org apache catalina core applicationfilterchain dofilter applicationfilterchain java 162 at org apache catalina core standardwrappervalve invoke standardwrappervalve java 197 at org apache catalina core standardcontextvalve invoke standardcontextvalve java 97 at org apache catalina authenticator authenticatorbase invoke authenticatorbase java 540 at org apache catalina core standardhostvalve invoke standardhostvalve java 135 at org apache catalina valve errorreportvalve invoke errorreportvalve java 92 at org apache catalina core standardenginevalve invoke standardenginevalve java 78 at org apache catalina connector coyoteadapter service coyoteadapter java 357 at org apache coyote http11 http11processor service http11processor java 382 at org apache coyote abstractprocessorlight process abstractprocessorlight java 65 at org apache coyote abstractprotocol connectionhandler process abstractprotocol java 895 at org apache tomcat util net nioendpoint socketprocessor dorun nioendpoint java 1732 at org apache tomcat util net socketprocessorbase run socketprocessorbase java 49 at org apache tomcat util thread threadpoolexecutor runworker threadpoolexecutor java 1191 at org apache tomcat util thread threadpoolexecutor worker run threadpoolexecutor java 659 at org apache tomcat util thread taskthread wrappingrunnable run taskthread java 61 at java lang thread run thread java 748
justauthjustauth
bug okhttp3
Bug
okhttps 3 4 2 okhttp 3 14 9 4 9 3 cause by java lang nosuchmethoderror okhttp3 requestbody create ljava lang string lokhttp3 mediatype lokhttp3 requestbody at com xkcode http support okhttp3 okhttp3impl post okhttp3impl java 177 at com xkcode http support okhttp3 okhttp3impl post okhttp3impl java 161 at com xkcode http support okhttp3 okhttp3impl post okhttp3impl java 149 at com xkcoding http httputil post httputil java 141 at I zhyd oauth util httputil post httputil java 55 at I zhyd oauth request authdouyinrequest gettoken authdouyinrequest java 90 at I zhyd oauth request authdouyinrequest getaccesstoken authdouyinrequest java 38 at I zhyd oauth request authdefaultrequest login authdefaultrequest java 80 at com ruoyi web controller system sysauthcontroller login sysauthcontroller java 64 at sun reflect nativemethodaccessorimpl invoke0 native method at sun reflect nativemethodaccessorimpl invoke nativemethodaccessorimpl java 62 at sun reflect delegatingmethodaccessorimpl invoke delegatingmethodaccessorimpl java 43 at java lang reflect method invoke method java 498 at org springframework web method support invocablehandlermethod doinvoke invocablehandlermethod java 205 at org springframework web method support invocablehandlermethod invokeforrequest invocablehandlermethod java 150 at org springframework web servlet mvc method annotation servletinvocablehandlermethod invokeandhandle servletinvocablehandlermethod java 117 at org springframework web servlet mvc method annotation requestmappinghandleradapter invokehandlermethod requestmappinghandleradapter java 895 at org springframework web servlet mvc method annotation requestmappinghandleradapter handleinternal requestmappinghandleradapter java 808 at org springframework web servlet mvc method abstracthandlermethodadapter handle abstracthandlermethodadapter java 87 at org springframework web servlet dispatcherservlet dodispatch dispatcherservlet java 1067
justauthjustauth
feat http
Question
why do you add this feature com xkcode http lgpl apache2 0 mit bsd feature description
justauthjustauth
bug 403
Bug
pre submission checklist x I have search the relevant information in the exist list of issue x I have search the developer documentation for that information x I have read the relevant q a issue description callback 403 environment justauth version 1 16 4
justauthjustauth
bug facebook
Bug