Add grid actions in case of embedded PDF-Viewer#3554
Add grid actions in case of embedded PDF-Viewer#3554octaeder wants to merge 2 commits intotexstudio-org:masterfrom
Conversation
|
I would prefer to keep at least the config for the two viewers separate. |
|
This sound a little tricky. I started with and so on. So variable gridx holds a value that is one time for the embedded and then for the windowed case. So Currently I see options of both cases in the ini file but having the same value respectively: But the first value has been 2 until I switched to the embedded viewer (getting defaults) and then closed txt. |
|
alternatively start always with 1x1 in embedded mode ? |
8091da4 to
b07c37d
Compare
|
are you still working on this ? |
|
I tried to split the affected options (continuous,...) into two options (say continuous1 and continuous2) and copy the one actually needed to the target variable (continuous) and back as necessary. But I gave up on that try. |
No. The side effect is that if someone wants to have an overview on the windowed viewer, the same view is shown then on the embedded one. This is clearly not desirable and is a functional break with current implementation/expectation. |
|
How could this be resolved? I would not expect that setting a 1x1 grid on start of embedded viewer will solve the problem without splitting options. |
b07c37d to
d8f5eb8
Compare
d8f5eb8 to
fcfb742
Compare
|
are you working on this ? |
|
I won't work on this for a long time. Feel free to close the PR. |
This PR resolves #222. For this the context menu of the embedded (not the windowed) PDF-viewer integrates some of the actions known from the View menu of the windowed viewer.
2x1 grid, non continuous
context menu of embedded viewer
This looks similar to the View menu: