Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
6d01ae13
Unverified
Commit
6d01ae13
authored
Apr 12, 2023
by
Nabeel Parkar
Committed by
GitHub
Apr 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug report 2 issue template (#122385)
Bug report 2 issue template
parent
e21c149b
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
138 additions
and
108 deletions
+138
-108
2_bug.md
.github/ISSUE_TEMPLATE/2_bug.md
+0
-93
2_bug.yml
.github/ISSUE_TEMPLATE/2_bug.yml
+123
-0
assertions.dart
packages/flutter/lib/src/foundation/assertions.dart
+3
-3
box.dart
packages/flutter/lib/src/rendering/box.dart
+4
-4
flex.dart
packages/flutter/lib/src/rendering/flex.dart
+1
-1
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+1
-1
assertions_test.dart
packages/flutter/test/foundation/assertions_test.dart
+4
-4
web_driver.dart
packages/flutter_driver/lib/src/driver/web_driver.dart
+1
-1
README.md
packages/flutter_localizations/lib/src/l10n/README.md
+1
-1
No files found.
.github/ISSUE_TEMPLATE/2_bug.md
deleted
100644 → 0
View file @
e21c149b
---
name
:
I have a problem with my Flutter application.
about
:
You are writing an application with Flutter but the application is crashing
or throws an exception, a widget is buggy, or something looks wrong.
title
:
'
'
labels
:
'
'
assignees
:
'
'
---
<!-- Thank you for using Flutter!
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
* https://flutter.dev/
* https://api.flutter.dev/
* https://stackoverflow.com/questions/tagged/flutter?sort=frequent
If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill out the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->
## Steps to Reproduce
<!-- Please include full steps to reproduce so that we can reproduce the problem. -->
1.
Execute
`flutter run`
on the code sample
<!-- (see "Code sample" section below) -->
2.
...
<!-- describe steps to demonstrate bug -->
3.
...
<!-- for example "Tap on X and see a crash" -->
**Expected results:**
<!-- what did you want to see? -->
**Actual results:**
<!-- what did you see? -->
<details>
<summary>
Code sample
</summary>
<!--
Please create a minimal reproducible sample that shows the problem
and attach it below between the lines with the backticks.
To create it you can use `flutter create bug` command and update the `main.dart` file.
Alternatively, you can use https://dartpad.dev/
which is capable of creating and running small Flutter apps.
Without this we will unlikely be able to progress on the issue, and because of that
we regretfully will have to close it.
-->
```
dart
```
</
details
>
<
details
>
<
summary
>
Logs
</
summary
>
<!--
Run
your
application
with
`
flutter
run
--
verbose
`
and
attach
all
the
log
output
below
between
the
lines
with
the
backticks
.
If
there
is
an
exception
,
please
see
if
the
error
message
includes
enough
information
to
explain
how
to
solve
the
issue
.
If
there
is
a
crash
,
please
include
the
entirety
of
the
crash
log
including
the
backtrace
.
-->
```
```
<!--
Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.
-->
```
```
<!-- Finally, paste the output of running `flutter doctor -v` here. -->
```
```
</details>
<!--
Consider also attaching screenshots and/or videos to better
illustrate the issue.
You can upload them directly on GitHub.
Beware that video file size is limited to 10MB.
-->
\ No newline at end of file
.github/ISSUE_TEMPLATE/2_bug.yml
0 → 100644
View file @
6d01ae13
name
:
Report a bug
description
:
|
You found a bug in Flutter causing your application to crash or
throw an exception, a widget is buggy, or something looks wrong.
body
:
-
type
:
markdown
attributes
:
value
:
|
Thank you for using Flutter!
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent
-
type
:
checkboxes
attributes
:
label
:
Is there an existing issue for this?
options
:
-
label
:
I have searched the [existing issues](https://github.com/flutter/flutter/issues)
required
:
true
-
label
:
I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
required
:
true
-
type
:
textarea
attributes
:
label
:
Steps to reproduce
description
:
Please tell us exactly how to reproduce the problem you are running into.
placeholder
:
|
1. ...
2. ...
3. ...
validations
:
required
:
true
-
type
:
textarea
attributes
:
label
:
Expected results
description
:
Please tell us what is expected to happen.
validations
:
required
:
true
-
type
:
textarea
attributes
:
label
:
Actual results
description
:
Please tell us what is actually happening.
validations
:
required
:
true
-
type
:
textarea
attributes
:
label
:
Code sample
description
:
|
Please create a minimal reproducible sample that shows the problem
and attach it below between the lines with the backticks.
To create it, use the `flutter create bug` command and update the `main.dart` file.
Alternatively, you can use https://dartpad.dev/ or create a public GitHub
repository to share your sample.
Without this we will unlikely be able to progress on the issue, and because of that
we regretfully will have to close it.
Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload your code sample.
value
:
|
<details><summary>Code sample</summary>
```dart
[Paste your code here]
```
</details>
validations
:
required
:
true
-
type
:
textarea
attributes
:
label
:
Screenshots or Video
description
:
|
Upload any screenshots or video of the bug if applicable.
value
:
|
<details>
<summary>Screenshots / Video demonstration</summary>
[Upload media here]
</details>
-
type
:
textarea
attributes
:
label
:
Logs
description
:
|
Include the full logs of the commands you are running between the lines
with the backticks below. If you are running any `flutter` commands,
please include the output of running them with `--verbose`; for example,
the output of running `flutter --verbose create foo`.
If the logs are too large to be uploaded to GitHub, you may upload
them as a `txt` file or use online tools like https://pastebin.com to
share it.
Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload logs.
value
:
|
<details><summary>Logs</summary>
```console
[Paste your logs here]
```
</details>
-
type
:
textarea
attributes
:
label
:
Flutter Doctor output
description
:
|
Please provide the full output of running `flutter doctor -v`
value
:
|
<details><summary>Doctor output</summary>
```console
[Paste your output here]
```
</details>
validations
:
required
:
true
packages/flutter/lib/src/foundation/assertions.dart
View file @
6d01ae13
...
@@ -724,7 +724,7 @@ class FlutterErrorDetails with Diagnosticable {
...
@@ -724,7 +724,7 @@ class FlutterErrorDetails with Diagnosticable {
'provide substantially more information in this error message to help you determine '
'provide substantially more information in this error message to help you determine '
'and fix the underlying cause.
\n
'
'and fix the underlying cause.
\n
'
'In either case, please report this assertion by filing a bug on GitHub:
\n
'
'In either case, please report this assertion by filing a bug on GitHub:
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
));
));
}
}
}
}
...
@@ -857,7 +857,7 @@ class FlutterError extends Error with DiagnosticableTreeMixin implements Asserti
...
@@ -857,7 +857,7 @@ class FlutterError extends Error with DiagnosticableTreeMixin implements Asserti
'
\n
This error should still help you solve your problem, '
'
\n
This error should still help you solve your problem, '
'however please also report this malformed error in the '
'however please also report this malformed error in the '
'framework by filing a bug on GitHub:
\n
'
'framework by filing a bug on GitHub:
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
),
),
]),
]),
);
);
...
@@ -883,7 +883,7 @@ class FlutterError extends Error with DiagnosticableTreeMixin implements Asserti
...
@@ -883,7 +883,7 @@ class FlutterError extends Error with DiagnosticableTreeMixin implements Asserti
'
\n
This error should still help you solve your problem, '
'
\n
This error should still help you solve your problem, '
'however please also report this malformed error in the '
'however please also report this malformed error in the '
'framework by filing a bug on GitHub:
\n
'
'framework by filing a bug on GitHub:
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
));
));
throw
FlutterError
.
fromParts
(
message
);
throw
FlutterError
.
fromParts
(
message
);
}
}
...
...
packages/flutter/lib/src/rendering/box.dart
View file @
6d01ae13
...
@@ -1906,7 +1906,7 @@ abstract class RenderBox extends RenderObject {
...
@@ -1906,7 +1906,7 @@ abstract class RenderBox extends RenderObject {
ErrorSummary
(
'The
${objectRuntimeType(this, 'RenderBox')}
class does not implement "computeDryLayout".'
),
ErrorSummary
(
'The
${objectRuntimeType(this, 'RenderBox')}
class does not implement "computeDryLayout".'
),
ErrorHint
(
ErrorHint
(
'If you are not writing your own RenderBox subclass, then this is not
\n
'
'If you are not writing your own RenderBox subclass, then this is not
\n
'
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
),
),
]),
]),
));
));
...
@@ -2266,7 +2266,7 @@ abstract class RenderBox extends RenderObject {
...
@@ -2266,7 +2266,7 @@ abstract class RenderBox extends RenderObject {
DiagnosticsProperty
<
Size
>(
'Size'
,
_size
,
style:
DiagnosticsTreeStyle
.
errorProperty
),
DiagnosticsProperty
<
Size
>(
'Size'
,
_size
,
style:
DiagnosticsTreeStyle
.
errorProperty
),
ErrorHint
(
ErrorHint
(
'If you are not writing your own RenderBox subclass, then this is not '
'If you are not writing your own RenderBox subclass, then this is not '
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
),
),
]);
]);
}
}
...
@@ -2315,7 +2315,7 @@ abstract class RenderBox extends RenderObject {
...
@@ -2315,7 +2315,7 @@ abstract class RenderBox extends RenderObject {
...
failures
,
...
failures
,
ErrorHint
(
ErrorHint
(
'If you are not writing your own RenderBox subclass, then this is not
\n
'
'If you are not writing your own RenderBox subclass, then this is not
\n
'
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
),
),
]);
]);
}
}
...
@@ -2341,7 +2341,7 @@ abstract class RenderBox extends RenderObject {
...
@@ -2341,7 +2341,7 @@ abstract class RenderBox extends RenderObject {
),
),
ErrorHint
(
ErrorHint
(
'If you are not writing your own RenderBox subclass, then this is not
\n
'
'If you are not writing your own RenderBox subclass, then this is not
\n
'
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
),
),
]);
]);
}
}
...
...
packages/flutter/lib/src/rendering/flex.dart
View file @
6d01ae13
...
@@ -758,7 +758,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
...
@@ -758,7 +758,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
...
addendum
,
...
addendum
,
ErrorDescription
(
ErrorDescription
(
"If none of the above helps enough to fix this problem, please don't hesitate to file a bug:
\n
"
"If none of the above helps enough to fix this problem, please don't hesitate to file a bug:
\n
"
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
),
),
]);
]);
return
true
;
return
true
;
...
...
packages/flutter/lib/src/widgets/framework.dart
View file @
6d01ae13
...
@@ -2576,7 +2576,7 @@ class BuildOwner {
...
@@ -2576,7 +2576,7 @@ class BuildOwner {
ErrorHint
(
ErrorHint
(
'If you did not attempt to call scheduleBuildFor() yourself, then this probably '
'If you did not attempt to call scheduleBuildFor() yourself, then this probably '
'indicates a bug in the widgets framework. Please report it:
\n
'
'indicates a bug in the widgets framework. Please report it:
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
),
),
]);
]);
}
}
...
...
packages/flutter/test/foundation/assertions_test.dart
View file @
6d01ae13
...
@@ -242,7 +242,7 @@ void main() {
...
@@ -242,7 +242,7 @@ void main() {
'This error should still help you solve your problem, however
\n
'
'This error should still help you solve your problem, however
\n
'
'please also report this malformed error in the framework by
\n
'
'please also report this malformed error in the framework by
\n
'
'filing a bug on GitHub:
\n
'
'filing a bug on GitHub:
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
\n
'
'═════════════════════════════════════════════════════════════════
\n
'
,
'═════════════════════════════════════════════════════════════════
\n
'
,
);
);
}
}
...
@@ -279,7 +279,7 @@ void main() {
...
@@ -279,7 +279,7 @@ void main() {
'This error should still help you solve your problem, however
\n
'
'This error should still help you solve your problem, however
\n
'
'please also report this malformed error in the framework by
\n
'
'please also report this malformed error in the framework by
\n
'
'filing a bug on GitHub:
\n
'
'filing a bug on GitHub:
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
\n
'
'═════════════════════════════════════════════════════════════════
\n
'
,
'═════════════════════════════════════════════════════════════════
\n
'
,
);
);
}
}
...
@@ -308,7 +308,7 @@ void main() {
...
@@ -308,7 +308,7 @@ void main() {
'This error should still help you solve your problem, however
\n
'
'This error should still help you solve your problem, however
\n
'
'please also report this malformed error in the framework by
\n
'
'please also report this malformed error in the framework by
\n
'
'filing a bug on GitHub:
\n
'
'filing a bug on GitHub:
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
\n
'
'═════════════════════════════════════════════════════════════════
\n
'
,
'═════════════════════════════════════════════════════════════════
\n
'
,
);
);
}
}
...
@@ -408,7 +408,7 @@ void main() {
...
@@ -408,7 +408,7 @@ void main() {
'provide substantially more information in this error message to help you determine '
'provide substantially more information in this error message to help you determine '
'and fix the underlying cause.
\n
'
'and fix the underlying cause.
\n
'
'In either case, please report this assertion by filing a bug on GitHub:
\n
'
'In either case, please report this assertion by filing a bug on GitHub:
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
);
);
expect
(
builder
.
properties
[
4
]
is
ErrorSpacer
,
true
);
expect
(
builder
.
properties
[
4
]
is
ErrorSpacer
,
true
);
final
DiagnosticsStackTrace
trace
=
builder
.
properties
[
5
]
as
DiagnosticsStackTrace
;
final
DiagnosticsStackTrace
trace
=
builder
.
properties
[
5
]
as
DiagnosticsStackTrace
;
...
...
packages/flutter_driver/lib/src/driver/web_driver.dart
View file @
6d01ae13
...
@@ -311,7 +311,7 @@ class FlutterWebConnection {
...
@@ -311,7 +311,7 @@ class FlutterWebConnection {
'If the test uses VM service extensions provided by the Flutter SDK, '
'If the test uses VM service extensions provided by the Flutter SDK, '
'then this error is likely caused by a bug in Flutter. Please report it '
'then this error is likely caused by a bug in Flutter. Please report it '
'by filing a bug on GitHub:
\n
'
'by filing a bug on GitHub:
\n
'
' https://github.com/flutter/flutter/issues/new?template=2_bug.
md
'
,
' https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
'
,
error
,
error
,
stackTrace
,
stackTrace
,
);
);
...
...
packages/flutter_localizations/lib/src/l10n/README.md
View file @
6d01ae13
...
@@ -213,7 +213,7 @@ Google contributes translations for all the languages supported by
...
@@ -213,7 +213,7 @@ Google contributes translations for all the languages supported by
this package. (Googlers, for more details see
<go
/
flutter-l10n
>
.)
this package. (Googlers, for more details see
<go
/
flutter-l10n
>
.)
If you have feedback about the translations please
If you have feedback about the translations please
[
file an issue on the Flutter github repo
](
https://github.com/flutter/flutter/issues/new?template=2_bug.
md
)
.
[
file an issue on the Flutter github repo
](
https://github.com/flutter/flutter/issues/new?template=2_bug.
yml
)
.
### See Also
### See Also
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment