Linux is working well! Thanks for checking. I'll try the build for windows and report back :)
Also wanna say thanks for the sweet application! I dual-boot Windows and Linux and OpenRGB is great :)
tl;dr: Using 0.5 version OpenRGB.exe --profile xyz.orp causes OpenRGB to crash on Windows. It appears the --profile option causes the crash.
I also ran into this issue (turns the lights the correct color but no tray icon) and followed @Dr_No's advice. It does appear I can see the OpenRGB
process when windows first start up, but then it disappears. As @Dr_No said, it looks like this is a crash.
I then started the app in various forms from the command line to see what worked and what didn't. Here are my results:
// works
C:\Program Files\OpenRGB Windows 64-bit>OpenRGB.exe
// works
C:\Program Files\OpenRGB Windows 64-bit>OpenRGB.exe --startminimized
// crashes
C:\Program Files\OpenRGB Windows 64-bit>OpenRGB.exe --startminimized --profile magenta.orp
// crashes
C:\Program Files\OpenRGB Windows 64-bit>OpenRGB.exe --profile magenta.orp
Therefore, it looks like my application starts crashing when adding the --profile option.
Brian Egan (13fdd9a9) at 03 Jul 10:45
Update gitlab docker image
Need some help figuring out how to do routing with StoreConnectors. Created a basic app with navigation to 2 screens. Screen 2 is uses a StoreConnector while Screen3 does not. Navigation to Screen 2 fails while getting the store.
Here is the call stack of the error
The following NoSuchMethodError was thrown building StoreConnector<dynamic, Store>(dirty): The getter 'store' was called on null. Receiver: null Tried calling: store When the exception was thrown, this was the stack: #0 Object.noSuchMethod (dart:core-patch/dart:core/object_patch.dart:46) #1 StoreConnector.build (package:flutter_redux/flutter_redux.dart:156:44) #2 StatelessElement.build (package:flutter/src/widgets/framework.dart:3655:28) #3 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3602:15)
The route for Screen2 looks like this
routes: <String, WidgetBuilder>{
'/screen2': (BuildContext context) => new StoreBuilder( builder: (context, store) {
return new Screen2();
}),
Below is the complete code.
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_redux/flutter_redux.dart';
import 'package:redux/redux.dart';
dynamic reducer(dynamic state, action) {
return state;
}
void main() {
runApp(new MyApp());
}
class MyApp extends StatelessWidget {
final store = new Store(reducer, initialState: {"1" : 1, "2": 2});
Widget build(BuildContext context) {
return new MaterialApp(
home: new StoreProvider(
store: store,
child: new Screen1(),
),
routes: <String, WidgetBuilder>{
'/screen2': (BuildContext context) => new StoreBuilder( builder: (context, store) {
return new Screen2();
}),
'/screen3': (BuildContext context) => new Screen3()
},
);
}
}
class Screen1 extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Scaffold( // 1
appBar: new AppBar(
title: new Text("Screen 1"), // screen title
),
body: new StoreConnector<dynamic, Map>(
converter: (store) => (store.state['1']),
builder: (context, jsonNodeData) => new Center(
child: new Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
new RaisedButton(
onPressed:(){
Navigator.of(context).pushNamed("/screen2");
},
child: new Text("Go to Screen 2"),
),
new RaisedButton(
onPressed:(){
Navigator.of(context).pushNamed("/screen3");
},
child: new Text("Go to Screen 3"),
),
]
)
)
)
);
}
}
class Screen2 extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text("Screen 2"),
),
body: new StoreConnector<dynamic, Map>(
converter: (store) => (store.state['1']),
builder: (context, jsonNodeData) => new Text("Screen 2")
) ,
);
}
}
class Screen3 extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text("Screen 3"),
),
body: new Text("Screen 3")
);
}
}
Brian Egan (ded33d0f) at 26 Nov 14:25
Update README.md
Brian Egan (8ab05439) at 26 Nov 12:33
Update README.md
Brian Egan (8864c918) at 26 Nov 00:15
Update README.md
Brian Egan (42c66864) at 25 Nov 23:31
Update README.md
Brian Egan (10911b60) at 25 Nov 23:13
Update README.md
Brian Egan (c1826280) at 25 Nov 23:00
Update README.md
Brian Egan (c2344fcf) at 25 Nov 22:42
Update README.md