Commit graph

7617 commits

Author SHA1 Message Date
Jan Holesovsky
7a53dd6af4 impress: Hide some leftover separators.
Change-Id: I15bae27f51ae13b6782bc0e47b7318eb2d28d6a1
2018-12-07 12:39:28 +01:00
Ashod Nakashian
ce3a22984e wsd: configure listboxes to limit the drop-down height
This is done to avoid bleeding the listbox/combobox
drop-down ouside the dialog in LOK, alas it doesn't
seem to work. A workaround is implemented in Core
to limit said height, but we should revert that
and use the config only.

Change-Id: I3f14092a8deb1a75bb780b716d778d5c2e9bdbce
2018-12-07 12:39:28 +01:00
Jan Holesovsky
c20487ce7e zoom: Limit Calc only to 100% and 200%, the rest does not look too well.
Change-Id: Iad80bb9f3178abeb011fa940d7ba2570e42d6478
2018-12-07 12:39:28 +01:00
Jan Holesovsky
edab85ab9b zoom: Sync the checkmark in the toorbar with the used value.
Change-Id: I4d129ea22731abd198fc6d08b052cfdb2543da31
2018-12-07 12:39:28 +01:00
Jan Holesovsky
32944f78bb zoom: Use only levels we can handle nicely.
Change-Id: Ibd09afceadde20835d3bccb5a80b78ccee91a207
2018-12-07 12:39:28 +01:00
Jan Holesovsky
93b0069918 impress menubar: Remove one level of menus in Format.
Change-Id: I1928d111c869f109feed32a253ff071c23f71f7b
2018-12-07 12:39:28 +01:00
Tamás Zolnai
1fbc05b864 Avoid moving the shape by rotation
Change-Id: I67c737b1712c4702d28cafe13942fda2634f8526
2018-12-07 12:39:28 +01:00
Andras Timar
4e111d5b60 Revert "Add File - Properties... menu"
This reverts commit 480b6ed0b5.

Change-Id: I326a78ce9c8f0d9c050c757df18bf6e3380e092c
2018-12-07 12:39:28 +01:00
Ashod Nakashian
aaacf1fb66 leaflet: don't resize the canvas when not necessary
Change-Id: I40b73e25f7fe51efad78b39f30193394f23e1c07
2018-12-07 12:39:28 +01:00
Ashod Nakashian
6f0672d923 leaflet: minHeight is dictated by the dialog height
Change-Id: I295b71346070005c6231943ec95e8f7a07e8f010
2018-12-07 12:39:28 +01:00
Ashod Nakashian
26188436a7 leaflet: the dialog open flag is not used
Change-Id: I3a1a4308df7f874e5b56fb24509a506f294d8bd2
2018-12-07 12:39:28 +01:00
Ashod Nakashian
33dd8a1651 leaflet: parse dialog dimentions and position once
Change-Id: I573db6f81f5bcd98cc0c97507ea49e89e9089769
2018-12-07 12:39:28 +01:00
Ashod Nakashian
f13b4a9346 leaflet: update the paint function.
Change-Id: I699a83468b4a240d05ad48467e931f3932d21373
2018-12-07 12:39:28 +01:00
Ashod Nakashian
bbf13162fe leaflet: dialog: factor out window event handling
Change-Id: Idddc405f9c85d0db144aedf5d6b41aa512578ed5
2018-12-07 12:39:28 +01:00
Ashod Nakashian
3a84f6d531 leaflet: dialog: factor out child window event handling
Change-Id: I07938d54b504f20f2508be9f8d50e59a3dcc82e8
2018-12-07 12:39:28 +01:00
Ashod Nakashian
dd17386304 leaflet: dialog: dialogId -> id
Change-Id: I5051db91251924aa49fc8c1b7077851c113f0148
2018-12-07 12:39:28 +01:00
Ashod Nakashian
fd0b83acc7 leaflet: render dialog after launching directly
Change-Id: I02646cc05e8f2687cc5cf55c1075b4390b36bb68
2018-12-07 12:39:28 +01:00
Ashod Nakashian
951ab325ce leaflet: minor cleanup of dialog
Change-Id: I59954c7478f6df62082d35b9d17203ab44f51b9a
2018-12-07 12:39:28 +01:00
Ashod Nakashian
db01cf8229 leaflet: dialogs: don't request rendering empty areas
Change-Id: Iebfd3308e300c8d2ce3e9e86210c48f039769092
2018-12-07 12:39:28 +01:00
Ashod Nakashian
939f6b836d leaflet: dialog sendPaintWindow -> sendPaintWindowRect
Change-Id: I5a751b6aa5e290d5f1292c70e52bef954f99ff57
2018-12-07 12:39:28 +01:00
Ashod Nakashian
4da0b9b0ab leaflet: use int dialog IDs where it's more common than string
Change-Id: Ie09a05a597332345b0a434d32701185e6f15c461
2018-12-07 12:39:28 +01:00
Ashod Nakashian
22ace4d25e leaflet: dialog strDlgId -> strId
Change-Id: Iae1cb02da3162225b7670c1102d45cc7afcc3119
2018-12-07 12:39:28 +01:00
Ashod Nakashian
c7c46c80aa leaflet: dialog _toRawDlgId -> _toIntId
Change-Id: I95c324725f5f2ab3b89eca1b58f9b26bab47a1ef
2018-12-07 12:39:28 +01:00
Ashod Nakashian
e826b9db82 leaflet: dialog _toDlgPrefix -> _toStrId
Change-Id: I526f604e3afba592f63a5a22a620b944ce39004d
2018-12-07 12:39:28 +01:00
Ashod Nakashian
3e181e2de7 leaflet: dialog getParentDialog -> getParentId
Change-Id: I54089e0f240e008dcbe45be17377781516ff03ca
2018-12-07 12:39:28 +01:00
Ashod Nakashian
d908ece28e leaflet: cleanup dialog handler
Change-Id: I277ebb2e7343ecc3c99d58e7bf8866a0c9b053d5
2018-12-07 12:39:28 +01:00
Tamás Zolnai
f03710a749 Fix typo
Change-Id: If55e4c68f32a7112881ba9a4f887fcee5a1d2ea3
2018-12-07 12:39:28 +01:00
Jan Holesovsky
a84e7f8b22 menu: Use the Material design pencil svg in the document name edit box.
Also avoid jumping of the frame width when changing between the editable
version and the hover version.

Change-Id: I9a26b99f8ee442536b9dbc4423202d51a152cc22
2018-12-07 12:39:28 +01:00
Tamás Zolnai
7d4e9cfc41 Optimize toolbar refreshing
We should call refreshing methods only in case of the specific
toolbar item is refreshed and avoid calling them for every item.

Change-Id: Ief53a7e8b92c58ceaefafc28340408ae0a940810
2018-12-07 12:39:28 +01:00
Jan Holesovsky
b5f1f4de19 toolbar: Better to have no icon for insert image vs. insert local image...
...than duplicating it three times.

Change-Id: Ia501ee8b94673ab8e355d2cf5fcd6b9506f90fc9
2018-12-07 12:39:28 +01:00
Szymon Kłos
4ed5860229 Add possibility to remove session
Change-Id: I7967f4a9a0d4f707d424132b43cd3d99b0f4d93b
2018-12-07 12:39:28 +01:00
Szymon Kłos
a452ace736 Don't cover bottom toolbar in calc
Change-Id: I9db7a5e001300602706ee8ca078d43b5d82dd16a
2018-12-07 12:39:28 +01:00
Jan Holesovsky
3b49123fd5 Re-introduce Insert shapes into the toolbar.
Also includes various smaller cleanup there, like:

* shared function to close popup, to avoid copy'n'paste.
* style cleanup, to avoid a strange gradient at the top of the popup

Change-Id: I5fb00cd9c42a3dec3c5489f78dcd3b90c0f30aa5
2018-12-07 12:39:28 +01:00
Marco Cecchetti
3979daab58 loleaflet: removed debug code
Change-Id: I83d07deb934be86173c283479c79ad460a9dd046
2018-12-07 12:39:28 +01:00
Marco Cecchetti
387a7c9c49 loleaflet: ux: layout improvements
Now the non-selected comments stay outside of the document.

Change-Id: Ieff82a2c1070149462f17ddd78e7f2ff6d167ddd
2018-12-07 12:39:28 +01:00
Marco Cecchetti
a98e4c77e9 loleaflet: mobile ux: comments: layout update / scroll-bar size change
Comments layouting can lead to a map area enlargement which in turn
causes a size change for the horizontal scrollbar which triggers a
scrolling event: finally when _onScrollEnd is executed a new comment
layout updating is requested. This ping - pong can go on for long
providing a bad user experience.

This patch avoid to trigger a size change for the horizontal scrollbar
by performing a bounds check only when the layoting is over instead of
invoking _checkBounds per each comment .

Change-Id: Iddacc89fe563a0a7015c316bdb3ebbdaaae7e8ac
2018-12-07 12:39:28 +01:00
Henry Castro
c3239e1a4e loleaflet: listen the rotatestart event for graphic rotation
Change-Id: I7817fb042b24ad31006a29fbf1bc29b7b1a820f1
2018-12-07 12:39:28 +01:00
Henry Castro
bd92fb929a loleaflet: propagate parent events for rotation angle marker
Change-Id: I4a98c90e9f52086c7a8e092b478bfe74bc9bfbe6
2018-12-07 12:39:28 +01:00
Henry Castro
7e4e55dfaa loleaflet: restore rotation angle handler
Change-Id: Icab386ca2fa23f2fa319f483df7f758223248763
2018-12-07 12:39:28 +01:00
Henry Castro
8d26cf45a2 loleaflet: fix the rotation angle calculation
Change-Id: I891fa7b5719d30c243eb756647b46c44356bc541
2018-12-07 12:39:28 +01:00
Szymon Kłos
ba978ca670 Make slide sorter toolbar fully visible
Change-Id: Idbe7933bdb58252d2793355c8ec20da2a09daf9b
2018-12-07 12:39:27 +01:00
Szymon Kłos
e51c988b7b Remove sum from the impress toolbar
Change-Id: I7c842c66804718048ae2e973f036f54374898c30
2018-12-07 12:39:27 +01:00
Szymon Kłos
cf0fb38da1 Toggle fold/unfold button icon
Change-Id: I88ef3258d0366c5e4e1a0146d4c06e763f0716e1
2018-12-07 12:39:27 +01:00
Szymon Kłos
247e5950d2 Make close button grey & smaller
Change-Id: I23f53b065e0a77e9a59369be4fd42fa6a2e28c49
2018-12-07 12:39:27 +01:00
Szymon Kłos
004b82309b Fix menubar wrapping
Change-Id: I01ce0adb5b95cfe65464b70dd4de922de1062012
2018-12-07 12:39:27 +01:00
Szymon Kłos
c71a0681c5 Possibility to fold menubar
Change-Id: Ibc18c9ad7eda8ac9f1ed6f8ea870d17742084f04
2018-12-07 12:39:27 +01:00
Szymon Kłos
b95bd06505 Updates related to the close button.
Change-Id: Ied1effd99ae7ae2c57ab2659b1851bf4ba81e9d8
2018-12-07 12:39:27 +01:00
Szymon Kłos
08adeba938 Make formula input as long as possible
Change-Id: Icf3668dd1990addd4c6f7d04c5305f315ee40f30
2018-12-07 12:39:27 +01:00
Szymon Kłos
413d18ab8c ui: fix menu & toolbar layout
Some fixes for correct resizing still needed.

Change-Id: I0e217d0cb1fc456c786592eaf3c4ee313fb63ad3
2018-12-07 12:39:27 +01:00
Tamás Zolnai
406ae1be86 Update test SVG after export was optimized a bit
Change-Id: I40f402105e603ba793abdff95219319ed92df5ba
2018-12-07 12:39:27 +01:00