seflless / atom-diagrams

Create Dot and Network Sequence diagrams in the Atom IDE.
https://atom.io/packages/diagrams
38 stars 6 forks source link

Cannot resize the preview pane #15

Open timnew opened 6 years ago

timnew commented 6 years ago
screen shot 2017-10-23 at 5 21 07 pm
seflless commented 6 years ago

Hey @timnew. What happens? Any errors in the console? It just doesn't respond to dragging? The latest one scrolls for me fine. I'm on macOS, what's your setup?

timnew commented 6 years ago

Hi @francoislaberge I installed the extension yesterday when I opened the .sequence file, the preview pane popup up automatically.

But I found the size of the preview is just 1/3 of the screen, and I can nither resize (the resize cursor appears, but doesn't work) nor horizontal scroll the preview pane.

Then I checked other features, I found horizontal scroll works fine in either editor pane or treeview. And resize bar works fine between treeview and editor pane.

I check the developer console of Atom, no error.

Some tech details might be helpful:

Versions

Package installed

Built-in Atom Packages (92) ├── atom-dark-syntax@0.28.0 ├── atom-dark-ui@0.53.0 ├── atom-light-syntax@0.29.0 ├── atom-light-ui@0.46.0 ├── base16-tomorrow-dark-theme@1.5.0 ├── base16-tomorrow-light-theme@1.5.0 ├── one-dark-ui@1.10.8 ├── one-light-ui@1.10.8 ├── one-dark-syntax@1.8.0 ├── one-light-syntax@1.8.0 ├── solarized-dark-syntax@1.1.2 ├── solarized-light-syntax@1.1.2 ├── about@1.7.8 ├── archive-view@0.63.3 ├── autocomplete-atom-api@0.10.3 ├── autocomplete-css@0.17.3 ├── autocomplete-html@0.8.1 ├── autocomplete-plus@2.35.11 ├── autocomplete-snippets@1.11.1 ├── autoflow@0.29.0 ├── autosave@0.24.3 ├── background-tips@0.27.1 ├── bookmarks@0.44.4 ├── bracket-matcher@0.87.3 ├── command-palette@0.41.1 ├── dalek@0.2.1 ├── deprecation-cop@0.56.9 ├── dev-live-reload@0.47.1 ├── encoding-selector@0.23.5 ├── exception-reporting@0.41.4 ├── find-and-replace@0.212.2 ├── fuzzy-finder@1.5.9 ├── github@0.6.2 ├── git-diff@1.3.6 ├── go-to-line@0.32.1 ├── grammar-selector@0.49.5 ├── image-view@0.62.3 ├── incompatible-packages@0.27.3 ├── keybinding-resolver@0.38.0 ├── line-ending-selector@0.7.3 ├── link@0.31.3 ├── markdown-preview@0.159.15 ├── metrics@1.2.6 ├── notifications@0.69.2 ├── open-on-github@1.2.1 ├── package-generator@1.1.1 ├── settings-view@0.251.10 ├── snippets@1.1.5 ├── spell-check@0.72.2 ├── status-bar@1.8.13 ├── styleguide@0.49.7 ├── symbols-view@0.118.0 ├── tabs@0.107.2 ├── timecop@0.36.0 ├── tree-view@0.217.9 ├── update-package-dependencies@0.12.0 ├── welcome@0.36.5 ├── whitespace@0.37.3 ├── wrap-guide@0.40.2 ├── language-c@0.58.1 ├── language-clojure@0.22.4 ├── language-coffee-script@0.49.0 ├── language-csharp@0.14.2 ├── language-css@0.42.5 ├── language-gfm@0.90.1 ├── language-git@0.19.1 ├── language-go@0.44.2 ├── language-html@0.47.7 ├── language-hyperlink@0.16.2 ├── language-java@0.27.4 ├── language-javascript@0.127.3 ├── language-json@0.19.1 ├── language-less@0.33.0 ├── language-make@0.22.3 ├── language-mustache@0.14.1 ├── language-objective-c@0.15.1 ├── language-perl@0.37.0 ├── language-php@0.42.0 ├── language-property-list@0.9.1 ├── language-python@0.45.4 ├── language-ruby@0.71.3 ├── language-ruby-on-rails@0.25.2 ├── language-sass@0.61.1 ├── language-shellscript@0.25.3 ├── language-source@0.9.0 ├── language-sql@0.25.8 ├── language-text@0.7.3 ├── language-todo@0.29.2 ├── language-toml@0.18.1 ├── language-typescript@0.2.1 ├── language-xml@0.35.2 └── language-yaml@0.30.2

Community Packages (86) /Users/timnew/.atom/packages ├── Hydrogen@2.0.1 ├── Stylus@3.1.1 ├── Sublime-Style-Column-Selection@1.7.4 ├── activate-power-mode@2.6.0 ├── advanced-open-file@0.16.7 ├── alignment@1.1.5 ├── api-blueprint-preview@0.7.0 ├── atom-beautify@0.30.5 ├── atom-format-lua@0.1.5 ├── atom-html-preview@0.2.2 ├── atom-ide-ui@0.5.2 ├── atom-ternjs@0.18.3 ├── autocomplete-elixir@1.5.16 ├── bezier-curve-editor@0.7.2 ├── bug-report@0.7.1 ├── build-elixir@0.7.0 ├── busy-signal@1.4.3 ├── circle-ci@0.10.1 ├── color-picker@2.2.5 ├── command-logger@0.23.0 ├── convert-to-utf8@0.2.4 ├── diagrams@0.28.3 ├── editor-stats@0.17.0 ├── editorconfig@2.2.2 ├── elm-format@3.0.0 ├── file-icons@2.1.13 ├── format-graphql@0.1.2 ├── git-blame@1.3.1 ├── git-history@3.3.0 ├── git-log@0.4.1 ├── git-plus@7.10.0 ├── graphql-autocomplete@1.1.1 ├── ide-go@0.4.0 ├── ide-json@0.1.0 ├── ide-python@0.2.2 ├── intentions@1.1.5 ├── language-api-blueprint@1.0.2 ├── language-arduino@0.4.3 ├── language-blade@0.36.0 ├── language-docker@1.1.8 ├── language-ejs@0.4.0 ├── language-elixir@0.20.3 ├── language-elm@1.5.0 ├── language-graphql@0.9.0 ├── language-haml@0.25.2 ├── language-jade@0.7.2 ├── language-lua@0.9.11 ├── language-slim@0.6.0 ├── language-svg@0.9.2 ├── linter@2.2.0 (disabled) ├── linter-bootlint@1.1.0 ├── linter-coffeelint@1.3.1 ├── linter-csslint@2.0.0 ├── linter-docker@0.2.1 ├── linter-elixirc@1.7.0 ├── linter-elm-make@0.26.2 ├── linter-eslint@8.4.0 ├── linter-haml@2.0.2 ├── linter-htmlhint@1.3.4 ├── linter-less@2.6.0 ├── linter-lua@1.0.4 ├── linter-rubocop@2.2.0 ├── linter-scss-lint@3.1.1 ├── linter-slim@1.0.0 ├── linter-stylint@2.2.8 ├── linter-ui-default@1.6.10 ├── linter-write-good@0.9.0 ├── merge-conflicts@1.4.5 ├── minimap@4.29.7 ├── minimap-pigments@0.2.2 ├── northem-dark-atom-ui@2.1.0 ├── pigments@0.40.2 ├── prettier-atom@0.40.0 ├── project-palette-finder@2.4.17 ├── rails-finder@0.8.0 ├── rails-open-rspec@1.2.0 ├── rails-rspec@0.3.2 ├── react@0.16.2 ├── regex-railroad-diagram@0.19.4 ├── sort-lines@0.18.0 ├── ssh-config@0.12.0 ├── svg-preview@0.11.0 ├── sync-settings@0.8.3 ├── tabular@0.1.0 ├── travis-ci-status@1.3.1 └── wakatime@7.0.3

seflless commented 6 years ago

Ok, I can repro this, spend a bunch of time going in circles on why this happening. I'm going to have to pick it up again when I have some time. For me it was navigating between at least 2 .sequence files that made it stop working for one but not both of them. I think I have an idea of the cause of the bug. But I'm swamped at work. Sorry for the inconvenience. I think try closing all diagrams files when you experience this, then open just the one you want to edit. I believe that's the work around for now.

timnew commented 6 years ago

Hi @francoislaberge, thanks for your time and the support. I reckon on my side, I experienced slightly different that I could never resize/horizontally scroll the window. Not sure whether it is because we're using different Atom theme or so.

And occasionally, I saw even handler registration error. Feels like there is some kind of callback leak or so.