text:
Flutter upgrade crash report

command
flutter upgrade
exception
ArgumentError: Invalid argument(s): Cannot find executable for /home/moein/Documents/flutter-dev/bin/cache/dart-sdk/bin/pub.
#0      _getExecutable (package:process/src/interface/local_process_manager.dart:113:5)
#1      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:41:7)
#2      runCommand (package:flutter_tools/src/base/process.dart:115:25)
#3      runCommandAndStreamOutput (package:flutter_tools/src/base/process.dart:133:33)
<asynchronous suspension>
#4      pub (package:flutter_tools/src/dart/pub.dart:155:18)
<asynchronous suspension>
#5      pubGet (package:flutter_tools/src/dart/pub.dart:104:13)
<asynchronous suspension>
#6      UpgradeCommand.runCommand (package:flutter_tools/src/commands/upgrade.dart:75:13)
<asynchronous suspension>
#7      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:372:18)
#8      _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#9      _rootRunUnary (dart:async/zone.dart:1132:38)
#10     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#11     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#12     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#13     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#14     Future._complete (dart:async/future_impl.dart:476:7)
#15     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#16     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#17     _rootRun (dart:async/zone.dart:1124:13)
#18     _CustomZone.run (dart:async/zone.dart:1021:19)
#19     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#20     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#21     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#22     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#23     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel master, v0.9.3-pre.20, on Linux, locale en_US.UTF-8)
    • Flutter version 0.9.3-pre.20 at /home/moein/Documents/flutter-dev
    • Framework revision 6d134e0c86 (8 days ago), 2018-09-29 08:29:28 +0700
    • Engine revision 0c2b6dc6e3
    • Dart version 2.1.0-dev.5.0.flutter-654c4babc8

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    • Android SDK at /home/moein/Android/Sdk
    • Android NDK at /home/moein/Android/Sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.0
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.1)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.27.2)
    • VS Code at /usr/share/code
    • Flutter extension version 2.18.0

[✓] Connected devices (1 available)
    • SM J730F • 5200f825ee301577 • android-arm • Android 7.0 (API 24)

• No issues found!

Did you check if the file /home/moein/Documents/flutter-dev/bin/cache/dart-sdk/bin/pub exists?
Please try deleting /home/moein/Documents/flutter-dev/bin/cache/ and run flutter doctor again.

Deleted the cache and now:
[✓] Flutter (Channel master, v0.9.6-pre.35, on Linux, locale en_US.UTF-8)
    • Flutter version 0.9.6-pre.35 at /home/moein/Documents/flutter-dev
    • Framework revision 2a8e35cc9c (2 days ago), 2018-09-29 08:29:28 +0700
    • Engine revision 0c2b6dc6e3
    • Dart version 2.1.0-dev.6.0.flutter-2aac05fe10

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    • Android SDK at /home/moein/Android/Sdk
    • Android NDK at /home/moein/Android/Sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.0
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.1)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.27.2)
    • VS Code at /usr/share/code
    • Flutter extension version 2.18.0

[✓] Connected device (1 available)
    • SM J730F • 5200f825ee301577 • android-arm • Android 7.0 (API 24)

• No issues found!

@mrdimaan thanks for the update!
Does this mean the issue can be closed?

Yeah my problem is solved. This issue was just for the report

authors: mrdimaan zoechi


text:
iOS add2app podfile work-around conflicts with comment - device_info plugin for example.

We are trying to do a add2app helloworld+ example demonstrating basic skeleton for

swift hello world with a button to trigger FlutterViewController
Existing very simple plugin from dartpub (device_info or whatever)
very simple string platform call.

So it is a mash-up of add2app and platform calls to prove out more real-world scenarios.
One situation we had that seemed like a possible bug occurred in swift project; the podfile says the below - yet running it ' \as is' complains about not being able to find I believe it was device_info.h or similar; the problem was resolved by commenting out use_frameworks!  below
 # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

I found two things disturbing about this

The comment makes it seem like the opposite - that you should not do this
a colleague ran into this with cocoapods version: 1.6.1 ; MacOS: Mojave, 10.14.3 (18D109)l Xcode verison: Version 10.1 (10B61) - but I did not run into this issue with Xcode 9.1, Mac OS high Sierra 10.13.6, cocoapods

Not sure if this is supposed to get updated? it says 0.01...
https://github.com/flutter/plugins/blob/master/packages/device_info/ios/device_info.podspec
but i would guess thats unrelated...

My colleague  was able to get the main issue resolved with flutter clean an pod reinstall or something like that, so i'll close this issue.
thanks

source: gharchive/issue

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
Browser Forward button not enabled

Describe the bug
You can use the back button to step to the previous page in your Flutter app, but after pressing "back" the "forward" button does not become enabled on my browser.
To Reproduce
Steps to reproduce the behavior:
Open the Flutter Gallery app in your browser. Tap to navigate to any page. For example, "Style", then "colors". Hit the back button. The forward button does not become enabled after navigating to the new page.
Expected behavior
A clear and concise description of what you expected to happen.
I expect the forward button to become enabled after I navigate to the previous page.
Desktop (please complete the following information):

OS: mac
Browser Chrome 73.0.3683.86
Dart Version 2.2.1-dev.2.0.flutter-None on "macos_x64"
Flutter Web commit SHA: 04e53468fd60f6d7613a0745fba2dc14eac676c9

Any updates on this?

Hi there! When should this be completed? Thanks!

Also, when should Tesler's copy and paste function work for Flutter web? Thanks!

i have same issue

Hi, any update on this?

@yjbanov Why was this labeled as P5 instead of P4?
This is a pretty serious UX issue, as people have come to expect their browser forward button to work on all websites.
Rather than treating it as a nice-to-have feature request, I'd like this to be treated with the severity of a bug, at the very least. A UX bug is still a bug.

It's been pending since a long time. Any ETA for this ?

Wow this is still open?

Anything on this?

Hi, Any update on this?

Flutter cannot be used as a web page until this bug is fixed.
I would appreciate it if you could correct it.

This issue should be fixed if you use Router widget, see https://github.com/flutter/flutter/pull/63424

FYI might want to update the FAQ's that say this is not ready
https://flutter.dev/docs/development/platform-integration/web#how-are-forward-and-backward-buttons-presented-in-the-web-ui

open this issue to keep track doc update

assigning to myself, already working on updating FAQs and this specific question

docs updated

For me, this issue is still not closed. Some of us want to use Navigator 1.0 for the web with the onGenerateRoute, onUnknownRoute, and routes param. This is because Navigator 2.0 can be extremely difficult to implement in some cases
However, using the Navigator 1.0 approach (which is supposed to be supported and not deprecated), the forward button is still not enabled which is a serious UX problem.
Do we know if there is any workaround besides using Navigator 2.0?

There is no planed work to support the forward button in nav 1, and I doubt we will spend time doing it in the future. Our current plan is to improve the usability of nav 2. See https://github.com/flutter/uxr/wiki/Navigator-2.0-API-Usability-Research

authors: 12people Akashmathwani Levi-Lesches andesappal ch-muhammad-adil chunhtai efortuna jpv123 mahmoudsalah37 mariamhas ochmist okamototomoyuki1988 steeling sujithkanna


text:
Updated Widget is sized wrong (but placed correctly)

This is similar to an old issue from the old issue tracker. This new issue surfaced because of that old issue's fix (https://github.com/flutter/flutter/commit/c44dd17d478ee4da79f276feaf52d730b2073fab). When child.parentData = null; is removed again, then we no longer see this new issue's behavior (though we do see the old one's).
Anyway, the example is 2 stacks that can be tapped to move up or down on the screen. Notably, the lower part of the screen will also wrap the Stack in a Listener, which causes problems when a Disk widget is moved from the bottom stack back to the top stack.
This is lib/main.dart.
import 'package:flutter/animation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

class Disk extends StatefulComponent {
  String name;
  Function cb;

  Disk(String name, bool useKey, this.cb) :
    super(key: useKey ? new GlobalObjectKey(name) : null),
    name = name;

  DiskState createState() => new DiskState();
}

class DiskState extends State<Disk> {
  Point _oldLocation;

  @override
  void initState() {
    print("init ${config.name}");
    super.initState();
    _checkPosition();
  }

  void _checkPosition() {
    scheduler.requestPostFrameCallback((Duration d) {
      print("Post Frame Callback of ${config.name} ${d}");
      Point newLocation = getGlobalPosition();
      print("Moved from ${_oldLocation} to ${newLocation}");
      setState(() {
        _oldLocation = newLocation;
      });
    });
  }

  @override
  void didUpdateConfig(Disk oldConfig) {
    print("Update ${oldConfig.name} to ${config.name}");
    _checkPosition();
  }

  Point getGlobalPosition() {
    RenderBox box = context.findRenderObject();
    return box.localToGlobal(Point.origin);
  }

  Widget build(BuildContext context) {
    return new InkWell(
      onTap: config.cb,
      child: new Container(
        decoration: new BoxDecoration(backgroundColor: Colors.blue[500]),
        width: 30.0,
        height: 30.0,
        child: new Text(config.name)
      )
    );
  }
}

class Holder extends StatefulComponent {
  HolderState createState() => new HolderState();
}

class HolderState extends State<Holder> {
  Map<String, bool> data = new Map<String, bool>();

  void initState() {
    super.initState();

    data["a"] = true;
    data["b"] = true;

  }

  Function _makeChangeDataCb(String name) {
    return () {
      setState(() {
        data[name] = !data[name];
      });
    };
  }

  Widget build(BuildContext context) {
    // Note1: Set to false to see the effect go away. Set to true, to see the shifted effect in printouts.
    bool useKey = true;

    List<Widget> trueKids = new List<Widget>();
    List<Widget> falseKids = new List<Widget>();
    data.forEach((String name, bool isTop) {
      Disk disk = new Disk(name, useKey, _makeChangeDataCb(name));

      Widget k = disk;

      // Note2: If you add "|| true", then the effect disappears. The widget tree must misalign for the effect to occur.
      if (!isTop) {
        // Note3: This listener gets in the way of the position computation and makes the transform occur twice during localToGlobal. But only when there is a key.
        k = new Listener(
          child: disk
        );
      }

      Widget kid = new Positioned(
        top: 5.0,
        left: 5.0,
        child: k
      );

      if (isTop) {
        trueKids.add(kid);
      } else {
        falseKids.add(kid);
      }
    });

    return new Column([
      new Container(
        decoration: new BoxDecoration(backgroundColor: Colors.red[500]),
        child: new Stack(trueKids),
        width: 60.0,
        height: 60.0
      ),
      new Container(
        decoration: new BoxDecoration(backgroundColor: Colors.red[500]),
        child: new Stack(falseKids),
        width: 60.0,
        height: 60.0
      ),
      new FlatButton(child: new Text("Debug"), onPressed: debugDumpApp)
    ]);
  }
}

void main() {

  runApp(new Holder());
}

You can use this pubspec.yaml and pub run sky_tools start
name: keyedWidgetsPosition
dependencies:
  flutter: "0.0.18"
  sky_tools: any

Or you can run the example with the new way of launching flutter apps.

Reduction
import 'package:flutter/material.dart';

class NewHolder extends StatefulComponent {
  NewHolderState createState() => new NewHolderState();
}

class NewHolderState extends State<NewHolder> {
  GlobalKey key = new GlobalKey();

  bool nested = false;

  Widget build(BuildContext context) {

    Widget child = new Container(
      key: key,
      width: 100.0,
      height: 100.0,
      decoration: new BoxDecoration(backgroundColor: Colors.blue[500])
    );

    if (nested)
      child = new MetaData(child: child);

    return new Listener(
      onPointerDown: (_) {
        setState(() {
          nested = !nested;
        });
      },
      child: new Container(
        decoration: new BoxDecoration(backgroundColor: Colors.green[500]),
        child: new Stack([
          new Positioned(
            top: 50.0,
            left: 50.0,
            child: child
          )
        ])
      )
    );
  }
}

void main() {
  runApp(new NewHolder());
}

I have a fix, need to write a test.

Great, thank you for fixing it so quickly!

Well, I haven't landed the fix yet.  :)

authors: abarth afandria


text:
[Discussion] inheritFromWidgetOfExactType should not add a dependency if called outside of build/didChangeDependencies

Consider the following Foo widget:
class Foo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return RaisedButton(
      onPressed: () {
        MyInherited.of(context).doSomething();
      }
    );
  }
}

In that code snippet, for most implementations of MyInherited.of, pressing the RaisedButton will make Foo depend on MyInherited.
Which means after the button is clicked once, updating MyInherited will force Foo to rebuild, for no reason.

It is technically possible to prevent that from happening, using ancestorInheritedElementForWidgetOfExactType instead of inheritFromWidgetOfExactType.
But the fact that inheritFromWidgetOfExactType add the dependency when used outside of build/didChangeDependencies is probably more of a bug than the desired behavior.

There are multiple solutions:

do a breaking change on inheritFromWidgetOfExactType, to not add a dependency when used outside of build/didChangeDependencies.

Add a new method on BuildContext/Element that wraps inheritFromWidgetOfExactType and ancestorInheritedElementForWidgetOfExactType into something that switch between them depending on if used inside build/didChangeDependencies or not.

I can't think of a legitimate use-case where we'd want the current behavior. So although breaking, the first solution would probably a minimal impact.
Adding a new method on BuildContext for the .of pattern, although non-breaking, will likely have a much more significant impact.
Because that would implicitly require nearly all existing .of methods to be updated to use the new life-cycle.
cc @Hixie

Just add a registerDependency boolean named argument that defaults to true to the of method, and when it's false use the other way to look up the widget.

(making code act differently based on where it's being called from is the kind of magic that we will never add to Flutter. It makes things very hard to debug.)

That's not something the of pattern can do

(making code act differently based on where it's being called from is the kind of magic that we will never add to Flutter. It makes things very hard to debug.)

There are many, many instance of such thing in Flutter.
inheritFromWidgetOfExactType itself cannot be called within initState and dispose.

Just add a registerDependency boolean named argument that defaults to true to the of method, and when it's false use the other way to look up the widget.

That's what provider does.
But that's still unexpected to most peoples. And there are many widgets in Flutter that do not even have that boolean.such as:

Theme.of
Scrollable.of
MediaQuery.of
...

On top of this, using “of” in event handlers is risky and might cause bugs.
Just consider asynchronous event handlers that wait for something and then use “of”. Meanwhile the BuildContext might be gone. That’s the root cause for the dreaded “unstable widget hierarchy” warnings.
I would hence propose to disallow any usage of “of” outside of well defined BuildContext contexts, i.e. only from build and widget lifecycle functions.

authors: Hixie derolf rrousselGit


text:
How to stop this constant stream of logs in webview screen?

I/BufferQueueProducer(17118): [SurfaceTexture-0-17118-0](this:0xcf5ce000,id:0,api:1,p:414,c:-1) connect(P): api=1 producer=(414:???) producerControlledByApp=false D/BufferQueueProducer(17118): [SurfaceTexture-0-17118-0](this:0xcf5ce000,id:0,api:1,p:414,c:-1) cancelBuffer: slot 0 D/BufferQueueProducer(17118): [SurfaceTexture-0-17118-0](this:0xcf5ce000,id:0,api:1,p:414,c:-1) cancelBuffer: slot 0
I'm getting the constant stream of the above-mentioned log as soon as webview activity is loaded. This stream is annoying and I'm unable to see my own logs. How to stop them or at least filter them? I'm using visual studio code.

@amsmu  Are you testing on emulator?

Same issue. Testing on device. Any assistance would be great.

Hi @amsmu
if you're still experiencing this problem with latest stable, please create a new issue and provide the information required in the template.
Thank you

authors: FarmaanElahi TahaTesser amsmu raphael-bmec-co


text:
Plugin: Bluetooth / BLE

Mobile platforms offer APIs to connect and communicate with Bluetooth.

yes please! Especially Bluetooth Low Energy

:) I personally want to connect it to an Arduino with BTLE.

I received a Xiaomi Mi Band Pulse today and I can't wait to get my datas back (the official Mi Fit app has really to many authorisations needed)

@pauldemarco is working on a bluetooth plugin here: https://github.com/pauldemarco/flutter_blue

FlutterBlue is looking pretty good! I wonder if we can close this issue?

My understanding is that FlutterBlue is still Android-only, so not sure we can close this yet.

Moving to next milestone since this is not a priority plugin.

Out-of-the-box bluetooth support would be appreciated. My team decided to go with React Native because Flutter Blue doesn't work on iOS yet. I would have loved to go with Flutter though.

Still waiting for someone to implement iOS functionality with Flutter Blue :(
I want to use Flutter SO BAD!

FlutterBlue now supports iOS :+1:

Amazing news @pauldemarco! I'm tentatively going to close this now that flutter_blue supports both iOS and Android.

@pauldemarco have you considered writing a small post about how flutter_blue came to be? I noticed the plugin is quite interesting, also from an implementation point of view with it's use of protobuf for the channel communication.

How to use flutter_blue to print a string with a bluetooth printer?

Is there any example on the transmission of data with other devices using this plugin?

Is there any non-low-energy Bluetooth Lib? I am working on a project which uses RFCOMM sockets and that's not in the realm of BLE

I'm now aware of such a post. We did look a bit a protobuf for the transport, but were a bit worried about it being space inefficient, but we did not do a full investigation.

hi I have  Add flutter_Blue to my flutter app and now I can connect My MI band 5 with the app but I still can't access data from the MI Band how can I do that?
it will be really helpful if anyone can help me with this matter. Thank you!

authors: Hixie a14n al-ec eugenelet martyglaubitz mit-mit pauldemarco realcarlos rednoah sethladd yasasmi


text:
Combination of Stack/MaterialApp/navigatorKey does not work

Steps to Reproduce
Below is a minimal app that runs into the same bug as our bigger app. If the delay is longer (e.g. 1 second instead of 100ms), the app runs fine. The bug seems to be Android only.
import 'dart:async';
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final controller = StreamController<int>();
  final navigatorKey = GlobalKey<NavigatorState>();

  @override
  void initState() {
    Future.delayed(Duration(milliseconds: 100))
        .then((_) => controller.sink.add(1));
    super.initState();
  }

  @override
  void dispose() {
    controller.close();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) => StreamBuilder(
        stream: controller.stream,
        initialData: 0,
        builder: (_, snapshot) {
          final valueKey = ValueKey("data=${snapshot.data}");
          debugPrint("valueKey=$valueKey");

          return Stack(
            children: <Widget>[
              MaterialApp(
                home: Scaffold(
                  appBar: AppBar(title: Text('title 20')),
                  body: Center(child: Text('body')),
                ),
                key: valueKey,
                navigatorKey: navigatorKey,
              )
            ],
            textDirection: TextDirection.ltr,
          );
        },
      );
}

Logs
https://gist.github.com/daohoangson/b819b4d48b69f87c8a126bb82f452f80
No issues found! (ran in 3.5s)

[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G103, locale
    en-VN)
    • Flutter version 1.9.1+hotfix.6 at /Users/xxx/repos/flutter
    • Framework revision 68587a0916 (10 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/xxx/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/xxx/Library/Android/sdk
    • Java binary at: /Users/xxx/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5977832/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B53
    • CocoaPods version 1.7.2

[✓] Android Studio (version 3.5)
    • Android Studio at /Users/xxx/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5977832/Android
      Studio.app/Contents
    • Flutter plugin version 41.0.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.40.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (1 available)
    • AOSP on IA Emulator • emulator-5554 • android-x86 • Android 9 (API 28)
      (emulator)

• No issues found!

Hi @daohoangson
Running your code on Flutter 1.12.13+hotfix.8 • channel stable Doesn't seem to cause any exception
If you're still experiencing this issue, please create a new issue and provide the information required in the template.
Thank you

authors: TahaTesser daohoangson


text:
In flutter TextField I write text like "How are you" how can I get "are" selected text from it.Secondly I want that each text in textfield for example: "How are you" have different color like when I select "how" it shows blue text when I select "are" it shows red text.

Steps to Reproduce

...
...
...

Target Platform:
Target OS version/browser:
Devices:
Logs

Hi @ubaidsuhail
opening an issue please try to provide
all or some of the information indicated in the template

Issue Template
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 our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

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.

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.

Closing this issue, since no information has been provided.
Thank you.

authors: iapicca ubaidsuhail


text:
Crash report GrGLSemaphore::~GrGLSemaphore() + 298 (SkRefCnt.h:298)

**Target Platform: iOS
**Target OS version/browser: 12.4.1 (16G102) / 13.3.0 (17C54)
**Devices:  iPhone 6s Plus / iPhone 6s /  iPhone 7 Plus
Logs
Crashed: flutter.io.1.io
0  Flutter                        0x10311e724 GrGLSemaphore::~GrGLSemaphore() + 298 (SkRefCnt.h:298)
1  Flutter                        0x103040124 SkNVRefCnt<GrBackendTextureImageGenerator::RefHelper>::unref() const + 251 (SkRefCnt.h:251)
2  Flutter                        0x103040404 GrBackendTextureImageGenerator::~GrBackendTextureImageGenerator() + 264 (GrBackendSurface.h:264)
3  Flutter                        0x10303f374 GrBackendTextureImageGenerator::~GrBackendTextureImageGenerator() + 81 (GrBackendTextureImageGenerator.cpp:81)
4  Flutter                        0x102f76680 SkNVRefCnt<SharedGenerator>::unref() const + 180 (SkRefCnt.h:180)
5  Flutter                        0x102f767e8 SkImage_Lazy::~SkImage_Lazy() + 140 (SkImage_Lazy.cpp:140)
6  Flutter                        0x102f753c0 SkImage_Lazy::~SkImage_Lazy() + 133 (SkImage_Lazy.cpp:133)
7  Flutter                        0x102f57414 void SkRecord::Destroyer::operator()<SkRecords::DrawImageRect>(SkRecords::DrawImageRect*) + 98 (SkRecords.h:98)
8  Flutter                        0x102f56f98 SkRecord::~SkRecord() + 14 (SkRecord.cpp:14)
9  Flutter                        0x102f56f48 SkRecord::~SkRecord() + 12 (SkRecord.cpp:12)
10 Flutter                        0x102f9b428 SkBigPicture::~SkBigPicture() + 22 (SkBigPicture.h:22)
11 Flutter                        0x102ea2db4 flutter::SkiaUnrefQueue::Drain() + 318 (deque:318)
12 Flutter                        0x102ea7530 (Missing)
13 Flutter                        0x102ea9b9c (Missing)
14 CoreFoundation                 0x192e08d60 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
15 CoreFoundation                 0x192e08a90 __CFRunLoopDoTimer + 864
16 CoreFoundation                 0x192e082c4 __CFRunLoopDoTimers + 248
17 CoreFoundation                 0x192e03214 __CFRunLoopRun + 1844
18 CoreFoundation                 0x192e027c0 CFRunLoopRunSpecific + 436
19 Flutter                        0x102ea9a78 (Missing)
20 Flutter                        0x102ea91e4 (Missing)
21 libsystem_pthread.dylib        0x192a952c0 _pthread_body + 128
22 libsystem_pthread.dylib        0x192a95220 _pthread_start + 44
23 libsystem_pthread.dylib        0x192a98cdc thread_start + 4

    • Flutter version 1.10.7 at /Users/*/development/flutter
    • Framework revision e70236e36c (3 months ago), 2019-10-02 09:32:30 -0700
    • Engine revision 9e6314d348
    • Dart version 2.6.0 (build 2.6.0-dev.0.0 1103600280)

Hi @devSC
could you please run
flutter channel stable
flutter upgrade --force
flutter clean
flutter pub cache repair
If the issue persist please provide your updated
flutter doctor -v and flutter run --verbose
together with a a minimal code sample to reproduce the problem
thank you

it happened to me...

fixed by https://github.com/flutter/engine/pull/32106

authors: ColdPaleLight devSC iapicca tomatoeggs


text:
device logs on iOS include old stuff (e.g. when you call flutter run)

Steps to reproduce:
flutter run
w # to dump the widget tree
# wait for the widget tree to be done dumping
q # to quit
flutter run

Notice how the second flutter run dumps the end of the widget tree from the previous run.

I was not able to repro this using an iOS simulator just now.

authors: Hixie eseidelGoogle


text:
web_benchmarks_html build_material_checkbox.html.drawFrameDuration.average & build_material_checkbox.html.drawFrameDuration.average regressions

May be https://github.com/flutter/flutter/pull/61398? /cc @LongCatIsLooong, who made the commit, and @yjbanov.

Probably not P0-worthy, but worth investigating quickly. Marking P1.

Looks like both benchmarks are back to green after the revert, and didn't seem to regress after the reland. Closing.


text:
Update the desktop codelab for Windows

The desktop code https://codelabs.developers.google.com/codelabs/flutter-github-graphql-client/#0 needs to be updated with Windows instructions and tests against the Windows alpha

This is completed.

authors: csells gspencergoog


text:
Flutter iOS app crashes in flutter::TransformLayer::Paint > SkAutoCanvasRestore::~SkAutoCanvasRestore()

Our app crashes randomly with a small stack trace which doesn't help with investigating the problem. Locally it doesn't reproduce. I suppose it crashes on VideoPlayer (we working on gathering details of these crashes). I couldn't symbolize the output like it is described here because it is not trivial for iOS. Right now I have no idea what is the problem and how to find it. I tried to find it by stack trace with no success.
Steps to Reproduce

Currently I have no steps for reproducing. It crashes randomly on:

13.6.0 (17G68) iPad Pro
12.4.9 (16H5) iPhone 6
13.3.1 (17D50) iPhone 7
13.6.1 (17G80) iPad Air 2
13.7.0 (17H35) iPad Pro (10.5-inch)
14.2.0 (18B92) iPad Pro

Crashlog  from 13.3.1 (17D50) iPhone 7 (it looks very  similar on all devices):
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000070
__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__

Crashed: com.apple.main-thread
0  Flutter                        0x100c3f3a0 (Missing)
1  Flutter                        0x100cdc400 (Missing)
2  Flutter                        0x100c3f3e4 (Missing)
3  Flutter                        0x100c22444 (Missing)
4  Flutter                        0x100c1e43c (Missing)
5  Flutter                        0x100c20c54 (Missing)
6  Flutter                        0x100c1e43c (Missing)
7  Flutter                        0x100c2241c (Missing)
8  Flutter                        0x100c1e43c (Missing)
9  Flutter                        0x100c2241c (Missing)
10 Flutter                        0x100c1e43c (Missing)
11 Flutter                        0x100c20c54 (Missing)
12 Flutter                        0x100c1e43c (Missing)
13 Flutter                        0x100c2241c (Missing)
14 Flutter                        0x100c1e43c (Missing)
15 Flutter                        0x100c2241c (Missing)
16 Flutter                        0x100c1e43c (Missing)
17 Flutter                        0x100c2241c (Missing)
18 Flutter                        0x100c1e43c (Missing)
19 Flutter                        0x100c1c6bc (Missing)
20 Flutter                        0x100e9c584 (Missing)
21 Flutter                        0x100bd344c (Missing)
22 Flutter                        0x100bd53c0 (Missing)
23 CoreFoundation                 0x1a8ff103c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
24 CoreFoundation                 0x1a8ff0d78 __CFRunLoopDoTimer + 880
25 CoreFoundation                 0x1a8ff0448 __CFRunLoopDoTimers + 276
26 CoreFoundation                 0x1a8feb584 __CFRunLoopRun + 1920
27 CoreFoundation                 0x1a8feaadc CFRunLoopRunSpecific + 464
28 GraphicsServices               0x1b2f8b328 GSEventRunModal + 104
29 UIKitCore                      0x1ad0f863c UIApplicationMain + 1936
30 Runner                         0x1006eb5e8 main + 6 (AppDelegate.swift:6)
31 libdyld.dylib                  0x1a8e74360 start + 4

[✓] Flutter (Channel unknown, 1.22.2, on macOS 11.0.1 20B29, locale en-RU)
    • Flutter version 1.22.2 at /Users/artem/flutter
    • Framework revision 84f3d28555 (8 weeks ago), 2020-10-15 16:26:19 -0700
    • Engine revision b8752bbfff
    • Dart version 2.10.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/artem/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/artem/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/artem/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

@w3ggy
Is your app add-to-app ?  Can you also provide pubspec.yaml ?

No, it is a Flutter app from scratch except for two local plugins related to AirPlay (flutter_airplay_button and flutter_audio_session).
My initial question could be incorrect a little bit. To the start, I want to know in which Flutter component the issue is happening? Because I have no way to reproduce it on my devices and stack trace has no useful information (at least for me)
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
built_value_generator: ^7.1.0
built_collection: ^4.3.2
firebase_core: ^0.5.1
firebase_analytics: ^6.1.0
firebase_crashlytics: ^0.2.2
firebase_messaging: ^7.0.3
flutter_svg: ^0.19.0
image_picker: ^0.6.7+11
freezed_annotation: ^0.11.0
json_serializable: ^3.5.0
auto_size_text: ^2.1.0
table_calendar: ^2.3.0
flutter_secure_storage: ^3.3.4
rxdart: ^0.24.1
keyboard_actions: ^3.3.1
http_parser: ^3.1.4
video_player: ^0.11.0
flutter_airplay_button:
path: ./local_plugins/flutter_airplay_button
flutter_audio_session:
path: ./local_plugins/flutter_audio_session
webview_flutter: ^1.0.0
uni_links: ^0.4.0
cupertino_icons: ^1.0.0
shared_preferences: ^0.5.12
keyboard_visibility: ^0.5.6
native_device_orientation: ^0.4.3
cached_network_image: ^2.3.2+1
image_cropper: 1.3.1
url_launcher: ^5.7.2
tutorial_coach_mark: ^0.5.1
smooth_page_indicator: ^0.2.0
native_pdf_view: ^3.8.0
flutter_segment: ^3.0.0
wakelock: ^0.2.0
package_info: ^0.4.3
flutter_cache_manager: ^1.4.2
phone_state_i: ^0.0.3
share: ^0.6.5+4
dev_dependencies:
build_runner: ^1.10.2
effective_dart: ^1.2.4
freezed: ^0.11.6
flutter_launcher_icons: ^0.8.1
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
assets:
- assets/images/fit/svg/
- assets/images/fit/png/
- assets/images/golf/svg/
- assets/images/golf/png/
- assets/images/common/png/
- assets/images/common/svg/
- assets/files/fit/
- assets/files/golf/
fonts:
- family: Gotham
fonts:
- asset: assets/fonts/Gotham/Gotham-Ultra.ttf
weight: 900
- asset: assets/fonts/Gotham/Gotham-UltraItalic.ttf
weight: 900
style: italic
- asset: assets/fonts/Gotham/Gotham-Black.ttf
weight: 800
- asset: assets/fonts/Gotham/Gotham-BlackItalic.ttf
weight: 800
style: italic
- asset: assets/fonts/Gotham/Gotham-Bold.ttf
weight: 700
- asset: assets/fonts/Gotham/Gotham-BoldItalic.ttf
weight: 700
style: italic
- asset: assets/fonts/Gotham/Gotham-Medium.ttf
weight: 500
- asset: assets/fonts/Gotham/Gotham-MediumItalic.ttf
weight: 500
style: italic
- asset: assets/fonts/Gotham/Gotham-Book.ttf
weight: 400
- asset: assets/fonts/Gotham/Gotham-BookItalic.ttf
weight: 400
style: italic
- asset: assets/fonts/Gotham/Gotham-Light.ttf
weight: 300
- asset: assets/fonts/Gotham/Gotham-LightItalic.ttf
weight: 300
style: italic
- asset: assets/fonts/Gotham/Gotham-XLight.ttf
weight: 200
- asset: assets/fonts/Gotham/Gotham-XLightItalic.ttf
weight: 200
style: italic
- asset: assets/fonts/Gotham/Gotham-Thin.ttf
weight: 100
- asset: assets/fonts/Gotham/Gotham-Thin.ttf
weight: 100
style: italic
</details>

Keeping this issue open for further triage, as there's no simple reproducible use case and crash is probably occurring from production app.

@w3ggy Can we get a full stack trace so we can symbolicate it (or attach a symbolicated one)?

@jmagman How to do it? That stack trace from Crashlytics is all that I have. I looked through https://github.com/flutter/flutter/wiki/Crashes but there is the only way to do it locally but I can't reproduce it on my devices.
Maybe I didn't catch how to do it.

I realized that I can take it from the AppStore fatal crashes.

#0	0x00000001057733a0 in SkCanvas::restore() ()
#1	0x0000000105810400 in SkNWayCanvas::willRestore() ()
#2	0x0000000105810400 in SkNWayCanvas::willRestore() ()
#3	0x00000001057733e4 in SkCanvas::restore() ()
#4	0x0000000105756444 in SkCanvas::restoreToCount(int) ()
#5	0x0000000105756444 in SkAutoCanvasRestore::~SkAutoCanvasRestore() ()
#6	0x0000000105756444 in SkAutoCanvasRestore::~SkAutoCanvasRestore() ()
#7	0x0000000105756444 in flutter::TransformLayer::Paint(flutter::Layer::PaintContext&) const ()
#8	0x000000010575243c in flutter::ContainerLayer::PaintChildren(flutter::Layer::PaintContext&) const ()
#9	0x0000000105754c54 in flutter::PhysicalShapeLayer::Paint(flutter::Layer::PaintContext&) const ()
#10	0x000000010575243c in flutter::ContainerLayer::PaintChildren(flutter::Layer::PaintContext&) const ()
#11	0x000000010575641c in flutter::TransformLayer::Paint(flutter::Layer::PaintContext&) const ()
#12	0x000000010575243c in flutter::ContainerLayer::PaintChildren(flutter::Layer::PaintContext&) const ()
#13	0x000000010575641c in flutter::TransformLayer::Paint(flutter::Layer::PaintContext&) const ()
#14	0x000000010575243c in flutter::ContainerLayer::PaintChildren(flutter::Layer::PaintContext&) const ()
#15	0x0000000105754c54 in flutter::PhysicalShapeLayer::Paint(flutter::Layer::PaintContext&) const ()
#16	0x000000010575243c in flutter::ContainerLayer::PaintChildren(flutter::Layer::PaintContext&) const ()
#17	0x000000010575641c in flutter::TransformLayer::Paint(flutter::Layer::PaintContext&) const ()
#18	0x000000010575243c in flutter::ContainerLayer::PaintChildren(flutter::Layer::PaintContext&) const ()
#19	0x000000010575641c in flutter::TransformLayer::Paint(flutter::Layer::PaintContext&) const ()
#20	0x000000010575243c in flutter::ContainerLayer::PaintChildren(flutter::Layer::PaintContext&) const ()
#21	0x000000010575641c in flutter::TransformLayer::Paint(flutter::Layer::PaintContext&) const ()
#22	0x000000010575243c in flutter::ContainerLayer::PaintChildren(flutter::Layer::PaintContext&) const ()
#23	0x00000001057506bc in flutter::LayerTree::Paint(flutter::CompositorContext::ScopedFrame&, bool) const ()
#24	0x00000001057506bc in flutter::CompositorContext::ScopedFrame::Raster(flutter::LayerTree&, bool) ()
#25	0x00000001059d0584 in flutter::Rasterizer::DrawToSurface(flutter::LayerTree&) ()
#26	0x000000010570744c in std::__1::__function::__value_func::operator()() const ()
#27	0x000000010570744c in std::__1::function::operator()() const ()
#28	0x000000010570744c in fml::MessageLoopImpl::FlushTasks(fml::FlushType) ()
#29	0x00000001057093c0 in fml::MessageLoopImpl::RunExpiredTasksNow() ()
#30	0x00000001057093c0 in fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) ()
#31	(null) in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ ()
#32	(null) in __CFRunLoopDoTimer ()
#33	(null) in __CFRunLoopDoTimers ()
#34	(null) in __CFRunLoopRun ()
#35	(null) in CFRunLoopRunSpecific ()
#36	(null) in GSEventRunModal ()
#37	(null) in -[UIApplication _run] ()
#38	(null) in UIApplicationMain ()
#39	0x0000000104fe75e8 in main at /Users/artem/AndroidStudioProjects/fitforever_mobile/ios/Runner/AppDelegate.swift:6
#40	(null) in start ()

We launched an update to our native app with embedded Flutter, and we can also see this exception on a number of devices.
MAIN THREAD - CRASHED
MyDay
0x1023c0000 + 984720
MyDay
0x1023c0000 + 984832
Flutter
0x103770000 + 5730972
Flutter
0x103770000 + 214444
Flutter
0x103770000 + 3242288
Flutter
0x103770000 + 252796
Flutter
0x103770000 + 260848
CoreFoundation
__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
CoreFoundation
__CFRunLoopDoTimer
CoreFoundation
__CFRunLoopDoTimers
CoreFoundation
__CFRunLoopRun
CoreFoundation
CFRunLoopRunSpecific
0x0 + 0
0x0 + 0
0x0 + 0
MyDay
0x0 + 0
libdyld.dylib
start

I'm having the same problem is there a fix?

Crashed:_ io.flutter.1.io
0  libsystem_kernel.dylib         0x7964 __pthread_kill + 8
1  libsystem_pthread.dylib        0x7378 pthread_kill + 268
2  libsystem_c.dylib              0x1ff50 abort + 164
3  Flutter                        0x128274 (Missing UUID be105c8b7c053a8ba51f83e291732357)
4  Flutter                        0x8c074 (Missing UUID be105c8b7c053a8ba51f83e291732357)
5  Flutter                        0x19ef88 (Missing UUID be105c8b7c053a8ba51f83e291732357)
6  Flutter                        0x1fed70 (Missing UUID be105c8b7c053a8ba51f83e291732357)
7  Flutter                        0x1fef48 (Missing UUID be105c8b7c053a8ba51f83e291732357)
8  Flutter                        0x202a40 (Missing UUID be105c8b7c053a8ba51f83e291732357)
9  Flutter                        0x4ad390 (Missing UUID
10 Flutter                        0x2fd380 (Missing UUID be105c8b7c053a8ba51f83e291732357)
11 Flutter                        0x4accd0 (Missing UUID be105c8b7c053a8ba51f83e291732357)
12 Flutter                        0x2fbbf0 (Missing UUID be105c8b7c053a8ba51f83e291732357)
13 Flutter                        0x2ff1bc (Missing UUID be105c8b7c053a8ba51f83e291732357)
14 CoreFoundation                 0xae318 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 32
15 CoreFoundation                 0x32cf0 __CFRunLoopDoTimer + 1076
16 CoreFoundation                 0x2d4ec __CFRunLoopDoTimers + 328
17 CoreFoundation                 0xbd08 __CFRunLoopRun + 1944
18 CoreFoundation                 0x1f468 CFRunLoopRunSpecific + 600
19 Flutter                        0x2ff088 (Missing UUID be105c8b7c053a8ba51f83e291732357)
20 Flutter                        0x2fe848 (Missing UUID be105c8b7c053a8ba51f83e291732357)
21 libsystem_pthread.dylib        0x19a4 _pthread_start + 148
22 libsystem_pthread.dylib        0xea0 thread_start + 8
Hi, these are my logs. Is there any fix for that?

I am facing the same issue. App crashes randomly while doing the load testing. It's working perfect in debug mode.
Please help me out.

authors: JulianGerman MATTYGILO adeelilyas1981 darshankawar jmagman lukaszciastko-spica w3ggy


text:
Web-Server device no longer available

Use case
The web-server option which used to be available no longer shows up in flutter devices and therefore is no longer an option in IntelliJ.
I need this because I haven't found a way to set flags in the chrome runner, and I need the insecure localhost flag enabled.
Proposal
Re-enable the web server device in the listing of devices.
I know that it is still supported because I can run flutter run -d web-server on the terminal.

Flutter Doctor results
[✓] Flutter (Channel beta, 1.25.0-8.1.pre, on macOS 11.1 20C69 darwin-x64, locale en-CA)
    • Flutter version 1.25.0-8.1.pre at /Users/morgan/devtools/flutter
    • Framework revision 8f89f6505b (3 days ago), 2020-12-15 15:07:52 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/morgan/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/morgan/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode 12.1.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.5981.152

[✓] VS Code (version 1.52.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (2 available)
    • iPhone (mobile) • ce658d8044f32c23abe2d077b3793e8c5a9f8663 • ios            • iOS 14.3
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

Hi @rmtmckenzie
This to be a proposal for intellij
Following the indication of jetbrains' Flutter plugin, the correct way to address the problem is to open an issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

I can open an issue there, but I have a pretty strong feeling it's just going to be bounced back here. The flutter tool used to report both Chrome (web) and Server (web) devices but now only reports Chrome (web).
> flutter devices

2 connected devices:

iPhone (mobile) • ce658.................................. • ios            • iOS 14.3
Chrome (web)    • chrome                                   • web-javascript • Google Chrome 87.0.4280.88

I'm also seeing this.  Specifically the Get Started instructions for Flutter are no longer correct.  Following these instructions, I only see the Chrome(web) device.  The web server does not exist.

@rmtmckenzie  @tayo
Interesting, this is by design. Implemented in https://github.com/flutter/flutter/pull/71491
It should work fine with the command and you can still make a proposal for the Flutter plugin to still give option if they agree.
Since this is by design and verified by PR, no issues here
Thank you

authors: TahaTesser rmtmckenzie tayo


text:
Create a health check to ensure adb power service is up and running

Tests keep failing on Linux bots when adb power service is not  available.
A health check needs to be added to quarantine the bot when no power service is detected.
Related issue: https://github.com/flutter/flutter/issues/75983

This is already on review.

This has been implemented and validated in staging pool.

authors: godofredoc keyonghan


text:
.pub-cache modules with download zip, Increases the size of download

Steps to Reproduce

Open https://flutter.dev/docs/get-started/install/macos
Download https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_2.0.3-stable.zip
extract unzip ~/Downloads/flutter_macos_2.0.3-stable.zip

Description
I think it is mistakenly bundle the .pub-cache files along with other files. It increase zip size to 1GB and takes 5min to just extract
Logs

$ flutter doctor -v
• No issues found!

@deepakshrma
There's similar open issue describing your case, https://github.com/flutter/flutter/issues/78765
Please follow-up there for updates.
Closing this as duplicate.

authors: darshankawar deepakshrma


text:
Refining the Setup instructions for new users

Thinking about how we can create an even smoother setup experience, some ideas:

Mention where/how to get git
More prominently mention to "verify your setup with flutter doctor" as a Final Step
Mention where to go if your setup fails or stalls out
Mention approximately how much space you'll need, and how to check
Mention that iOS devices should be 5S+
Mention that Android devices should be Jellybean+

Also, this came up from https://github.com/flutter/flutter/issues/5917#issuecomment-278426671
https://flutter.io/setup/#android-setup does mention ANDROID_HOME but not in a prominent way. We should surface it in the doctor message. Should also make sure setting up ANDROID_HOME is a prominent setup step on the website (it's very implicit when installing Android Studio on a mac for instance, the user might never notice).

We also don't explain how to make your path modifications permanent (or link to something that does)?   Presumably flutter doctor should warn if flutter is not installed in your path (https://github.com/flutter/flutter/issues/8029).

see https://github.com/flutter/flutter/issues/1886 re how to make your path modifications permanent

We did a bunch of work here recently. We can open more specific issues as they arise.

authors: Hixie eseidelGoogle sethladd


text:
docs.flutter.io should show git hash

That will make it easier to verify if the dart docs are upto date.
Maybe also include a "last updated on: ".

Good call. dartdoc has a way to insert a snippet into the head or tail of each generated file.

authors: goderbauer sethladd


text:
Fix DDS do not support Curves.easeInOutBack curve

Address https://github.com/flutter/flutter/issues/114105#issuecomment-1292811137
Fixes https://github.com/flutter/flutter/issues/114105

Checking the Google test now...

Turns out it was a test flake. 👍

source: gharchive/pull-request

authors: Piinks xu-baolin


text:
issue #11126 - Add sample code to TextFormField.

https://github.com/flutter/flutter/issues/11126

@branflake2267 Are you planning on applying the suggested fixes or should we take the PR over? (Either way is fine, just checking so we don't step on your toes.)

@branflake2267 I'm going to close this PR for now, but please feel free to resubmit it if you get a chance to work on it again. If you don't we'll get to it eventually.

Oops, I had lost this in my noise. Sounds good. :)

@jslavitz Can we close this now that your PR has been submitted?

authors: Hixie branflake2267 goderbauer


text:
Test on Xcode 16.1 release

https://github.com/flutter/flutter/pull/154884 but also turn on flaky tests in presubmit, see https://github.com/flutter/flutter/issues/150642 and https://github.com/flutter/flutter/pull/151870

Flaky tests passed in the try pool, running them again.

No failures.


text:
Remove flaky marker on some tests.

They've been mostly green since https://github.com/flutter/flutter/pull/17812

authors: tvolkert yjbanov


text:
Roll engine 8dc3a4cde207..0a6aeb347000 (26 commits)

https://github.com/flutter/engine/compare/8dc3a4cde207...0a6aeb347000
git log 8dc3a4cde2075a4f5458fd0eb199627f5124508d..0a6aeb34700047d0cac168389b2d8aae1eff75a3 --no-merges --oneline
0a6aeb347 Roll src/third_party/skia 213aa46af167..176b214f91bc (2 commits) (flutter/engine#9100)
f2e22aa3c Roll src/third_party/skia 7730d7cb8fb2..213aa46af167 (3 commits) (flutter/engine#9098)
557db42ad Roll src/third_party/skia de7e074e8190..7730d7cb8fb2 (2 commits) (flutter/engine#9096)
64a4a0eaa Roll src/third_party/skia f06b6d5469a5..de7e074e8190 (1 commits) (flutter/engine#9094)
fdee6256a Roll src/third_party/skia 7e5a64f517e4..f06b6d5469a5 (2 commits) (flutter/engine#9093)
daf47f0b4 Roll src/third_party/skia dc01a84ae098..7e5a64f517e4 (1 commits) (flutter/engine#9092)
41e10f07f Fix internal break since listing contents can return null (flutter/engine#9078)
cf1b20318 Roll src/third_party/skia f33c95cd6f55..dc01a84ae098 (3 commits) (flutter/engine#9091)
2404cdc90 Rename macOS FLEPlugin* to FlutterPlugin* (flutter/engine#9074)
509a43fe2 Apply minor cleanups to Android embedding (flutter/engine#9088)
0a0f3305b Removed outdated deprecation comments (flutter/engine#9087)
a44cbbf49 Delete BSDiff sources (flutter/engine#9086)
0f1ff3bdb Correct typos, adopt US spellings (flutter/engine#9081)
651c90409 Use track-widget-creation transformer included in the sdk. (flutter/engine#9085)
cfa524fcd New Plugin API PR4: Adds Lifecycle support to the new plugin system. (flutter/engine#9049)
6b8ac18b8 Roll src/third_party/skia d9430297e74a..f33c95cd6f55 (5 commits) (flutter/engine#9082)
11408effd Update macOS podspec version requirement (flutter/engine#9077)
66c6ae48e Roll src/third_party/skia a4b837971c4b..d9430297e74a (30 commits) (flutter/engine#9080)
9151b377e Roll src/third_party/skia 9339a8a61af0..a4b837971c4b (34 commits) (flutter/engine#9076)
ee6a9c404 Fix unchecked operation warnings in FlutterMain (flutter/engine#9073)
333042cf3 Roll third_party/dart/tools/sdks to 2.3.0 (flutter/engine#9072)
01b8c078c Roll src/third_party/skia f77dbd04b926..9339a8a61af0 (12 commits) (flutter/engine#9065)
26b4fb57f Roll src/third_party/dart e3edfd36b2..ec4d48e241 (7 commits)
9d2d58a3c Add mouse button support to the macOS shell (flutter/engine#9054)
b17c0c6e6 Add a podspec for FlutterMacOS.framework (flutter/engine#9062)
82ccba303 libtxt: have GetRectsForRange(strut) fall back to tight bounds if layout isn't forcing use of the strut (flutter/engine#9058)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (cbracken@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6326463867912192 , https://cirrus-ci.com/task/4510070658826240 , https://cirrus-ci.com/task/5200563961069568 , https://cirrus-ci.com/task/5622776426135552 , https://cirrus-ci.com/task/6748676332978176 , https://cirrus-ci.com/task/6185726379556864 , https://cirrus-ci.com/task/5059826472714240

Commit queue failed; closing this roll.


text:
Few overscroll glow fixes.

Fixes #4169 and also now overscroll indicator is dismissed the moment
user scrolls in the opposite direction (#4603) but the bounce overscroll
that happens behind the scene and is clamped in the indicator is still
problematic and needs to be fixed. However these fixes are orthogonal to that.
Also closes #4127 as I verified the timeout feature (reduced the duration
to 500ms to be closer to Android behaviour)

Thanks for doing this! I only had superficial comments, LGTM.

2

Thanks for the review.

authors: HansMuller abarth aghassemi


text:
Roll engine e7b69ced2e24..f5250ec9b1ef (2 commits)

https://github.com/flutter/engine/compare/e7b69ced2e24...f5250ec9b1ef
git log e7b69ced2e24..f5250ec9b1ef --first-parent --oneline
2019-12-06 iska.kaushik@gmail.com [fuchsia] SnapToNextPhase refactor + add tests and documentation (flutter/engine#14158)
2019-12-06 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/mac-amd64 from VKso5... to 9C6UA... (flutter/engine#14161)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Trybots failed. These were the failed builds: https://github.com/flutter/flutter/runs/339156629

Commit queue failed; closing this roll.


text:
Move assert(s) that reference 'this' to the constructor bodies.

We found a bug in both the Dart analyzer and CFE.
See https://github.com/dart-lang/sdk/issues/43175 for the full context.
To fix the implementation we need to fix the clients.

LGTM


text:
Roll Engine from 7983c6fda0b9 to 14eccd42e6d3 (2 revisions)

https://github.com/flutter/engine/compare/7983c6fda0b9...14eccd42e6d3
2020-12-18 skia-flutter-autoroll@skia.org Roll Dart SDK from 2a78a2978983 to c91b639b4cb3 (1 revision) (flutter/engine#23181)
2020-12-18 skia-flutter-autoroll@skia.org Roll Skia from dfc880bd9ba0 to 5d3227096daa (8 revisions) (flutter/engine#23180)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC zra@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


text:
Enable bitcode for new iOS projects

Enable bitcode by default for new iOS projects.
Don't automatically migrate existing projects since it's possible to have dependencies that do not support bitcode, which would require users to turn off bitcode at the app level.
Fixes https://github.com/flutter/flutter/issues/39356
Possible as of https://github.com/flutter/flutter/pull/70224 which prevents mismatches archiving in release while linking against a debug Flutter.framework which only has the bitcode marker (see https://github.com/flutter/flutter/issues/39356#issuecomment-618138976 for details)

I have to think more about if this is a good idea since we don't have any archive validation tests, and that's where it would manifest.  The solution would be to add documentation for what to do if a dependency doesn't support bitcode.

I have to think more about if this is a good idea since we don't have any archive validation tests, and that's where it would manifest.  The solution would be to add documentation for what to do if a dependency doesn't support bitcode.

I'm going to close this for now until we have a more compelling reason to turn this on since it will only cause annoyance for people with dependencies that don't support bitcode, it "worked" before but now they are getting validation errors.
Maybe at some point Apple will require bitcode, in which case we can revisit.

I'm going to close this for now until we have a more compelling reason to turn this on since it will only cause annoyance for people with dependencies that don't support bitcode, it "worked" before but now they are getting validation errors.
Maybe at some point Apple will require bitcode, in which case we can revisit.


text:
Roll Engine from 1b68503bc82b to dd0a048c98c3 (30 revisions)

Roll Engine from 1b68503bc82b to dd0a048c98c3 (30 revisions)
https://github.com/flutter/engine/compare/1b68503bc82b...dd0a048c98c3
2021-03-12 skia-flutter-autoroll@skia.org Roll Skia from 82fe4d2243a3 to 2f4652f3096b (11 revisions) (flutter/engine#24975)
2021-03-12 jason-simmons@users.noreply.github.com Restore original value of the Dart advisory script URI (flutter/engine#24973)
2021-03-12 skia-flutter-autoroll@skia.org Roll Skia from 91113acfd1d6 to 82fe4d2243a3 (3 revisions) (flutter/engine#24972)
2021-03-12 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from Q1DG3XKnA... to GsRYVri0-... (flutter/engine#24971)
2021-03-12 skia-flutter-autoroll@skia.org Roll Dart SDK from 616f110ef95a to c7c4495b38ea (1 revision) (flutter/engine#24967)
2021-03-12 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from xpyKHzaGr... to inepr5WS8... (flutter/engine#24965)
2021-03-12 rlamarrr@gmail.com fixed typographical error (flutter/engine#24902)
2021-03-12 skia-flutter-autoroll@skia.org Roll Skia from 43bde9d2bc82 to 91113acfd1d6 (27 revisions) (flutter/engine#24962)
2021-03-12 james@clarkezone.net Windows: Switch UWP build to using winrt generated headers (flutter/engine#24861)
2021-03-12 mouad.debbar@gmail.com [web] Skip the history tests that introduced flakiness (flutter/engine#24957)
2021-03-12 skia-flutter-autoroll@skia.org Roll Dart SDK from 526b85706ed7 to 616f110ef95a (4 revisions) (flutter/engine#24959)
2021-03-11 matej.knopp@gmail.com Send -1 for empty composition range (flutter/engine#24865)
2021-03-11 yjbanov@google.com [web] Make window.locale(s) non-null; upgrade to null safe deps (flutter/engine#24922)
2021-03-11 i@huangyuhui.net Fix incorrect texture format with OpenGL ES
2021-03-11 yjbanov@google.com [web:semantics] fix node positioning; expose debug tree (flutter/engine#24903)
2021-03-11 mouad.debbar@gmail.com [web] Silence flaky history test (flutter/engine#24949)
2021-03-11 yjbanov@google.com Respond to Skia platform messages (flutter/engine#24880)
2021-03-11 iska.kaushik@gmail.com Reland "Remove pipeline in favor of layer tree holder" (flutter/engine#24947)
2021-03-11 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from XaUP9-wm3... to Q1DG3XKnA... (flutter/engine#24943)
2021-03-11 skia-flutter-autoroll@skia.org Roll Dart SDK from 22d0f712b0a6 to 526b85706ed7 (1 revision) (flutter/engine#24942)
2021-03-11 i@huangyuhui.net Fix high CPU consumption (flutter/engine#24944)
2021-03-11 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from CxbV_a22u... to xpyKHzaGr... (flutter/engine#24946)
2021-03-11 skia-flutter-autoroll@skia.org Roll Skia from cc185c5a31f3 to 43bde9d2bc82 (5 revisions) (flutter/engine#24941)
2021-03-11 matej.knopp@gmail.com End composing when inserting text (flutter/engine#24866)
2021-03-11 skia-flutter-autoroll@skia.org Roll Dart SDK from f596cf76c722 to 22d0f712b0a6 (1 revision) (flutter/engine#24937)
2021-03-11 skia-flutter-autoroll@skia.org Roll Skia from 93330c9c4dc7 to cc185c5a31f3 (5 revisions) (flutter/engine#24936)
2021-03-11 jason-simmons@users.noreply.github.com Complete the Scene.toImage future with an error if rasterization fails (flutter/engine#24877)
2021-03-11 jason-simmons@users.noreply.github.com Signal an error if an Isolate.spawnUri call uses an unsupported URI (flutter/engine#24583)
2021-03-10 mouad.debbar@gmail.com [web] Add few awaits in history tests (flutter/engine#24934)
2021-03-10 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from gYXU9l8jr... to CxbV_a22u... (flutter/engine#24930)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from XaUP9-wm3zVC to GsRYVri0--HM
fuchsia/sdk/core/mac-amd64 from gYXU9l8jr5Zj to inepr5WS8HfO
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
...

Commit queue failed; closing this roll.


text:
Split globals.dart into null safe and unsafe libraries

The globals library imports lots of still-null unsafe libraries, and is imported from 103 flutter_tool libraries, some of which would otherwise be null safe migratable.
Split globals.dart into two libraries: a globals_null_migrated.dart null safe migrated library and globals.dart null unsafe library.  Update imports to globals.dart -> globals_null_migrated.dart where possible.  Export globals_null_migrated in globals to avoid g3 breakage.
Update globals_count script to also count how many imports are null unsafe.
lib contains 103 libraries with global usage (68 unsafe)
test contains 66 libraries with global usage (21 unsafe)

Part of #71511

This exposed some problems in test setups:
10:09 +1679 ~8 -33: test\general.shard\macos\cocoapods_test.dart: Process pods a failed pod install deletes Pods/Manifest.lock [E]
  Null check operator used on a null value
  package:flutter_tools/src/globals_null_migrated.dart 26:43  logger
  package:flutter_tools/src/globals.dart 46:21                projectFactory
  package:flutter_tools/src/project.dart 83:71                FlutterProject.fromDirectory
  test\general.shard\macos\cocoapods_test.dart 65:39          main.<fn>
  test\general.shard\macos\cocoapods_test.dart 60:9           main.<fn>

  setUp(() async {
...
    projectUnderTest = FlutterProject.fromDirectory(fileSystem.directory('project'));
  });
...
    testWithoutContext('creates objective-c Podfile when not present', () async {
      await cocoaPodsUnderTest.setupPodfile(projectUnderTest.ios);

FlutterProject.fromDirectory is using a context logger, but there isn't one overridden in the test setUp.  And g3 isn't setting up a SystemClock in their context (so how is that working?)
  Null check operator used on a null value
  package:flutter_tools/src/globals_null_migrated.dart 63:58                       systemClock
  package:flutter_tools/src/reporting/usage.dart 203:22                            new _DefaultUsage

I'm going to set up some reasonable defaults in globals_null_migrated instead of !.

The Google testing passed before it re-ran on top of #79461.  I'm going to call my g3fix good and merge when the tree goes green.

SGTM

authors: jmagman jonahwilliams


text:
Roll Engine from 3cda7f5807db to b9d03fed2d09 (19 revisions)

https://github.com/flutter/engine/compare/3cda7f5807db...b9d03fed2d09
2021-05-18 skia-flutter-autoroll@skia.org Roll Skia from 3d854bade6de to 66125eac158d (1 revision) (flutter/engine#26221)
2021-05-18 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from 7WNQRHsHN... to F5TX4MaEg... (flutter/engine#26220)
2021-05-18 skia-flutter-autoroll@skia.org Roll Dart SDK from 510f26486328 to 13e329e614f2 (1 revision) (flutter/engine#26218)
2021-05-18 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from AUWVgDkx6... to boele8geO... (flutter/engine#26217)
2021-05-18 skia-flutter-autoroll@skia.org Roll Skia from e8cd0a54041e to 3d854bade6de (4 revisions) (flutter/engine#26216)
2021-05-18 skia-flutter-autoroll@skia.org Roll Skia from 2fed9f62d29a to e8cd0a54041e (2 revisions) (flutter/engine#26213)
2021-05-18 skia-flutter-autoroll@skia.org Roll Dart SDK from 67be110b5ba8 to 510f26486328 (3 revisions) (flutter/engine#26212)
2021-05-18 garyq@google.com Add more diagrams for deferred components docs, fix alignment of existing one (flutter/engine#26209)
2021-05-18 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from KmSY84b_E... to 7WNQRHsHN... (flutter/engine#26207)
2021-05-18 skia-flutter-autoroll@skia.org Roll Skia from 5b38536d76ae to 2fed9f62d29a (7 revisions) (flutter/engine#26206)
2021-05-17 flar@google.com Web ImageFilter.matrix support (flutter/engine#25982)
2021-05-17 alexmarkov@google.com Prepare to move --delete-tostring-package-uri option to Dart SDK (flutter/engine#26196)
2021-05-17 fmil@google.com [icu] Upgrade ICU to 69.1, the same commit used by Chromimum latest (flutter/engine#26200)
2021-05-17 skia-flutter-autoroll@skia.org Roll Skia from 469531234936 to 5b38536d76ae (7 revisions) (flutter/engine#26202)
2021-05-17 chaselatta@google.com Reland outputs a json version of the package manifest. (flutter/engine#26163)
2021-05-17 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from l6XmTSLnt... to AUWVgDkx6... (flutter/engine#26201)
2021-05-17 bdero@google.com Add image generator registry (flutter/engine#25987)
2021-05-17 skia-flutter-autoroll@skia.org Roll Skia from c1f641104531 to 469531234936 (4 revisions) (flutter/engine#26197)
2021-05-17 dworsham@google.com fuchsia: Only send different ViewProperties (flutter/engine#26170)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from l6XmTSLnt_jR to boele8geOQxF
fuchsia/sdk/core/mac-amd64 from KmSY84b_Efmz to F5TX4MaEgZsf
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


text:
[google_maps_flutter] getZoomLevel for map controller

Description
Added getZoomLevel method to the Google map controller
It was implemented in the ios and android side but not yet exposed
Related Issues
None
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

@Kavantix Thanks for the PR. The change looks good. We would need to add some tests for this to be able to land. Also, CI seems to complain about formatting.

@cyanglaz I’ll look into the formatting
But what kind of test would you suggest?
I cannot find any tests related to the controller fetching data from ios/android.
The only test I would be able to think of would basically test the channel.
Note that the actual implementation of the method is already in master, I just copied it to the controller

@Kavantix there should be some existing e2e tests in the plugin. You can add something similar I assume?

@cyanglaz are the tests ok like this?

@Kavantix Tests looks good! Thanks. Please rebase before we can land this.
Also, could you please update a minor version since we are adding a new feature in this PR.
https://dart.dev/tools/pub/versioning#semantic-versions

@cyanglaz done

authors: Kavantix cyanglaz

repo: flutter/plugins


text:
Fixed SecurityContext in notificaitonController Template

Signed-off-by: steveizzle stefan.riembauer@gmail.com
What this PR does / why we need it:
This PR fixes the template for notificationController. There is a reference to helmController. If this is really intentionally please close this PR!
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] helm-docs are updated
[x] Helm chart is tested
[x] Update artifacthub.io/changes in Chart.yaml
[x] Run make reviewable

@dwerder please take a look.

authors: pierluigilenoci steveizzle

repo: fluxcd-community/helm-charts


text:
Make use of dedicated fluxcd/pkg modules

This includes an upgrade of github.com/fluxcd/source-controller to
v0.0.9 to avoid conflicts.

@hiddeco can you update source-controller in config and makefile please.

authors: hiddeco stefanprodan

repo: fluxcd/kustomize-controller


text:
Google Cloud Run Restricting Source Domains

Just installed Flyimg on Google Cloud Run. This is my first Google Server impressed with the performance.
How can I change the restricted source domains?
According to the documentation its in the config/parameters.yml but I can't find that.

Hi @sjorritsma ,
Thank you for opening this issue, we're happy to hear about using Google Run!
Regarding the restricted source domains, yes it is inside the file config/parameters.yml , you need to change the parameter restricted_domains to true and under that, you add your list of authorized domains under restricted_domains .
# restrict domains, false by default
restricted_domains: true

# if restricted_domains is enabled, put whitelist domains here
whitelist_domains:
    - domain-1.com
    - domain-2.com

Thank you for your answer. But where can I find the config/parameters.yml?
Do you know the path to the directory. When I do a find / -name "parameters.yml" I can't find it.

@sjorritsma, not sure if you could have access to the running container in Google Run.
anyway, if you want to modify something inside the running container, you have to clone the repo, do the changes , build a new image and push it to your Google Container Registry, and then tell google run to use the new image.

Thx that was the trick I needed.
Made a Fork of FLYIMG in github, edit the file config/parameters.yml
Pushed the button in my Fork :

Under 5 minutes running image server.

Great!

Hi @sjorritsma
I'm wondering if you still use Flyimg in your company/organisation ?
If so, it would be great if you could add your entry here in the Adoperts file
https://github.com/flyimg/flyimg/blob/main/ADOPTERS.md
many thanks!

authors: sadok-f sjorritsma

repo: flyimg/flyimg

license: mit

license_source: bigquery


text:
Need to specify app name with -a when doing flynn export

$ flynn -c mycluster export -f app.tar
unexpected status getting slug: 500

 $ flynn -c mycluster -a myapp export -f app.tar
43.52 MB 616.76 KB/s 1m12s

ubuntu@flynn-node:~$ flynn-host --version
v20151001.0

$ flynn --version
v20151004.0

This appears to be resolved, unable to reproduce with cli v20151007.0 and flynn-host v20151006.0.

authors: jvatic kwando

repo: flynn/flynn


text:
MariaDB TIME handling issue with Rails less than version 5.x

According to this commit to Ruby on Rails, MariaDB does not handle the TIME values in a MySQL compatible way making it unable to be used with any version of Rails less than 5.
It looks like MariaDB has a work around in the use of the '--mysql56-temporal-format' option.
It might be a good idea to enable this option for MariaDB to avoid issues with Rails sites.

Have you tested if this fixes the problem? I think that option only changes the on-disk format rather than the behavior of the TIME and DATE types.

It looks like the issue to support this behaviour is still open: https://jira.mariadb.org/browse/MDEV-9541

I had not tested against a server. From my research it seemed these both addressed the same issue, reading the MariaDB Jira bug you posted it looks like they are not the same.

I'm closing this, as it doesn't look like we can do anything about it.

authors: bbaptist josephglanville titanous


text:
Support i2c_bus_num for all i2c devices (i.e. aht20)

i2c_bus_num in yml is supported for lm75. However it is not supported for example for aht20.
Please add support for i2c_bus_num to all supported i2c devices.

this is how i fixed that i also formated the output to F dont change that part if you dont want it.
for the experts HEAD 23f7b7474952f0c75960b74d709423233a67baed

git diff
--- a/mqtt_io/modules/sensor/aht20.py
+++ b/mqtt_io/modules/sensor/aht20.py
@@ -9,6 +9,9 @@ from . import GenericSensor
 from ...exceptions import RuntimeConfigError

 REQUIREMENTS = ("adafruit-circuitpython-ahtx0",)
+CONFIG_SCHEMA = {
+    "chip_addr": {"type": "integer", "required": True, "empty": False},
+}

 class Sensor(GenericSensor):
@@ -33,11 +36,12 @@ class Sensor(GenericSensor):
         import busio  # type: ignore

         i2c = busio.I2C(board.SCL, board.SDA)
-        self.sensor = adafruit_ahtx0.AHTx0(i2c)
+        self.address: int = self.config["chip_addr"]
+        self.sensor = adafruit_ahtx0.AHTx0(i2c, self.address)

     @property
     def _temperature(self) -> SensorValueType:
-        return cast(SensorValueType, self.sensor.temperature)
+        return cast(SensorValueType, (self.sensor.temperature * 1.8) + 32)

     @property
     def _humidity(self) -> SensorValueType:

Thanks

repo: flyte/mqtt-io

license: MIT


text:
Custom MigrationResolver to provide files for SQL migrations should be practicable

Which version and edition of Flyway are you using?
8.4.4 Teams Edition (trial)
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
n/a
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Maven plugin
Which database are you using? (Type & version)
Oracle 19
Which operating system are you using?
MacOS
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Tried to write a MigrationResolver to convert system files to Flyway migrations as follows:

infer that file is repeatable from subdirectory rather than file name prefix
provide unique description for files with different suffixes without requiring artificial file name
order files based on subdirectory and suffix without requiring artificial names
(if practicable - order based on dependencies to other files)

e.g. from this file structure

packages
  - test.pkb
  - test.pks
views
  - test.sql
  - test1.sql

Convert to repeatable migrations in this order with these descriptions (or similar unique descriptions)

test view (views/test.sql)
test1 view (views/test1.sql)
test spec (packages/test.pks)
test body (packages/test.pkb)

https://github.com/flyway/flyway/issues/1608 appears to provide example of such a MigrationResolver but relies on internals that have now changed significantly. The comment closing that issue says it can be done via configuration, but that only applies to being able to read sql files with other suffixes. File names still require a prefix and to be unique (excluding suffix) across all subdirectories, and order is based on file name across all subdirectories.

https://github.com/flyway/flyway/issues/1388 raises a similar requirement and the solution suggested was to write a custom MigrationResolver, but not clear how.

What did you expect to see?
Able to write custom MigrationResolver and/or set configuration to infer migration details from file structure rather than require artificial file name prefixes and suffixes.

e.g. there could be an executor factory api to allow an SqlMigrationExecutor to be created from a Resource and Configuration. Or executor could be optional and default provided based on migration details.
What did you see instead?
Unable to write such a custom MigrationResolver. Need to provide custom Executor which seems impractical. The existing SqlMigrationExecutor would be fine but has package-private constructor. I can copy it but it requires SqlScriptExecutorFactory and SqlScript from internal classes, which require their own set of internal objects to create.

Workaround was to set properties:

repeatableSqlMigrationPrefix=
sqlMigrationSeparator=_
sqlMigrationSuffixes=.sql,.pkb,.pks

And rename files to:

packages
   - _test.pks
   - _test_body.pkb
views
   - _0_test.sql
   - _0_test1.sql

This workaround may seem fairly trivial. But we have many hundreds of such files in such structures across several schemas, which we are looking to bring under Flyway control. And these file names seem very messy. And updating views with new dependencies may require order change, which requires file rename, which then requires repair to the schema history to delete the file with the old name.

In V9, a MigrationResolver will also have access to Configuration, ResourceProvider, SqlScriptFactory and SqlScriptExecutorFactory - would this help solve this?

Yes thanks, that would help. I will have to try it when I can get hold of v9. I think I will still have to make a copy of SqlMigrationExecutor, and rely on some internal classes, but it might become practicable.

authors: DoodleBobBuffPants ben-peacock-uk

repo: flyway/flyway


text:
Doesn't follow & Retweet old tweet

Hello,
So, to begin, thank's for the bot, it's pretty easy to use and seems to well work.
I'm using the bot since few days and I have seen that the bot doesn't follow the Twitter Account in the tweet from time to time.
When I check some Retweet the bot have made, sometimes, there is an account which is not followed, and each time is an account that's write in the tweet, and not the sender himself.
A saw another issue in the age of the tweet. I saw my bot retweet some tweet that have been launched few months ago (like 10 months for the older I saw), which is useless to retweet a giveaway that have been ended a long time ago... It's even dangerous because is the organizer check the account and see a recent retweet for an old giveaway, he can have some doubts on who is behind the account, a man or a bot.
In another case :

Is there a way to reduce the 1000 retweet goal to reduce it to 500 ? (Or maybe add a variable in the config file to let the user chose it ?)

Thank's for your help.

Hi,
I liked your idea about a config file so I added one with some stuff you can modify including the maximum date of the tweet.
I found a bug on the follow part, that happened because sometimes the last account name mentionned in the tweet had a dot at the end because it was the end of the sentence.
Thanks for the report and let me know if you find something else :)

Hi, I just download the new version of your bot. Thank's for the config file, it will be useful.
Is there a way to select more than one language ? The config file doesn't explain if we can or not. I'm using 'fr' but would like to use 'en' too.
Same question for the trends.
For the others lines, just thank you ^^


text:
🛑 Site nxtc is down

In 9fc946f, Site nxtc ($SECRET_SITE_2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Site nxtc is back up in b6ce143.

repo: fmmaia/fmAtAllUptime


text:
iPad Pro webviews not detected

I am using browser gem's browser.platform.ios_webview? method to detect requests coming from iOS webviews.
It seems to work fine except for the iPad Pro. For iPad Pro this method returns false instead of true.
Any idea why this might be happening?

Rails version: 5.2
Browser gem version: 4.0.0

Can you please post the user agent?

User Agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) WeTime iOS"

@fnando I ran into the same error. Is there any solution to this issue?

I believe this is related to https://github.com/fnando/browser/issues/404. There's nothing I can do, unfortunately.

@saikiransripada I got it to work.
Apparently, the platform on iPad Pro is not iOS, it is Mac OS. And according to the code in the gem, they determine that it is a webview by checking that the user agent should not contain "safari".
So, if the following is true then it's an iPad Pro webview:
browser.platform.name.downcase.include?('macos') && !request.user_agent.downcase.include?('safari')
this worked for me.

Thanks @asad-imtiaz you made my day

Testing the solution @asad-imtiaz suggests - in 2024 and iPadOS 17.1.1, the platform name iPad Pro 12.9 reports is "macintosh".

authors: QasimQureshi adrienpoly asad-imtiaz fnando saikiransripada

repo: fnando/browser


text:
Support multiple locales dirs in listen backend.

In addition allow to configure Listen by passing options.
The usecase: having multiple places from where the locales are loaded.
We're using https://github.com/tiramizoo/fractual_i18n but it can be any other generic case.
This helps us to configure backend via:
  I18nJS.listen(
    locales_dir: [Rails.root.join("config/locales"), Rails.root.join("app/views")],
    options: {only: %r{.yml$}}
  )

@fnando what do you think about this PR? Can we have it merged?


text:
Inacessible machines Fix

Update vm_list.py
Fix for inaccessible machines on virtualbox.

Thanks!

authors: fniephaus ricardgf

repo: fniephaus/alfred-vmcontrol


text:
🛑 Contaboo is down

In 2212c5b, Contaboo (https://contabo.com) was down:

HTTP code: 403
Response time: 2175 ms

Resolved: Contaboo is back up in aa3a91c after 8 hours, 42 minutes.

repo: fnzv/status


text:
[NP-2612] make username case insensitive

address: https://nanopay.atlassian.net/browse/NP-2612
nanopay pr: https://github.com/nanoPayinc/NANOPAY/pull/11024
summary:

store usename in lowercase
convert the username input into lowercase before checking against the usernames in the database

Wouldn't it be easier if we just put the toLowerCase on the preSet and javaPreSet?


text:
Dataset + training script for re-training the EMOCA controlnet?

Thanks for this awesome work.
I am looking through the paper and code, but can't seem to find many details on exactly how you trained the EMOCAv2-driven controlnet?
Would you potentially be able to post a training script or some details about how exactly this model was trained? Also was it trained on the same dataset as arc2face, and how long was it trained for?
Thanks again!

Hello,
ControlNet's training was done based on the official example script provided by diffusers with minor adjustments (e.g. using our ArcFace conditioning mechanism and our pre-trained checkpoints).
We used only FFHQ to train the ControlNet. You should get good results relatively early. In our case, we trained it for 50 epochs with a learning rate of 1e-5.
To generate the conditioning EMOCAv2 normal maps of the FFHQ images, you can follow our code here.

Hello,
ControlNet's training was done based on the official example script provided by diffusers with minor adjustments (e.g. using our ArcFace conditioning mechanism and our pre-trained checkpoints).
We used only FFHQ to train the ControlNet. You should get good results relatively early. In our case, we trained it for 50 epochs with a learning rate of 1e-5.
To generate the conditioning EMOCAv2 normal maps of the FFHQ images, you can follow our code here.

Thank you very much!

authors: arc2face foivospar nlml


text:
Can not find ConfigSourceHandler

why?

@zhangbingxiao
do you enable the IDE annotation process? like below:

打开后还是不行，不知道为什么，我看ConfigSourceHandler这个类并没有在项目中存在，为什么能够实现它呢？

@zhangbingxiao ConfigSourceHandler 是通过 annotation processor 生成的，因此是可以编译通过的，应该是第一次打开 IDE 时出现的问题。
是第一次打开 auto-pipeline 这个工程然后找不到这些类的吗？你能描述一下你是如何出现这个问题的吗？我看看本地如何复现

@zhangbingxiao 我想我已经复现出来了。 原因很可能是第一次打开 auto-pipeline 工程时，还没有生成的类文件，解决比较明确：先执行  mvn clean install， 再用 IDE 打开工程。我已经复现并且也已经解决了，你看看能否解决？

@zhangbingxiao 现在已经可以直接安装插件，帮忙解决这个问题了，见这里： https://plugins.jetbrains.com/plugin/20535-auto-pipeline

authors: zavakid zhangbingxiao

repo: foldright/auto-pipeline


text:
FOLIO-3609 include Morning Glory module details

Include Morning Glory module versions on the "Settings > Software versions" page.
Refs FOLIO-3609

CC: @sekjal, @enettifee, @julianladisch (you are all recent committers): I don't have write privileges in this repository so I can't add reviewers. If this looks good to you, please merge it!

merged into morning-glory branch, as well

authors: sekjal zburke

repo: folio-org/docs


text:
MODFISTO-157 Check that it is possible to apply business rollover logic to the selected PostgreSQL function-based approach

Purpose
MODFISTO-157

Check that it is possible to apply business rollover logic to the selected PostgreSQL function-based approach.
Created "budget_encumbrances_rollover.sql" will be used to implement the rollover flow.
Created testing data will be used for integration tests.

TODOS

[x] Create function for budget rollover "budget_encumbrances_rollover.sql"
[x] Create rollover testing data loading feature (Karate integration test preparation)
[x] Update function "budget_encumbrances_rollover.sql" with ongoing encumbrances rollover
[x] Update function "budget_encumbrances_rollover.sql" with ongoing-subscription encumbrances rollover
[x] Update function "budget_encumbrances_rollover.sql" with one-time encumbrances rollover

Learning
Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added, or removed?
[ ] Are there new interface dependencies?
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

Close this as script has been added in separate PR

Close this as script has been added in separate PR

repo: folio-org/mod-finance-storage


text:
lualine sometimes disappears under cmdline

Describe the bug
lualine sometimes disappears under cmdline, and I use the default configuration.
Now the trigger condition is to enter multiple letters
Which version of Neovim are you using?
Version: Nightly
Screen

Can't reproduce. Please provide a https://github.com/folke/noice.nvim/wiki/Minimal-`init.lua`-to-Reproduce-an-Issue

https://gist.github.com/jinzhongjia/9474de837f6a04676f1555ca0fa3fd4b I have stored minimal.lua on the gist, and this file can restore the situation, I suspect it is caused by my lualine configuration

And my system is Arch Linux, and mu neovim(nightly) is from repo called archlinuxcn

I know what change is causing this, but strangely enough I don;t have it with my config. So I'm looking into what is different in my config, so I can properly fix it

authors: folke jinzhongjia


text:
Focus current line when opening Trouble

If my cursor is on a line with an error when I open Trouble, I'd like trouble to show the errors on that line.
Prerequisite:
Have your cursor on a line that has an error on it. Then run :Trouble
Current behaviour:
Trouble will open, and select the first error in the workspace. Your cursor will jump away from its current position to the file/location of the first error listed in Trouble.
Desired behaviour:
Trouble should recognize that there is an error on the current line, and initially focus that error. If not too difficult, it would be nice if it found the nearest error to the cursor, so if you were next to an error but not on it, Trouble would still jump to that error. But that's not quite as important to me.

totally makes sense. I'll add it at some point.

This is also annoying when using require("trouble").next(...) and require("trouble").previous(...) without having Trouble focused. Once I switch focus back to Trouble, I'm at the first item again. Would you accept PRs for this?

@tom-anders yes! Sorry, didn't have the time yet to work on this myself. A PR would be much appreciated.

Cool, I'll see if I find some time to work on this over the weekend.
Btw, the use case I described in my comment above actually already works, looks like it was just a problem with my configuration. However, I think it would be cool to have the current line highlighted in Trouble in that case, even when Trouble is not focused (just like the quickfix window does). Know what I mean?

Any news on this?

It would be nice to extend this to lsp_references and other actions too.
So for example when you open Trouble references in the Trouble window the current reference would be nice to be selected instead of the first one.

This PR I opened should probably help with this issue.
Probably it needs some adjustments (it's been more than a year since I opened it)

I'm definitely down with this to match the ALE style. I'm really surprised more people don't like this, and would rather have a popup window

Development on the main branch is EOL.
Trouble has been rewritten and will be merged in main soon.
This issue/feature either no longer exists or has been implemented on dev.
For more info, see https://github.com/folke/trouble.nvim/tree/dev

authors: 9mm Alex-vZyl DanielPower bellini666 folke tom-anders yavorski


text:
Suggestion: integration with nvim-ts-rainbow

Awesome plugin :tada:
Would be great if colored brackets from nvim-ts-rainbow could be disabled in the dimmed regions. At the moment it looks as follows for me:

I just pushed a fix where I set a higher priority for the dimming extmarks. This prevents the rainbow delims to bleed through.

authors: AckslD folke


text:
Network issue: SIP messages not arriving in Routr despite successful transmission

Describe the bug
SIP messages sent from Zoiper are not being received by Routr, even though they can be observed leaving the network via Wireshark. The TL;DR of the flow is:

Zoiper sends an INVITE via Routr
Routr responds with a 401 Unauthorized
Routr then sends a 100 Trying
Zoiper responds with an ACK

No additional message is observed in Routr.
To Reproduce
Steps to reproduce the behavior:

Create new k8s cluster at Civo or Digital Ocean.
Deploy Routr with the standard configuration.
Configure a Domain, Agent, etc.
Connect with Zoiper and send an invite.

Expected behavior
We should see additional invite messages arriving in Routr.
Screenshots
After this no more messages are seeing on Routr's side.

However on Wireshark I see the message being TX:

System information (please complete the following):
K8s => v1.26.4+k3s1
Additional context

Firewall checks confirm that the necessary ports are open.
The issue seems to be network-related, potentially involving the Kubernetes load balancer, as other softphones do not exhibit this problem.

I can see a similar behavior while using Blink Pro if I enable ICE.

repo: fonoster/routr