sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [desktop] create a way to specify the initial window size
Labels: c: proposal,P3,team-framework,triaged-framework

## Description

I'm creating a game with Flame and I want the window size to be a 16x9 aspect ratio when it opens up.  There doesn't appear to be a way to set the default window size without the [usage of plugins](https://stackoverflow.com/questions/62549979/change-the-flutter-desktop-app-window-size) or editing the platform specific files (like `MainFlutterWindow.swift`).

I would like to be able to define this in a cross-platform way, preferably with Dart.  If we can't do it in Dart, we should be able to do it in the pubspec.

## Example

```dart
void main() {
  runApp(
    SizedBox(
      width: 512,
      height: 288,
      child: GameWidget(
        game: Game(),
      ),
    ),
  );
}
```

## Notes
- Sounds like there was some plan to do this as part of multi window support
- It was noted that there was some work done to make sure we don't have a window until we are drawing with dart, I think it's just done on windows though.

cc @cbracken @goderbauer
Repository: godot
Issue: Thirdparty module compilation errors
Labels: bug,platform:windows,topic:buildsystem

### Tested versions

- Reproducible in:  master
- Not reproducible in : 4.3-stable, 4.2-stable.

### System information

windows 10 - mingw - architecture "x86_64"

### Issue description

The engine compilation fails due to some thirds party modules linking error. It seems that the paths generation are broken. Infortunatly, I don't know the build system well enough to identify the source.

Modules impacted are (some others may also be impacted) : 
- freetype
- glslang
- jolt
- mbedtls

### Compilation Command
```
D:\godot-master> scons deprecated=no target=editor
scons: Reading SConscript files ...
Automatically detected platform: windows
Auto-detected 12 CPU cores available for build parallelism. Using 11 cores by default. You can override it with the `-j` or `num_jobs` arguments.
Using MinGW, arch x86_64
Building for platform "windows", architecture "x86_64", target "editor".
Checking for C header file mntent.h... (cached) no
NOTE: Performing initial build, progress percentage unavailable!
scons: done reading SConscript files.
scons: Building targets ...
```


### Compilation Output
```
scons: done reading SConscript files.
scons: Building targets ...
...
Linking Static Library modules\freetype\libfreetype_builtin.windows.editor.x86_64.a ...
ERROR: ar: thirdpartyfreetypesrcautofitautofit.windows.editor.x86_64.o: No such file or directory
...
Linking Static Library modules\libmodule_glslang.windows.editor.x86_64.a ...
ERROR: ar: thirdpartyglslangglslangGenericCodeGenCodeGen.windows.editor.x86_64.o: No such file or directory
...
Linking Static Library modules\libmodule_jolt_physics.windows.editor.x86_64.a ...
ERROR: ar: thirdpartyjolt_physicsJoltRegisterTypes.windows.editor.x86_64.o: No such file or directory
```

### Steps to reproduce

- On a Windows environment 
- Clone project
- Switch to master branch
- Pull last changes
- Try to compile with `scons deprecated=no target=editor` command (I use default options)


### Minimal reproduction project (MRP)

N/A
Repository: pytorch
Issue: Add CPU scalar support in addcdiv
Labels: triaged,enhancement,actionable,module: python frontend

### 🚀 The feature, motivation and pitch

Continuation of #143264 .

Allow user to pass in a cpu scalar to addcdiv. I can do this as soon as the mentioned PR is merged!

### Alternatives

_No response_

### Additional context

_No response_

cc @albanD
Repository: vscode
Issue: Move Editor Actions should apply to selected tabs, and add sorting and reordering operations
Labels: feature-request,workbench-tabs

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

[#119327](https://github.com/microsoft/vscode/issues/119327) is a terrific new feature which I use quite often.  Sometimes I perform operations on the selected tabs, like the following, which already execute on all selected tabs by default:

> workbench.action.pinEditor
> workbench.action.unpinEditor
> workbench.action.moveEditorToNewWindow
> workbench.action.copyEditorToNewWindow

Other commands, however, like those listed in proposal 1, only apply to the active editor rather than all selected editors.

**Proposal 1**: make certain editor commands, e.g. the commands below, apply to all selected tabs/editors by default, or create a setting to control the behavior:

> workbench.action.editor.changeLanguageMode
> workbench.action.moveEditorLeftInGroup
> workbench.action.moveEditorRightInGroup
> workbench.action.moveEditorToFirstGroup
> workbench.action.moveEditorToLastGroup
> workbench.action.moveEditorToNextGroup
> workbench.action.moveEditorToPreviousGroup

**Proposal 2**: Introduce two new commands to perform sort and reordering operations on the selected editors, such as:

a) Reverse order of selected tabs
b) Sort selected tabs alphabetically

**Use case for (a) in Proposal 2**: I am about to perform work on each step in a multi-step form.  Each step in the form is a react component, and I have just opened them all from references in a parent component.  But now I wish I had opened them in the reverse order so that the steps in the form would be ordered in my workspace from beginning to end, left to right, instead of the reverse, so that I can work on them in a logical sequence from left to right.  Instead of closing them all and reopening them in the desired order, or dragging them around one by one, it would be nice to be able to select them all quickly (easily done by clicking the first tab, then holding shift while clicking the last tab in the group) and perform a simple action from the command pallet like "Reverse order of selected tabs".
Repository: vscode
Issue: Reference Files with CoPilot Edits
Labels: feature-request,cross-file-editing

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
Reference files for Copilot Edits. I've had several issues now where I'd like to add reference files (variables reference, logs, filestructure, etc) that the bot could use for the project, but I don't want edited.
Repository: vscode
Issue: Switching chat sessions more easily
Labels: feature-request,chat

Navigating to previous chat conversations in Copilot Chat is difficult:
* Uses a weird time icon
* Takes the user to the quick pick with list of chats

Should we instead support Vertical tabs in chat? Similar to what we do in Terminal or what ChatGPT does.
The key is to not render this vertical space by default (since it would eat up too much real estate). But there needs to be an affordance to show it, and a layout should first hide the list of tabs when not enough horizontal space.

@roblourens was this already requested / discussed?

I am not convinced using Tabs is the right solution, but I do feel like the history is not accessible enough.

Alternative idea is to show a list of previous chats in the Chat Welcome view as a list.

fyi @joaomoreno

![Image](https://github.com/user-attachments/assets/486034b1-e09a-48df-b0b2-7ccd19f783ec)
Repository: vscode
Issue: Title bar too big in some screens, does not scale with zoom
Labels: bug,upstream,electron,titlebar

In Ubuntu 24.04 under Wayland, in my main hidpi monitor, the title bar size is correct. When I connect a second (bigger) monitor, and other applications are moved over to the second screen, they are correctly automatically resized down (their size in pixel decreased, so their physical size stays more or less constant). VSCode is not resized, and therefore appears too big. I can zoom out inside VSCode so the size is corrected, but this does not affect the title bar, which, as can be seen in the image, stays way too big compared to other windows (next to a terminal in the example).

There could be two ways of fixing this behavior: allow zooming out the title bar, and/or make vscode correctly resize when moving to a monitor of different size. Ideally both.

Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.96.0
- OS Version: Ubuntu 24.04 LTS

Steps to Reproduce:

1. Using vscode in Ubuntu (Wayland)
2. Use custom title bar


![Image](https://github.com/user-attachments/assets/57def1f4-43ae-4240-8494-01c3525ad271)
Repository: pytorch
Issue: [dynamo, guards] Implement FrameLocalsMapping version of check_verbose_nopybind
Labels: triaged,oncall: pt2,module: dynamo

Follow up to https://github.com/pytorch/pytorch/pull/140063.

> Add FrameLocalsMapping version for check_verbose_nopybind in order to match behavior between check_nopybind and check_verbose_nopybind. This can prevent difficult debugging situations where guards fail (check_nopybind returns false) but no guard error message is generated (check_verbose_nopybind succeeds).

cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames
Repository: pytorch
Issue: [dynamo, guards] Move SHAPE_ENV guard to C++
Labels: triaged,oncall: pt2,module: dynamo

Followup to https://github.com/pytorch/pytorch/pull/140063.

> Rewrite the SHAPE_ENV guard into C++ - it is a fairly common guard that results in FrameLocalsMapping needing to convert to a dict

cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames
Repository: next.js
Issue: Invalid URL when returning a relative location header in middleware
Labels: Middleware,Navigation,Runtime,linear: next

### Link to the code that reproduces this issue

https://github.com/blairmcalpine/next-invalid-url-repro

### To Reproduce

Clone the repo
Run `npm i`
Run `npm dev`
Visit `localhost:3000/broken`.
See the error message "Invalid URL".



### Current vs. Expected behavior

I expect to be properly redirected to the home page, but instead there is an error.

This is because we get the `location` header from the response from middleware ([which is allowed to be relative](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location#:~:text=May%20be%20relative%20to%20the%20request%20URL%20or%20an%20absolute%20URL.)), and pass it directly into the `NextURL` class:
https://github.com/vercel/next.js/blob/7ae9c79044e30f0eb6ea9f31c27a560c8d45e6c2/packages/next/src/server/web/adapter.ts#L358

This, under the hood, calls `new URL` with that value (and no baseUrl), causing the error.

The fix here would be to append the base url to the `location` variable here before passing it to `new NextURL`.

To be clear here as well, the repro works here by just explicitly returning a `NextResponse.json` in middleware. While this could be fixed by just using `NextResponse.rewrite` in this case, this doesn't work in the general case where we don't necessarily know if it's a redirect or not (and to where we are redirecting).

### Provide environment information

```bash
Node.js v22.11.0

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.6.0: Wed Jul 31 20:49:39 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T6000
  Available memory (MB): 32768
  Available CPU cores: 10
Binaries:
  Node: 22.11.0
  npm: 10.9.0
  Yarn: 4.4.0
  pnpm: N/A
Relevant Packages:
  next: 15.1.0 // Latest available version is detected (15.1.0).
  eslint-config-next: 15.1.0
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Middleware, Navigation, Runtime

### Which stage(s) are affected? (Select all that apply)

next dev (local), next start (local), Vercel (Deployed), Other (Deployed)

### Additional context

_No response_
Repository: flutter
Issue: Exclude .cxx folders from git as part of the flutter create templates. 
Labels: platform-android,P1,team-android

** /.cxx
https://stackoverflow.com/questions/66129837/about-the-gitignore-question-cxx-folder-in-the-android-project

I believe that an unintended side effect of https://github.com/flutter/flutter/pull/160260 is that we are seeing more native bin directories when working with apps. 

This bug tracks updating the templates. As an aside the blog post for the next release might want to warn about this and we want to update our own repos to exclude this folder.
Repository: go
Issue: proposal: x/tools/cmd/auth: cleanup old code
Labels: Proposal

### Proposal Details

The [x/tools/cmd/auth](https://cs.opensource.google/go/x/tools/+/master:cmd/auth/?q=cmd%2Fauth) directory is obsolete.  We've integrated its GOAUTH implementation directly into [src/cmd/go/internal/auth](https://cs.opensource.google/go/go/+/master:src/cmd/go/internal/auth/) as part of issue #26232. This means we no longer need to maintain the separate reference implementation in x/tools/cmd/auth.

Therefore, let's delete x/tools/cmd/auth
Repository: langchain
Issue: Agent react cannot accept gpt4 or gpt 4o as input model
Labels: 🤖:bug

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

The mimial reproduce code is:

```
from langchain import hub
from langchain.agents import AgentExecutor, create_react_agent
from langchain_community.tools.tavily_search import TavilySearchResults
from langchain_openai import OpenAI

tools = []

# Get the prompt to use - you can modify this!
prompt = hub.pull("hwchase17/react")

# Choose the LLM to use
llm = ChatOpenAI(temperature=0, model="gpt-4o")

# Construct the ReAct agent
agent = create_react_agent(llm, tools, prompt)



# Create an agent executor by passing in the agent and tools
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)

agent_executor.invoke({"input": "what is LangChain?"})
```

### Error Message and Stack Trace (if applicable)

ile /home/tl688/.conda/envs/cell2sentence/lib/python3.10/site-packages/langchain/agents/output_parsers/react_single_input.py:75, in ReActSingleInputOutputParser.parse(self, text)
     74 if not re.search(r"Action\s*\d*\s*:[\s]*(.*?)", text, re.DOTALL):
---> 75     raise OutputParserException(
     76         f"Could not parse LLM output: `{text}`",
     77         observation=MISSING_ACTION_AFTER_THOUGHT_ERROR_MESSAGE,
     78         llm_output=text,
     79         send_to_llm=True,
     80     )
     81 elif not re.search(
     82     r"[\s]*Action\s*\d*\s*Input\s*\d*\s*:[\s]*(.*)", text, re.DOTALL
     83 ):

OutputParserException: Could not parse LLM output: `LangChain is a framework designed to facilitate the development of applications powered by language models. It provides a suite of tools and components that help developers build applications that can interact with language models in a structured and efficient manner. LangChain is particularly useful for creating applications that require complex language processing tasks, such as chatbots, virtual assistants, and other AI-driven communication tools. It supports integration with various language models and offers features for managing conversations, handling inputs and outputs, and maintaining context across interactions.`
For troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/OUTPUT_PARSING_FAILURE 

### Description

This error only happended in gpt4 and gpt4o model, not in 3.5. Replacing it with OpenAI can work.

### System Info

The updated version of langchain.
Repository: flutter
Issue: Do we have tests around whether or not the new analytics/telemetry message is shown?
Labels: P1,team-tool,triaged-tool

Part of work on https://github.com/flutter/flutter/issues/150575

I don't see any references to [`Analytics.getConsentMessage`](https://github.com/flutter/flutter/blob/72432c3f15b26fe55f8fd822e5fb3581260f75dd/packages/flutter_tools/lib/src/base/process.dart#L695) in any test
Repository: godot
Issue: CSGPolygon3D update in Inspector does not update the visual representation in the 3D editor
Labels: bug,topic:editor,topic:3d

### Tested versions

Reproducible in v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - macOS 15.0.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads)

### Issue description

When you update any point of the CSGPolygon3D  PackedVectorArray in the Inspector the change is not reflected in the 3D editor. Only after deselecting the node and selecting it again you can see the updated shape.

See video for example:
https://youtu.be/AR9V4CMxpXo

### Steps to reproduce

-

### Minimal reproduction project (MRP)

-
Repository: vscode
Issue: No notebook document for `file://*.ipynb` (wsl2)
Labels: bug,info-needed,notebook-workbench-integration

### Applies To

- [X] Notebooks (.ipynb files)
- [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers)

### What happened?

When adding cells: `No notebook document for file://*.ipynb` is prompted. I am using a workspace under WSL2 within the `.vhdx` as a wsl remote.

The notebook goes unresponsive.

### VS Code Version

Version: 1.91.0 (user setup) Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286 Date: 2024-07-01T18:52:22.949Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22631

### Jupyter Extension Version

v2024.6.0

### Jupyter logs

```shell
14:28:18.630 [info] Starting Kernel (Python Path: <repo>/.venv/bin/<interpreter>, Venv, 3.9.19) for '~/git/texconnect/DataTransformationApi/eolt_analysis.ipynb' (disableUI=false)
14:28:19.000 [info] Process Execution: <repo>/.venv/bin/<interpreter> -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
14:28:19.002 [info] Process Execution: <repo>/.venv/bin/<interpreter> -m ipykernel_launcher --f=/home/~/.local/share/jupyter/runtime/kernel-v2-369SMzJUcplhu2Z.json
    > cwd: //home/~/... # this is unedited after ~
14:28:19.957 [info] Kernel successfully started
```


### Coding Language and Runtime Version

v3.9.19

### Language Extension Version (if applicable)

v2024.8.1

### Anaconda Version (if applicable)

_No response_

### Running Jupyter locally or remotely?

Local
Repository: vscode
Issue: finalize fileIsIgnored
Labels: feature-request,api,chat

We have this

```
export function fileIsIgnored(uri: Uri, token: CancellationToken): Thenable<boolean>;
```

as proposed API. This is generally useful for all extensions and should be finalized.
Repository: vscode
Issue: Native editor scroll bar too small to use [II]
Labels: bug,notebook-layout

### Applies To

- [X] Notebooks (.ipynb files)
- [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers)

### What happened?

It does not seem possible to resize the scrollbar of the jupyter editor. 

I have tried the following settings:
```
    "editor.scrollbar.horizontalScrollbarSize": 64,
    "editor.scrollbar.verticalScrollbarSize": 64,
    "editor.scrollbar.vertical": "visible",
    "notebook.editorOptionsCustomizations": {
        "editor.scrollbar.horizontalScrollbarSize": 64,
        "editor.scrollbar.verticalScrollbarSize": 64,        
    },
```

And this is the outcome:

| regular editor  | .ipynb editor |
| ------------- | ------------- |
| <kbd><img width="400" src="https://github.com/microsoft/vscode/assets/73083942/ecaea2ad-5fe8-4382-ac88-e67bec529ddc"/></kbd> | <kbd><img width="400" src="https://github.com/microsoft/vscode/assets/73083942/4f1f116e-1cf8-4f58-a8cd-5917505c3a19"/></kbd> |


This was reported in #2373, but I do not see the settings being respected in the current version (Version: 1.85.2).

Thanks.

### VS Code Version

Version: 1.85.2 (Universal) Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681 Date: 2024-01-18T06:40:32.531Z (2 wks ago) Electron: 25.9.7 ElectronBuildId: 26354273 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin arm64 23.3.0

### Jupyter Extension Version

v2023.11.1100101639

### Jupyter logs

_No response_

### Coding Language and Runtime Version

_No response_

### Language Extension Version (if applicable)

_No response_

### Anaconda Version (if applicable)

_No response_

### Running Jupyter locally or remotely?

None
Repository: PowerToys
Issue: Unstable language loading on Quick Accent
Labels: Issue-Bug,Resolution-Fix Committed

### Microsoft PowerToys version

0.87.0

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Quick Accent

### Steps to reproduce

Check available characters for "-"
Choose a character set
Disable Hebrew
Check available characters for "-"

### ✔️ Expected Behavior

En-dash (U+2013) should be visible.

### ❌ Actual Behavior

En-dash (U+2013) disappears from the list.
Would have expected it to be linked to special characters.

### Other Software

_No response_
Repository: flutter
Issue: [desktop] performing a hot reload should focus on the app
Labels: c: proposal,a: desktop,P3,team-tool,triaged-tool

## Observed result
1) Launch a macos flutter app from the terminal
1) Change the code
1) go to the terminal and perform a hot reload
1) Notice now that you have to find the app and bring it to focus to see the results with something like alt+tab.

## Expected result
I'd expect that performing a hot reload would bring the app into focus when performing a hot reload.

## Proposal
Focusing on the app should be the default behavior for the flutter tool when developing desktop apps.  We can add a flag `--no-auto-focus` to override that behavior in case someone ever doesn't like it.
Repository: PowerToys
Issue: Keyboard Manager randomly stops working
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.87.0

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

Keyboard Manager key bindings randomly stops working. It works after laptop restart, but stops very quickly, after I trigger few shortcuts, and then it starts to work aga after few minutes, and stops again randomly.

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

[PowerToysReport_2024-12-16-23-34-32.zip](https://github.com/user-attachments/files/18157840/PowerToysReport_2024-12-16-23-34-32.zip)


### Other Software

Bitwarden
StartAllBack
WinDynamicDesktop