Sublime Forum

Origami: Pane traversal, creation, and destruction

#39

CRASH occurs on Mac as well. So it looks like it is a bug related to ST2 in general and not platform specific. Unfortunately, I have to disable this plugin because it impedes my workflow (I like to drag tabs). Hopefully a fix will be coming soon. Thanks for the great work @adzenith.

0 Likes

#40

Had the same issue as Sinled and iamntz, and had to disable the plugin.
I did a bit of investigation and found that both source_abs and source_rel were mixing forward/backslashes in the path. This is of course on a Windows machine.
Up to the Packages directory, backslashes were used (correct for Windows). Then after the .., forward slashes were used (breaks Windows):

packages_path: C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages source_abs: C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\..\Packages/User/Atlantic.tmTheme source_rel: User\Atlantic.tmTheme error: Error loading colour scheme Packages\Origami\User\Atlantic.tmTheme: Error parsing plist xml: Failed to open file In file "Packages\Origami\User\Atlantic.tmTheme"

0 Likes

#41

Dang it. Sorry about this crash, everyone. I only use the sidebar :frowning:
Investigatingā€¦

0 Likes

#42

It should be fixed now. I can no longer repro the crash.

Iā€™m just calling everything in on_activated via sublimeā€™s set_timeout function with a timeout of 0. Seems to work great.

0 Likes

#43

just restarted to check the new feature and ā€¦

0 Likes

#44

[quote=ā€œvitaLeeā€]just restarted to check the new feature and ā€¦

[/quote]

I get that on start up as well.

0 Likes

#45

Looking into itā€¦

0 Likes

#46

I cannot for the life of me figure out how to make this plugin function while working around this tab-drag bug that Sublime seems to have.

0 Likes

#47

Same here with the ā€œFailed to openā€¦ā€ bug. If it helps, there was also a recursive Origami entry in the Preferences > Color Scheme menu. When expanding it, it would show a submenu with another Color Scheme option and another Origami option that would open the same submenu.

0 Likes

#48

I posted a new thread to report this bug:


Hopefully it gets fixed soon. In the meantime, I recommend turning off fading if you want to drag tabs :frowning:

0 Likes

#49

Iā€™ve changed this plugin so it defaults to not dimming your inactive tabs. If you want dimming, you have to set fade_inactive_panes to true on your own.
Once this bug is fixed in Sublime Text, Iā€™ll re-enable by default.

0 Likes

#50

the theme loading error on restart is still a fact for me.
also for new window fading does not work.
jumping from view to view causes a flick and both adjacent views are faded.
just wanted to let you know.

0 Likes

#51

The whole inactive pane thing has been taken out of Origami. Sorry for all the trouble. :frowning:

0 Likes

#52

awww. I actually liked it (minus the problems). Are you going to release it as a separate plugin on github? I can help maintain it if youā€™d like.

0 Likes

#53

Well, I liked it too, but thatā€™s because I donā€™t use tabsā€¦
For me it worked perfectly, but then the fixes to stop the tab-crashing made it work worse. You canā€™t win!
Iā€™ll probably release it as its own thing when I have some free time and some motivation :smile:

0 Likes

#54

I liked the idea as well. I think if you were able to shake the bugs out, it would be a good separate plugin. I applaud you for taking a risk and trying something that hadnā€™t been done yet.

0 Likes

#55

Separate plugin?

0 Likes

#56

Hey guys,

is there a way to customize the origami shortcuts? Iā€™d like to replace the arrows by hjkl.

Thanks,

0 Likes

#57

Yeah, you can edit the keymaps.
github.com/SublimeText/Origami/issues/63

0 Likes

#58

Thanks :smile:

0 Likes