-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Open
Labels
.contrib/good first issueIssue suitable for first-time contributorsIssue suitable for first-time contributorsarea:gpuiGPUI rendering framework supportGPUI rendering framework supportfrequency:alwaysBug that happens for everyone on every platform no matter how they use ZedBug that happens for everyone on every platform no matter how they use Zedpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Description
Reproduction steps
Hey! I'm new to Zed and wanted to learn gpui by going through the examples, but I'm running into compilation errors.
I tried running the input.rs example and got two errors:
- line.paint() is being called with 6 arguments but it only takes 4 now
- window.focus() is being called with 2 arguments but only needs 1
Looks like the API changed but the examples weren't updated. I haven't checked the other examples yet but there might be more with similar issues.
I'm happy to go through them and submit a PR to fix these up if that would be helpful? Just wanted to check first if anyone's already working on this or if there's something I'm
missing.
Thanks!
Current vs. Expected behavior
Errors are all fixed when we say as complier says , which seems like the the function defination changed
Zed version and system specs
gpui = "0.2.2"
unicode-segmentation = "1.12.0"
only useing gpui crate
Attach Zed log file
Zed.log
Relevant Zed settings
settings.json
Relevant Keymap
keymap.json
(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
.contrib/good first issueIssue suitable for first-time contributorsIssue suitable for first-time contributorsarea:gpuiGPUI rendering framework supportGPUI rendering framework supportfrequency:alwaysBug that happens for everyone on every platform no matter how they use ZedBug that happens for everyone on every platform no matter how they use Zedpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Type
Projects
Status
Bug Bashers